cyphermed.api.projects.get_project_by_id

def sync_detailed( project_id: str, *, client: cyphermed.client.AuthenticatedClient) -> cyphermed.types.Response[typing.Union[cyphermed.models.admin_project_info.AdminProjectInfo, cyphermed.models.project_info.ProjectInfo]]:

Get Project By Id

Get a project by ID

Args: project_id (str):

Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns: Response[Union['AdminProjectInfo', 'ProjectInfo']]

def sync( project_id: str, *, client: cyphermed.client.AuthenticatedClient) -> Union[cyphermed.models.admin_project_info.AdminProjectInfo, cyphermed.models.project_info.ProjectInfo, NoneType]:

Get Project By Id

Get a project by ID

Args: project_id (str):

Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns: Union['AdminProjectInfo', 'ProjectInfo']

async def asyncio_detailed( project_id: str, *, client: cyphermed.client.AuthenticatedClient) -> cyphermed.types.Response[typing.Union[cyphermed.models.admin_project_info.AdminProjectInfo, cyphermed.models.project_info.ProjectInfo]]:

Get Project By Id

Get a project by ID

Args: project_id (str):

Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns: Response[Union['AdminProjectInfo', 'ProjectInfo']]

async def asyncio( project_id: str, *, client: cyphermed.client.AuthenticatedClient) -> Union[cyphermed.models.admin_project_info.AdminProjectInfo, cyphermed.models.project_info.ProjectInfo, NoneType]:

Get Project By Id

Get a project by ID

Args: project_id (str):

Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns: Union['AdminProjectInfo', 'ProjectInfo']