Meta¶
meta
¶
Metadata types for flepimop2 runs.
RunMeta
¶
Bases: NamedTuple
Metadata for a flepimop2 run.
Attributes:
| Name | Type | Description |
|---|---|---|
action |
Literal['simulate']
|
The action performed in the run (e.g., "simulate"). |
timestamp |
datetime
|
The timestamp when the run was executed. Defaults to current UTC time. |
name |
str | None
|
An optional name for the run, typically pulled from the config. |
Examples:
>>> from flepimop2.meta import RunMeta
>>> run_meta = RunMeta(name="test_run")
>>> run_meta.action
'simulate'
>>> run_meta.timestamp
datetime.datetime(..., tzinfo=datetime.timezone.utc)
>>> run_meta.name
'test_run'