poprox_concepts.domain.image#
Classes
|
- class poprox_concepts.domain.image.Image(*, image_id=None, url, source, external_id=None, raw_data)#
Bases:
BaseModel
- Parameters:
- 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]] = {'external_id': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'image_id': FieldInfo(annotation=Union[UUID, NoneType], required=False, default=None), 'raw_data': FieldInfo(annotation=Union[dict[str, Any], NoneType], required=True), 'source': FieldInfo(annotation=str, required=True), 'url': FieldInfo(annotation=str, required=True)}#
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.