-
foxes.models.ModelBook.get(model_type, name, class_name=
None
, *args, **kwargs)[source] Gets a model object.
If not found, dynamically creates it (given the class name)
Parameters¶
- model_type: str
The model type
- name: str
The model name
- class_name: str, optinal
Name of the model class
- args: tuple, optional
Arguments for the model class
- kwargs: dict, optional
Arguments for the model class
Returns¶
- model: mclass
The model object