diff --git a/sphinx_docs/models.rst b/sphinx_docs/models.rst index 1055119b..7fe069ad 100644 --- a/sphinx_docs/models.rst +++ b/sphinx_docs/models.rst @@ -1,23 +1,22 @@ SDK Client ===================== -.. autoclass:: groundlight.Groundlight +.. autoclass:: groundlight.Groundlight :members: :special-members: __init__ - :exclude-members: ApiTokenError API Response Objects ===================== -.. autopydantic_model:: model.Detector - :model-show-json: True +.. autopydantic_model:: model.Detector + :model-show-json: True .. autopydantic_model:: model.ImageQuery - :model-show-json: True + :model-show-json: True .. autopydantic_model:: model.PaginatedDetectorList - :model-show-json: True + :model-show-json: True .. autopydantic_model:: model.PaginatedImageQueryList - :model-show-json: True \ No newline at end of file + :model-show-json: True \ No newline at end of file diff --git a/src/groundlight/__init__.py b/src/groundlight/__init__.py index ff3d17ba..a25acbc7 100644 --- a/src/groundlight/__init__.py +++ b/src/groundlight/__init__.py @@ -7,6 +7,8 @@ # Imports from our code from .client import Groundlight +from .client import GroundlightClientError +from .client import ApiTokenError from .experimentalapi import ExperimentalApi from .binary_labels import Label from .version import get_version