poprox_concepts.domain.click#
Classes
|
- class poprox_concepts.domain.click.Click(*, article_id, newsletter_id=None, timestamp=None)#
Bases:
BaseModel
- model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'article_id': FieldInfo(annotation=UUID, required=True), 'newsletter_id': FieldInfo(annotation=Union[UUID, NoneType], required=False, default=None), 'timestamp': FieldInfo(annotation=Union[datetime, NoneType], required=False, default=None)}#
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.