Skip to content

Help understanding how to set Schema meta options when using Schema.from_dict() #2297

@prowler0305

Description

@prowler0305

I have tried searching for this answer for a while and only keep coming across how to use the from_dict() method which is great for dynamically adding fields at runtime.

However I have not figured out how to set options like ordered or unknown when using this method as the from_dict() generates a GeneratedMeta class object that has the defaults for all the options. I can't figure out how to alter those as part of creating a dynamic Schema with the from_dict() approach.

I'm assuming I'm missing something obvious if someone could point me in the right direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions