roboto.formats.fields#

Module Contents#

class roboto.formats.fields.FieldSelection#

A field to read out of a data file, identified by its path through the schema.

This is the single currency type the roboto.formats decoders accept. Each bounded context (e.g. roboto.domain.topics) translates its own field record into a FieldSelection at the boundary rather than passing the record in directly.

path_in_schema: tuple[str, Ellipsis]#

Path components locating this field in the source data schema, root to leaf.

property source_path: str#

The field’s dot-joined name as it appears in the source data / Arrow schema.

Return type:

str