scitacean.model.UploadAttachment#

pydantic model scitacean.model.UploadAttachment[source]#
field accessGroups: list[str] | None = None#
field caption: str [Required]#
field datasetId: PID | None = None#
field id: str | None = None#
field instrumentGroup: str | None = None#
field ownerGroup: str [Required]#
field proposalId: str | None = None#
field sampleId: str | None = None#
field thumbnail: Thumbnail | None = None#
classmethod download_model_type()[source]#

Return the download model type for this model.

Returns None if this is a download model.

Return type:

type[DownloadAttachment]

classmethod user_model_type()[source]#

Return the user model type for this model.

Returns None if there is no user model, e.g., for Dataset where there is a custom class instead of a plain model.

Return type:

type[Attachment]