Splitgraph has been acquired by EDB! Read the blog post.

splitgraph package

Subpackages

Submodules

splitgraph.exceptions module

Exceptions that can be raised by the Splitgraph library.

exception splitgraph.exceptions.APICompatibilityError

Bases: splitgraph.exceptions.SplitGraphError

Exceptions related to API incompatibilities

exception splitgraph.exceptions.AuthAPIError

Bases: splitgraph.exceptions.SplitGraphError

Exceptions raised by the Auth API

exception splitgraph.exceptions.CheckoutError

Bases: splitgraph.exceptions.SplitGraphError

Errors related to checking out/committing repositories

exception splitgraph.exceptions.DataSourceError

Bases: splitgraph.exceptions.SplitGraphError

Exceptions raised by mount handlers.

exception splitgraph.exceptions.DockerUnavailableError

Bases: splitgraph.exceptions.SplitGraphError

Could not connect to the Docker daemon.

exception splitgraph.exceptions.EngineInitializationError

Bases: splitgraph.exceptions.SplitGraphError

Raised when the engine isn’t initialized (no splitgraph_meta schema or audit triggers)

exception splitgraph.exceptions.EngineSetupError

Bases: splitgraph.exceptions.SplitGraphError

Raised on various setup issues with the Splitgraph engine

exception splitgraph.exceptions.ExternalHandlerError

Bases: splitgraph.exceptions.SplitGraphError

Exceptions raised by external object handlers.

exception splitgraph.exceptions.GQLAPIError

Bases: splitgraph.exceptions.SplitGraphError

GQL API errors

exception splitgraph.exceptions.GQLRepoDoesntExistError

Bases: splitgraph.exceptions.GQLAPIError

Repository doesn’t exist

exception splitgraph.exceptions.GQLUnauthenticatedError

Bases: splitgraph.exceptions.GQLAPIError

Unauthenticated (user not logged in)

exception splitgraph.exceptions.GQLUnauthorizedError

Bases: splitgraph.exceptions.GQLAPIError

Unauthorized (e.g. repository isn’t writeable by the user)

exception splitgraph.exceptions.ImageNotFoundError

Bases: splitgraph.exceptions.SplitGraphError

A Splitgraph image doesn’t exist.

exception splitgraph.exceptions.IncompleteObjectDownloadError(reason: Optional[BaseException], successful_objects: List[str])

Bases: splitgraph.exceptions.SplitGraphError

Raised when an error is encountered during download of multiple objects. The handler is supposed to perform any necessary cleanup and reraise reason at the earliest opportunity.

exception splitgraph.exceptions.IncompleteObjectUploadError(reason: Optional[BaseException], successful_objects: List[str], successful_object_urls: List[str])

Bases: splitgraph.exceptions.SplitGraphError

Raised when an error is encountered during upload of multiple objects. The handler is supposed to perform any necessary cleanup and reraise reason at the earliest opportunity.

exception splitgraph.exceptions.JSONSchemaValidationError(message: str)

Bases: splitgraph.exceptions.SplitGraphError

Error validating the remote schema

exception splitgraph.exceptions.ObjectCacheError

Bases: splitgraph.exceptions.SplitGraphError

Issues with the object cache (not enough space)

exception splitgraph.exceptions.ObjectIndexingError

Bases: splitgraph.exceptions.SplitGraphError

Errors related to indexing objects

exception splitgraph.exceptions.ObjectMountingError

Bases: splitgraph.exceptions.SplitGraphError

Errors related to incompatible objects.

exception splitgraph.exceptions.ObjectNotFoundError

Bases: splitgraph.exceptions.SplitGraphError

Raised when a physical object doesn’t exist in the cache.

exception splitgraph.exceptions.RepositoryNotFoundError

Bases: splitgraph.exceptions.SplitGraphError

A Splitgraph repository doesn’t exist.

exception splitgraph.exceptions.SplitGraphError

Bases: Exception

A generic Splitgraph exception.

exception splitgraph.exceptions.SplitfileError

Bases: splitgraph.exceptions.SplitGraphError

Generic error class for Splitfile interpretation/execution errors.

exception splitgraph.exceptions.TableNotFoundError

Bases: splitgraph.exceptions.SplitGraphError

A table doesn’t exist in an image

exception splitgraph.exceptions.UnsupportedSQLError

Bases: splitgraph.exceptions.SplitGraphError

Raised for unsupported SQL statements, for example, containing schema-qualified tables when the statement is supposed to be used in an SQL/IMPORT Splitfile command.

splitgraph.exceptions.get_exception_name(o)

Module contents