Module: ncbi.datasets.openapi.exceptions

NCBI Datasets API

Module: ncbi.datasets.openapi.exceptions

NCBI Datasets API

### NCBI Datasets is a resource that lets you easily gather data from NCBI. The Datasets version 1 API is considred stable and will not be subject to breaking changes. For some larger downloads, you may want to download a [dehydrated bag](https://0-www-ncbi-nlm-nih-gov.brum.beds.ac.uk/datasets/docs/v1/how-tos/genomes/large-download/), and retrieve the individual data files at a later time. # noqa: E501

The version of the OpenAPI document: v1 Generated by: https://openapi-generator.tech

exception ncbi.datasets.openapi.exceptions.OpenApiException

Bases: Exception

The base exception class for all OpenAPIExceptions

exception ncbi.datasets.openapi.exceptions.ApiTypeError(msg, path_to_item=None, valid_classes=None, key_type=None)

Bases: ncbi.datasets.openapi.exceptions.OpenApiException, TypeError

exception ncbi.datasets.openapi.exceptions.ApiValueError(msg, path_to_item=None)

Bases: ncbi.datasets.openapi.exceptions.OpenApiException, ValueError

exception ncbi.datasets.openapi.exceptions.ApiAttributeError(msg, path_to_item=None)

Bases: ncbi.datasets.openapi.exceptions.OpenApiException, AttributeError

exception ncbi.datasets.openapi.exceptions.ApiKeyError(msg, path_to_item=None)

Bases: ncbi.datasets.openapi.exceptions.OpenApiException, KeyError

exception ncbi.datasets.openapi.exceptions.ApiException(status=None, reason=None, http_resp=None)

Bases: ncbi.datasets.openapi.exceptions.OpenApiException

exception ncbi.datasets.openapi.exceptions.NotFoundException(status=None, reason=None, http_resp=None)

Bases: ncbi.datasets.openapi.exceptions.ApiException

exception ncbi.datasets.openapi.exceptions.UnauthorizedException(status=None, reason=None, http_resp=None)

Bases: ncbi.datasets.openapi.exceptions.ApiException

exception ncbi.datasets.openapi.exceptions.ForbiddenException(status=None, reason=None, http_resp=None)

Bases: ncbi.datasets.openapi.exceptions.ApiException

exception ncbi.datasets.openapi.exceptions.ServiceException(status=None, reason=None, http_resp=None)

Bases: ncbi.datasets.openapi.exceptions.ApiException

ncbi.datasets.openapi.exceptions.render_path(path_to_item)

Returns a string representation of a path

Generated December 6, 2022