mgnipy.emgapi_v2_client.api.genomes.get_genome_catalogue module

mgnipy.emgapi_v2_client.api.genomes.get_genome_catalogue module#

async mgnipy.emgapi_v2_client.api.genomes.get_genome_catalogue.asyncio(catalogue_id, *, client)[source]#

Get genome catalogue by ID

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:

GenomeCatalogueDetail

Return type:

GenomeCatalogueDetail | None

async mgnipy.emgapi_v2_client.api.genomes.get_genome_catalogue.asyncio_detailed(catalogue_id, *, client)[source]#

Get genome catalogue by ID

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

Return type:

Response[GenomeCatalogueDetail]

mgnipy.emgapi_v2_client.api.genomes.get_genome_catalogue.sync(catalogue_id, *, client)[source]#

Get genome catalogue by ID

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:

GenomeCatalogueDetail

Return type:

GenomeCatalogueDetail | None

mgnipy.emgapi_v2_client.api.genomes.get_genome_catalogue.sync_detailed(catalogue_id, *, client)[source]#

Get genome catalogue by ID

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

Return type:

Response[GenomeCatalogueDetail]