mgnipy.emgapi_v2_client.api.studies.get_mgnify_study_accession_by_insdc_accession module

mgnipy.emgapi_v2_client.api.studies.get_mgnify_study_accession_by_insdc_accession module#

async asyncio(accession, *, client)[source]#

Find a MGnify study by its corresponding INSDC study/project accession

Returns the MGnify study accession corresponding to an INSDC study/project accession.

Parameters:
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:

MGnifyStudyAccessionLookup

Return type:

MGnifyStudyAccessionLookup | None

async asyncio_detailed(accession, *, client)[source]#

Find a MGnify study by its corresponding INSDC study/project accession

Returns the MGnify study accession corresponding to an INSDC study/project accession.

Parameters:
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[MGnifyStudyAccessionLookup]

Return type:

Response[MGnifyStudyAccessionLookup]

sync(accession, *, client)[source]#

Find a MGnify study by its corresponding INSDC study/project accession

Returns the MGnify study accession corresponding to an INSDC study/project accession.

Parameters:
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:

MGnifyStudyAccessionLookup

Return type:

MGnifyStudyAccessionLookup | None

sync_detailed(accession, *, client)[source]#

Find a MGnify study by its corresponding INSDC study/project accession

Returns the MGnify study accession corresponding to an INSDC study/project accession.

Parameters:
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[MGnifyStudyAccessionLookup]

Return type:

Response[MGnifyStudyAccessionLookup]