traveler.demo.work_location.Tours.table_fields#

classmethod Tours.table_fields(*, include_extras=False)[source]#

Return the inherited schema fields declared by class annotations.

Parameters:

include_extras (bool, optional) – Preserve typing.Annotated metadata in returned types.

Returns:

Mapping of stored column names to their resolved schema annotations.

Return type:

dict[str, Any]

Raises:

TypeError – If the annotations cannot be resolved.