scitacean.model.UploadRelationship#

pydantic model scitacean.model.UploadRelationship[source]#
field pid: PID [Required]#
field relationship: str [Required]#
classmethod download_model_type()[source]#

Return the download model type for this model.

Returns None if this is a download model.

Return type:

type[DownloadRelationship]

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[Relationship]