traveler.core.stored.StoredTable.table_fields#
- classmethod StoredTable.table_fields(*, include_extras=False)[source]#
Return the inherited schema fields declared by class annotations.
- Parameters:
include_extras (bool, optional) – Preserve
typing.Annotatedmetadata 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.