Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Models of sheets can now be automatically inferred if no explicit model is provided.
This is done exclusively by parsing the header row of a sheet. Headers can be annotated with types (basic types and list; dict and existing models are currently not supported). If no annotation is present, the column is assumed to be a string.
Examples of what the data in a column can represent:
field
:field
is inferred to be a stringfield:int
:field
is inferred to be a intfield:list
:field
is inferred to be a listfield:List[int]
:field
is inferred to be a list of integersfield.1
:field
is inferred to be a list, and this column contains its first entryfield.1:int
:field
is inferred to be a list of integers, and this column contains its first entryfield.subfield
:field
is inferred to be another model with one or multiple subfields, and this column contains values for thesubfield
subfieldfield.subfield:int
:field
is inferred to be another model with one or multiple subfields, and this column contains values for thesubfield
subfield which is inferred to be an integerfield.1.subfield
:field
is inferred to be a list of another model with one or multiple subfields, and this column contains values for thesubfield
subfield of the first list entryIntermediate models like in the last three examples are created automatically.