parseur.schemas.paserfield¶
Classes¶
Enumeration of the data formats a parser field can have. |
|
A table field as summarised in a mailbox's |
|
Properties shared by the read and write representations of a parser field. |
|
Read schema for a parser field returned by the API. |
|
Write schema for a parser field. |
Module Contents¶
- class parseur.schemas.paserfield.FieldFormat[source]¶
Bases:
str,enum.EnumEnumeration of the data formats a parser field can have.
Used as the
formatof a field when creating or updating a mailbox’s fields (parser_object_set).
- class parseur.schemas.paserfield.TableFieldReadSchema[source]¶
Bases:
parseur.schemas.BaseSchemaA table field as summarised in a mailbox’s
table_set(id + name).
- class parseur.schemas.paserfield.ParserFieldBaseSchema[source]¶
Bases:
parseur.schemas.BaseSchemaProperties shared by the read and write representations of a parser field.
Both serializing API responses and validating create/update request bodies rely on these common fields, so they are declared once here.
- class parseur.schemas.paserfield.ParserFieldReadSchema[source]¶
Bases:
ParserFieldBaseSchemaRead schema for a parser field returned by the API.
- class parseur.schemas.paserfield.ParserFieldWriteSchema[source]¶
Bases:
ParserFieldBaseSchemaWrite schema for a parser field.
Used to validate and serialize each entry of a mailbox’s
parser_object_set. Unknown fields are rejected so read-only properties (type,csv_download, …) and typos never reach the API silently. Passidto update an existing field; omit it to create a new one.