|
OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
| class | Arbitrary |
| class | Boolean |
| class | ClassName |
| class | Date |
| class | DateTime |
| class | Fixed |
| class | Float |
| class | FormattedString |
| class | Integer |
| class | List |
| class | MarshallingError |
| class | MinMaxMixin |
| class | Nested |
| class | NumberMixin |
| class | Polymorph |
| class | Raw |
| class | String |
| class | StringMixin |
| class | Url |
| class | Wildcard |
Functions | |
| def | is_indexable_but_not_string (obj) |
| def | is_integer_indexable (obj) |
| def | get_value (key, obj, default=None) |
| def | to_marshallable_type (obj) |
Variables | |
| ZERO = Decimal() | |
| def flask_restx.fields.get_value | ( | key, | |
| obj, | |||
default = None |
|||
| ) |
Helper for pulling a keyed value off various types of objects
| def flask_restx.fields.is_indexable_but_not_string | ( | obj | ) |
| def flask_restx.fields.is_integer_indexable | ( | obj | ) |
| def flask_restx.fields.to_marshallable_type | ( | obj | ) |
Helper for converting an object to a dictionary only if it is not dictionary already or an indexable object nor a simple type
| ZERO = Decimal() |