trust_api.routers.schemas
Classes
Represents the input for a cohort query. |
|
Represents a user on the central hub. |
|
Represents a project on the central hub from which an imaging project is created on XNAT. |
|
Input for deleting an imaging project. |
|
Input for retrieving imaging project status. |
|
Input for reimporting imaging studies. |
|
Request body for updating a user's profile. |
Module Contents
- class trust_api.routers.schemas.CohortQueryInput
Bases:
pydantic.BaseModelRepresents the input for a cohort query.
- encrypted_project_id: str
- query_id: str
- query_name: str
- query: str
- trust_id: str
- class trust_api.routers.schemas.CentralHubUser
Bases:
pydantic.BaseModelRepresents a user on the central hub.
- id: uuid.UUID
- email: pydantic.EmailStr
- is_disabled: bool = False
- class trust_api.routers.schemas.CentralHubProject
Bases:
pydantic.BaseModelRepresents a project on the central hub from which an imaging project is created on XNAT.
- project_id: uuid.UUID
- trust_id: uuid.UUID
- project_name: str
- query: str | None = None
- users: list[CentralHubUser] = []
- dicom_to_nifti: bool = True
- class trust_api.routers.schemas.DeleteImagingInput
Bases:
pydantic.BaseModelInput for deleting an imaging project.
- imaging_project_id: str
- class trust_api.routers.schemas.GetImagingStatusInput
Bases:
pydantic.BaseModelInput for retrieving imaging project status.
- imaging_project_id: str
- encoded_query: str