1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
|
from typing import Any, ClassVar
class HasDescriptionCode:
code: str | None
def __init__(self, *arg: Any, code: str | None = ..., **kw: Any) -> None: ...
class SQLAlchemyError(HasDescriptionCode, Exception):
def __unicode__(self) -> str: ...
class ArgumentError(SQLAlchemyError): ...
class ObjectNotExecutableError(ArgumentError):
target: Any
def __init__(self, target) -> None: ...
def __reduce__(self): ...
class NoSuchModuleError(ArgumentError): ...
class NoForeignKeysError(ArgumentError): ...
class AmbiguousForeignKeysError(ArgumentError): ...
class CircularDependencyError(SQLAlchemyError):
cycles: Any
edges: Any
def __init__(self, message, cycles, edges, msg: Any | None = ..., code: Any | None = ...) -> None: ...
def __reduce__(self): ...
class CompileError(SQLAlchemyError): ...
class UnsupportedCompilationError(CompileError):
code: str
compiler: Any
element_type: Any
message: str | None
def __init__(self, compiler, element_type, message: str | None = ...) -> None: ...
def __reduce__(self): ...
class IdentifierError(SQLAlchemyError): ...
class DisconnectionError(SQLAlchemyError):
invalidate_pool: bool
class InvalidatePoolError(DisconnectionError):
invalidate_pool: bool
class TimeoutError(SQLAlchemyError): ...
class InvalidRequestError(SQLAlchemyError): ...
class NoInspectionAvailable(InvalidRequestError): ...
class PendingRollbackError(InvalidRequestError): ...
class ResourceClosedError(InvalidRequestError): ...
class NoSuchColumnError(InvalidRequestError, KeyError): ...
class NoResultFound(InvalidRequestError): ...
class MultipleResultsFound(InvalidRequestError): ...
class NoReferenceError(InvalidRequestError): ...
class AwaitRequired(InvalidRequestError):
code: str
class MissingGreenlet(InvalidRequestError):
code: str
class NoReferencedTableError(NoReferenceError):
table_name: Any
def __init__(self, message, tname) -> None: ...
def __reduce__(self): ...
class NoReferencedColumnError(NoReferenceError):
table_name: Any
column_name: Any
def __init__(self, message, tname, cname) -> None: ...
def __reduce__(self): ...
class NoSuchTableError(InvalidRequestError): ...
class UnreflectableTableError(InvalidRequestError): ...
class UnboundExecutionError(InvalidRequestError): ...
class DontWrapMixin: ...
class StatementError(SQLAlchemyError):
statement: Any
params: Any
orig: Any
ismulti: Any
hide_parameters: Any
detail: Any
def __init__(
self, message, statement, params, orig, hide_parameters: bool = ..., code: Any | None = ..., ismulti: Any | None = ...
) -> None: ...
def add_detail(self, msg) -> None: ...
def __reduce__(self): ...
class DBAPIError(StatementError):
code: str
@classmethod
def instance(
cls,
statement,
params,
orig,
dbapi_base_err,
hide_parameters: bool = ...,
connection_invalidated: bool = ...,
dialect: Any | None = ...,
ismulti: Any | None = ...,
): ...
def __reduce__(self): ...
connection_invalidated: Any
def __init__(
self,
statement,
params,
orig,
hide_parameters: bool = ...,
connection_invalidated: bool = ...,
code: Any | None = ...,
ismulti: Any | None = ...,
) -> None: ...
class InterfaceError(DBAPIError): ...
class DatabaseError(DBAPIError): ...
class DataError(DatabaseError): ...
class OperationalError(DatabaseError): ...
class IntegrityError(DatabaseError): ...
class InternalError(DatabaseError): ...
class ProgrammingError(DatabaseError): ...
class NotSupportedError(DatabaseError): ...
class SADeprecationWarning(HasDescriptionCode, DeprecationWarning):
deprecated_since: ClassVar[str | None]
class Base20DeprecationWarning(SADeprecationWarning):
deprecated_since: ClassVar[str]
class LegacyAPIWarning(Base20DeprecationWarning): ...
class RemovedIn20Warning(Base20DeprecationWarning): ...
class MovedIn20Warning(RemovedIn20Warning): ...
class SAPendingDeprecationWarning(PendingDeprecationWarning):
deprecated_since: ClassVar[str | None]
class SAWarning(HasDescriptionCode, RuntimeWarning): ...
|