Skip to content

Class variables? #184

@dsully

Description

@dsully

Is it possible to have class variables that are not part of the schema that is parsed by pydantic?

ie:

class MyModel(BaseModel):

     # This is part of pydantic
     group: str = None

     # This is not.
     ACTIONS = ['a', 'b', 'c']```

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions