mgnipy.emgapi_v2_client.api.publications.get_mgnify_publication_annotations module

mgnipy.emgapi_v2_client.api.publications.get_mgnify_publication_annotations module#

async mgnipy.emgapi_v2_client.api.publications.get_mgnify_publication_annotations.asyncio(pubmed_id, *, client)[source]#

Get any full-text annotations associated with the publication

Full-text annotations are retrieved from Europe PMC, text mined for relevant metagenomic metadata

terms

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:

PublicationAnnotations

Return type:

PublicationAnnotations | None

async mgnipy.emgapi_v2_client.api.publications.get_mgnify_publication_annotations.asyncio_detailed(pubmed_id, *, client)[source]#

Get any full-text annotations associated with the publication

Full-text annotations are retrieved from Europe PMC, text mined for relevant metagenomic metadata

terms

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

Return type:

Response[PublicationAnnotations]

mgnipy.emgapi_v2_client.api.publications.get_mgnify_publication_annotations.sync(pubmed_id, *, client)[source]#

Get any full-text annotations associated with the publication

Full-text annotations are retrieved from Europe PMC, text mined for relevant metagenomic metadata

terms

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:

PublicationAnnotations

Return type:

PublicationAnnotations | None

mgnipy.emgapi_v2_client.api.publications.get_mgnify_publication_annotations.sync_detailed(pubmed_id, *, client)[source]#

Get any full-text annotations associated with the publication

Full-text annotations are retrieved from Europe PMC, text mined for relevant metagenomic metadata

terms

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

Return type:

Response[PublicationAnnotations]