NoCast
faststream.utils.NoCast #
Bases: CustomField
A class that represents a custom field without casting.
METHOD | DESCRIPTION |
---|---|
__init__ | Initializes the NoCast object. |
use | Returns the provided keyword arguments as a dictionary. |
Note
The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)
Source code in faststream/utils/no_cast.py
set_param_name #
use #
Return a dictionary containing the keyword arguments passed to the function.
PARAMETER | DESCRIPTION |
---|---|
**kwargs | Keyword arguments TYPE: |
RETURNS | DESCRIPTION |
---|---|
AnyDict | Dictionary containing the keyword arguments |
Note
The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)
Source code in faststream/utils/no_cast.py
Last update: 2023-11-13