Module: ncbi.datasets.openapi.exceptions
NCBI Datasets API
Module: ncbi.datasets.openapi.exceptions
### 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. However, certain endpoints will be [deprecated](https://www.ncbi.nlm.nih.gov/datasets/docs/v1/reference-docs/rest-api/deprecated_apis/), and then sunset as newer versions are published. For some larger downloads, you may want to download a [dehydrated zip archive](https://www.ncbi.nlm.nih.gov/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)
- exception ncbi.datasets.openapi.exceptions.NotFoundException(status=None, reason=None, http_resp=None)
- exception ncbi.datasets.openapi.exceptions.UnauthorizedException(status=None, reason=None, http_resp=None)
- exception ncbi.datasets.openapi.exceptions.ForbiddenException(status=None, reason=None, http_resp=None)
- exception ncbi.datasets.openapi.exceptions.ServiceException(status=None, reason=None, http_resp=None)
- ncbi.datasets.openapi.exceptions.render_path(path_to_item)
Returns a string representation of a path