pyhs3.data.Datum¶
- class pyhs3.data.Datum(**data)[source]¶
Base class for HS3 data specifications.
Provides the foundation for all data implementations, handling common properties like name and type identification.
- Variables:
name – Custom string identifier for the data
type – Type identifier for the data format
- Parameters:
data (
Any)
- __init__(**data)¶
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.
- Parameters:
data (
Any)
Attributes
- Datum.type¶
- Datum.name¶