Method Decorator Validation#
ValidMethodDecorator#
- type fitrequest.method_decorator.ValidMethodDecorator = Callable | str#
Annotated type used for validation, coercion, and serialization of decorators.
Globale variable for decorators#
- fitrequest.method_decorator.environment_decorators = {'paginated': <function paginated>, 'retry': <function retry>}#
Global dictionnary used to map
json/yamldeclared decorators to actual python decorators.Hint
Don’t forget to update this dictionnary with custom decorators when using them in
yaml/jsonfiles.