ror.schemas.fields package#

Submodules#

ror.schemas.fields.field_perishable module#

ror.schemas.fields.field_perishable.field_perishable(**kwargs) Field[source]#

Field type for fields in the BaseSchema to mark fields as perishable which will be a part of the ArtifactSchema produced for this BaseSchema.

Returns:

Dataclass field with the FIELD_PERSISTANCE flag set to False.

Return type:

Field

ror.schemas.fields.field_persistance module#

ror.schemas.fields.field_persistance.field_persistance(**kwargs) Field[source]#

Dataclass field type which indeicates that this field will be carried over to the output dataclass. Thus, fields with this propoerty will be carried over until there is some BaseSchema at a stage which sets it to perishable.

Returns:

Dataclass field with the FIELD_PERSISTANCE flag set to True.

Return type:

Field

Module contents#