mafw.models.filter_schema
Static metadata describing the models available for filtering.
Classes
|
Static descriptor of the models available to the GUI filter builder. |
- class mafw.models.filter_schema.FilterSchema(root_model: type[~mafw.db.db_model.MAFwBaseModel], allowed_models: tuple[type[~mafw.db.db_model.MAFwBaseModel], ...] = <factory>)[source]
Bases:
objectStatic descriptor of the models available to the GUI filter builder.
- Parameters:
root_model – Model that controls the primary query entry point.
allowed_models – Supplementary models that can be joined during filtering.