hydroflows.methods.dummy.run_dummy_event#
“Dummy methods for testing and user documentation.
- pydantic model hydroflows.methods.dummy.run_dummy_event.RunDummyEventInput[source]#
Input files for the RunDummyEvent method.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- pydantic model hydroflows.methods.dummy.run_dummy_event.RunDummyEventOutput[source]#
Output files for the RunDummyEvent method.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- Fields:
- pydantic model hydroflows.methods.dummy.run_dummy_event.RunDummyEventParams[source]#
Parameters for the RunDummyEvent method.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- class hydroflows.methods.dummy.run_dummy_event.RunDummyEvent(event_csv: Path, settings_toml: Path, output_dir: Path, event_name: str | None = None, model_exe: Path | None = None, **params)[source]#
Run a dummy event.
- Parameters:
event_csv (Path) – Event csv file
settings_toml (Path) – Model settings file
output_dir (Path) – Output directory
event_name (str, optional) – The event name, by default None
model_exe (Path, optional) – Model executable, required if run_method is ‘exe’, by default None
**params – Additional parameters to pass to the RunDummyEvent Params instance. See
RunDummyEventParams
.