snowflake.core.PointOfTime¶
- class snowflake.core.PointOfTime(*, point_of_time_type: Annotated[str, StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=True, min_length=None, max_length=None, pattern=None)], reference: Annotated[str, StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=True, min_length=None, max_length=None, pattern=None)], when: Annotated[str, StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=True, min_length=None, max_length=None, pattern=None)])¶
Bases:
BaseModel
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
Methods
- classmethod from_dict(obj: Dict[str, str | None]) PointOfTimeOffset | PointOfTimeStatement | PointOfTimeTimestamp ¶
Create an instance of PointOfTime from a dict.
- classmethod get_discriminator_value(obj: Dict[str, str | None]) str ¶
Return the discriminator value (object type) of the data.
- to_dict() Dict[str, str] ¶