data_access_api.routers.schema

Classes

CohortQueryInput

Represents the input for a cohort query.

DataframeQuery

Represents the input for a dataframe query.

StatisticsResponse

Represents the response for a statistics query.

AccessionIdsResponse

Represents the response for an accession-ids query.

Module Contents

class data_access_api.routers.schema.CohortQueryInput

Bases: pydantic.BaseModel

Represents the input for a cohort query.

encrypted_project_id: str
query_id: str
query_name: str
query: str
trust_id: str
class data_access_api.routers.schema.DataframeQuery

Bases: pydantic.BaseModel

Represents the input for a dataframe query.

encrypted_project_id: str
query: str
class data_access_api.routers.schema.StatisticsResponse

Bases: pydantic.BaseModel

Represents the response for a statistics query.

query_id: str
trust_id: str
record_count: int
created: str
data: list[dict[str, Any]]
class data_access_api.routers.schema.AccessionIdsResponse

Bases: pydantic.BaseModel

Represents the response for an accession-ids query.

accession_ids: list[str]