FitConfig#
- pydantic model fitrequest.fit_config.FitConfig[source]#
Bases:
MethodConfigGroupFitrequest configuration model. Describes all information needed to generate Fitrequest’s class and methods.
- field class_docstring: str = ''#
Docstring of the generated class.
- field class_name: str = 'FitRequest'#
Name of the the generated class.
- classmethod from_json(json_path: Path | str) type[source]#
Generate a
fitrequestclass from ajsonfile.
- classmethod from_yaml(yaml_path: Path | str) type[source]#
Generate a
fitrequestclass from ayamlfile.
- property fit_class: type#
Create new class from FitConfig.
- property fit_methods: dict[str, Callable]#
Returns FitConfig generated methods.