resolve_context
faststream.utils.context.types.resolve_context #
Resolve the context of an argument.
PARAMETER | DESCRIPTION |
---|---|
argument | A string representing the argument. TYPE: |
RETURNS | DESCRIPTION |
---|---|
Any | The resolved context of the argument. |
RAISES | DESCRIPTION |
---|---|
AttributeError | If the attribute does not exist in the context. |
Note
The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)
Source code in faststream/utils/context/types.py
Last update: 2023-11-13