OurSchema
🛈 DocStrings¶
Models and module-level aliases (unions, Literal enums) of a model package.
Source code in src/aclientp/schema_reference.py
literal_values
¶
Values of the Literal alias name, and whether it also allows str.
Source code in src/aclientp/schema_reference.py
load
classmethod
¶
load(package_name: str) -> OurSchema
Collect models and aliases from the direct modules of package_name.
Source code in src/aclientp/schema_reference.py
union_members
¶
Models of the union alias name (empty if there is none).