asyncpg API Reference
Full documentation for asyncpg (0.31.0)
asyncpg.ActiveSQLTransactionError
Python Library Documentation: class ActiveSQLTransactionError in module asyncpg.exceptions class ActiveSQLTransactionError(InvalidTransactionStateError) | Method resolution order: | ActiveSQLTransactionError | InvalidTransactionStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '25001' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.AdminShutdownError
Python Library Documentation: class AdminShutdownError in module asyncpg.exceptions class AdminShutdownError(OperatorInterventionError) | Method resolution order: | AdminShutdownError | OperatorInterventionError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '57P01' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.AmbiguousAliasError
Python Library Documentation: class AmbiguousAliasError in module asyncpg.exceptions class AmbiguousAliasError(SyntaxOrAccessError) | Method resolution order: | AmbiguousAliasError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P09' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.AmbiguousColumnError
Python Library Documentation: class AmbiguousColumnError in module asyncpg.exceptions class AmbiguousColumnError(SyntaxOrAccessError) | Method resolution order: | AmbiguousColumnError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42702' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.AmbiguousFunctionError
Python Library Documentation: class AmbiguousFunctionError in module asyncpg.exceptions class AmbiguousFunctionError(SyntaxOrAccessError) | Method resolution order: | AmbiguousFunctionError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42725' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.AmbiguousParameterError
Python Library Documentation: class AmbiguousParameterError in module asyncpg.exceptions class AmbiguousParameterError(SyntaxOrAccessError) | Method resolution order: | AmbiguousParameterError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P08' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ArraySubscriptError
Python Library Documentation: class ArraySubscriptError in module asyncpg.exceptions class ArraySubscriptError(DataError) | Method resolution order: | ArraySubscriptError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2202E' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.AssertError
Python Library Documentation: class AssertError in module asyncpg.exceptions class AssertError(PLPGSQLError) | Method resolution order: | AssertError | PLPGSQLError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'P0004' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.Attribute
Python Library Documentation: class Attribute in module asyncpg.types
class Attribute(builtins.tuple)
| Attribute(name: ForwardRef('str'), type: ForwardRef('Type'))
|
| Database relation attribute.
|
| Method resolution order:
| Attribute
| builtins.tuple
| builtins.object
|
| Methods defined here:
|
| __getnewargs__(self) from collections.Attribute
| Return self as a plain tuple. Used by copy and pickle.
|
| __repr__(self) from collections.Attribute
| Return a nicely formatted representation string
|
| _asdict(self) from collections.Attribute
| Return a new dict which maps field names to their values.
|
| _replace(self, /, **kwds) from collections.Attribute
| Return a new Attribute object replacing specified fields with new values
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| _make(iterable) from collections.Attribute
| Make a new Attribute object from a sequence or iterable
|
| ----------------------------------------------------------------------
| Static methods defined here:
|
| __new__(_cls, name: ForwardRef('str'), type: ForwardRef('Type')) from namedtuple_Attribute.Attribute
| Create new instance of Attribute(name, type)
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| name
| Attribute name.
|
| type
| Attribute data type :class:`asyncpg.types.Type`.
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'name': ForwardRef('str'), 'type': ForwardRef('Type...
|
| __match_args__ = ('name', 'type')
|
| __orig_bases__ = (<function NamedTuple>,)
|
| _field_defaults = {}
|
| _fields = ('name', 'type')
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.tuple:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __getitem__(self, key, /)
| Return self[key].
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmul__(self, value, /)
| Return value*self.
|
| count(self, value, /)
| Return number of occurrences of value.
|
| index(self, value, start=0, stop=9223372036854775807, /)
| Return first index of value.
|
| Raises ValueError if the value is not present.
|
| ----------------------------------------------------------------------
| Class methods inherited from builtins.tuple:
|
| __class_getitem__(...)
| See PEP 585
asyncpg.BadCopyFileFormatError
Python Library Documentation: class BadCopyFileFormatError in module asyncpg.exceptions class BadCopyFileFormatError(DataError) | Method resolution order: | BadCopyFileFormatError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22P04' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.BitString
Python Library Documentation: class BitString in module asyncpg.pgproto.types
class BitString(builtins.object)
| BitString(bitstring: 'builtins.bytes | None' = None) -> 'None'
|
| Immutable representation of PostgreSQL `bit` and `varbit` types.
|
| Methods defined here:
|
| __eq__(self, other: 'object') -> 'bool'
| Return self==value.
|
| __getitem__(self, i: 'int') -> 'int'
|
| __hash__(self) -> 'int'
| Return hash(self).
|
| __init__(self, bitstring: 'builtins.bytes | None' = None) -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| __len__(self) -> 'int'
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| __str__ = __repr__(self) -> 'str'
|
| as_string(self) -> 'str'
|
| to_int(self, bitorder: '_BitOrderType' = 'big', *, signed: 'bool' = False) -> 'int'
| Interpret the BitString as a Python int.
| Acts similarly to int.from_bytes.
|
| :param bitorder:
| Determines the bit order used to interpret the BitString. By
| default, this function uses Postgres conventions for casting bits
| to ints. If bitorder is 'big', the most significant bit is at the
| start of the string (this is the same as the default). If bitorder
| is 'little', the most significant bit is at the end of the string.
|
| :param bool signed:
| Determines whether two's complement is used to interpret the
| BitString. If signed is False, the returned value is always
| non-negative.
|
| :return int: An integer representing the BitString. Information about
| the BitString's exact length is lost.
|
| .. versionadded:: 0.18.0
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| from_int(x: 'int', length: 'int', bitorder: '_BitOrderType' = 'big', *, signed: 'bool' = False) -> 'Self'
| Represent the Python int x as a BitString.
| Acts similarly to int.to_bytes.
|
| :param int x:
| An integer to represent. Negative integers are represented in two's
| complement form, unless the argument signed is False, in which case
| negative integers raise an OverflowError.
|
| :param int length:
| The length of the resulting BitString. An OverflowError is raised
| if the integer is not representable in this many bits.
|
| :param bitorder:
| Determines the bit order used in the BitString representation. By
| default, this function uses Postgres conventions for casting ints
| to bits. If bitorder is 'big', the most significant bit is at the
| start of the string (this is the same as the default). If bitorder
| is 'little', the most significant bit is at the end of the string.
|
| :param bool signed:
| Determines whether two's complement is used in the BitString
| representation. If signed is False and a negative integer is given,
| an OverflowError is raised.
|
| :return BitString: A BitString representing the input integer, in the
| form specified by the other input args.
|
| .. versionadded:: 0.18.0
|
| frombytes(bytes_: 'builtins.bytes | None' = None, bitlength: 'int | None' = None) -> 'Self'
|
| ----------------------------------------------------------------------
| Readonly properties defined here:
|
| bytes
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'__str__': "typing.Callable[['BitString'], str]", '...
asyncpg.Box
Python Library Documentation: class Box in module asyncpg.pgproto.types class Box(builtins.tuple, typing.Generic) | Box(high: 'typing.Sequence[float]', low: 'typing.Sequence[float]') -> 'Self' | | Immutable representation of PostgreSQL `box` type. | | Method resolution order: | Box | builtins.tuple | typing.Generic | builtins.object | | Methods defined here: | | __repr__(self) -> 'str' | Return repr(self). | | ---------------------------------------------------------------------- | Static methods defined here: | | __new__(cls, high: 'typing.Sequence[float]', low: 'typing.Sequence[float]') -> 'Self' | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Readonly properties defined here: | | high | | low | | ---------------------------------------------------------------------- | Data and other attributes defined here: | | __orig_bases__ = (typing.Tuple[asyncpg.pgproto.types.Point, asyncpg.pg... | | __parameters__ = () | | ---------------------------------------------------------------------- | Methods inherited from builtins.tuple: | | __add__(self, value, /) | Return self+value. | | __contains__(self, key, /) | Return bool(key in self). | | __eq__(self, value, /) | Return self==value. | | __ge__(self, value, /) | Return self>=value. | | __getattribute__(self, name, /) | Return getattr(self, name). | | __getitem__(self, key, /) | Return self[key]. | | __getnewargs__(self, /) | | __gt__(self, value, /) | Return self>value. | | __hash__(self, /) | Return hash(self). | | __iter__(self, /) | Implement iter(self). | | __le__(self, value, /) | Return self<=value. | | __len__(self, /) | Return len(self). | | __lt__(self, value, /) | Return self<value. | | __mul__(self, value, /) | Return self*value. | | __ne__(self, value, /) | Return self!=value. | | __rmul__(self, value, /) | Return value*self. | | count(self, value, /) | Return number of occurrences of value. | | index(self, value, start=0, stop=9223372036854775807, /) | Return first index of value. | | Raises ValueError if the value is not present. | | ---------------------------------------------------------------------- | Class methods inherited from builtins.tuple: | | __class_getitem__(...) | See PEP 585 | | ---------------------------------------------------------------------- | Class methods inherited from typing.Generic: | | __init_subclass__(...) | Function to initialize subclasses.
asyncpg.BranchTransactionAlreadyActiveError
Python Library Documentation: class BranchTransactionAlreadyActiveError in module asyncpg.exceptions class BranchTransactionAlreadyActiveError(InvalidTransactionStateError) | Method resolution order: | BranchTransactionAlreadyActiveError | InvalidTransactionStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '25002' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.CannotCoerceError
Python Library Documentation: class CannotCoerceError in module asyncpg.exceptions class CannotCoerceError(SyntaxOrAccessError) | Method resolution order: | CannotCoerceError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42846' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.CannotConnectNowError
Python Library Documentation: class CannotConnectNowError in module asyncpg.exceptions class CannotConnectNowError(OperatorInterventionError) | Method resolution order: | CannotConnectNowError | OperatorInterventionError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '57P03' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.CantChangeRuntimeParamError
Python Library Documentation: class CantChangeRuntimeParamError in module asyncpg.exceptions class CantChangeRuntimeParamError(ObjectNotInPrerequisiteStateError) | Method resolution order: | CantChangeRuntimeParamError | ObjectNotInPrerequisiteStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '55P02' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.CardinalityViolationError
Python Library Documentation: class CardinalityViolationError in module asyncpg.exceptions class CardinalityViolationError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | CardinalityViolationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '21000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.CaseNotFoundError
Python Library Documentation: class CaseNotFoundError in module asyncpg.exceptions class CaseNotFoundError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | CaseNotFoundError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '20000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.CharacterNotInRepertoireError
Python Library Documentation: class CharacterNotInRepertoireError in module asyncpg.exceptions class CharacterNotInRepertoireError(DataError) | Method resolution order: | CharacterNotInRepertoireError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22021' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.CheckViolationError
Python Library Documentation: class CheckViolationError in module asyncpg.exceptions class CheckViolationError(IntegrityConstraintViolationError) | Method resolution order: | CheckViolationError | IntegrityConstraintViolationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '23514' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.Circle
Python Library Documentation: class Circle in module asyncpg.pgproto.types class Circle(builtins.tuple, typing.Generic) | Circle(center: 'Point', radius: 'float') -> 'Self' | | Immutable representation of PostgreSQL `circle` type. | | Method resolution order: | Circle | builtins.tuple | typing.Generic | builtins.object | | Static methods defined here: | | __new__(cls, center: 'Point', radius: 'float') -> 'Self' | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Readonly properties defined here: | | center | | radius | | ---------------------------------------------------------------------- | Data and other attributes defined here: | | __orig_bases__ = (typing.Tuple[asyncpg.pgproto.types.Point, float],) | | __parameters__ = () | | ---------------------------------------------------------------------- | Methods inherited from builtins.tuple: | | __add__(self, value, /) | Return self+value. | | __contains__(self, key, /) | Return bool(key in self). | | __eq__(self, value, /) | Return self==value. | | __ge__(self, value, /) | Return self>=value. | | __getattribute__(self, name, /) | Return getattr(self, name). | | __getitem__(self, key, /) | Return self[key]. | | __getnewargs__(self, /) | | __gt__(self, value, /) | Return self>value. | | __hash__(self, /) | Return hash(self). | | __iter__(self, /) | Implement iter(self). | | __le__(self, value, /) | Return self<=value. | | __len__(self, /) | Return len(self). | | __lt__(self, value, /) | Return self<value. | | __mul__(self, value, /) | Return self*value. | | __ne__(self, value, /) | Return self!=value. | | __repr__(self, /) | Return repr(self). | | __rmul__(self, value, /) | Return value*self. | | count(self, value, /) | Return number of occurrences of value. | | index(self, value, start=0, stop=9223372036854775807, /) | Return first index of value. | | Raises ValueError if the value is not present. | | ---------------------------------------------------------------------- | Class methods inherited from builtins.tuple: | | __class_getitem__(...) | See PEP 585 | | ---------------------------------------------------------------------- | Class methods inherited from typing.Generic: | | __init_subclass__(...) | Function to initialize subclasses.
asyncpg.ClientCannotConnectError
Python Library Documentation: class ClientCannotConnectError in module asyncpg.exceptions class ClientCannotConnectError(PostgresConnectionError) | Method resolution order: | ClientCannotConnectError | PostgresConnectionError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '08001' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ClientConfigurationError
Python Library Documentation: class ClientConfigurationError in module asyncpg.exceptions._base class ClientConfigurationError(InterfaceError, builtins.ValueError) | ClientConfigurationError(msg, *, detail=None, hint=None) | | An error caused by improper client configuration. | | Method resolution order: | ClientConfigurationError | InterfaceError | InterfaceMessage | builtins.ValueError | builtins.Exception | builtins.BaseException | builtins.object | | Methods inherited from InterfaceError: | | __init__(self, msg, *, detail=None, hint=None) | Initialize self. See help(type(self)) for accurate signature. | | with_msg(self, msg) | | ---------------------------------------------------------------------- | Data descriptors inherited from InterfaceError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from InterfaceMessage: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Data descriptors inherited from InterfaceMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Static methods inherited from builtins.ValueError: | | __new__(*args, **kwargs) class method of builtins.ValueError | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.CollationMismatchError
Python Library Documentation: class CollationMismatchError in module asyncpg.exceptions class CollationMismatchError(SyntaxOrAccessError) | Method resolution order: | CollationMismatchError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P21' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ConfigFileError
Python Library Documentation: class ConfigFileError in module asyncpg.exceptions class ConfigFileError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | ConfigFileError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'F0000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ConfigurationLimitExceededError
Python Library Documentation: class ConfigurationLimitExceededError in module asyncpg.exceptions class ConfigurationLimitExceededError(InsufficientResourcesError) | Method resolution order: | ConfigurationLimitExceededError | InsufficientResourcesError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '53400' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.Connection
Python Library Documentation: class Connection in module asyncpg.connection
class Connection(builtins.object)
| Connection(protocol, transport, loop, addr, config: asyncpg.connect_utils.ConnectionConfiguration, params: asyncpg.connect_utils.ConnectionParameters)
|
| A representation of a database session.
|
| Connections are created by calling :func:`~asyncpg.connection.connect`.
|
| Methods defined here:
|
| __del__(self)
|
| __init__(self, protocol, transport, loop, addr, config: asyncpg.connect_utils.ConnectionConfiguration, params: asyncpg.connect_utils.ConnectionParameters)
| Initialize self. See help(type(self)) for accurate signature.
|
| async add_listener(self, channel, callback)
| Add a listener for Postgres notifications.
|
| :param str channel: Channel to listen on.
|
| :param callable callback:
| A callable or a coroutine function receiving the following
| arguments:
| **connection**: a Connection the callback is registered with;
| **pid**: PID of the Postgres server that sent the notification;
| **channel**: name of the channel the notification was sent to;
| **payload**: the payload.
|
| .. versionchanged:: 0.24.0
| The ``callback`` argument may be a coroutine function.
|
| add_log_listener(self, callback)
| Add a listener for Postgres log messages.
|
| It will be called when asyncronous NoticeResponse is received
| from the connection. Possible message types are: WARNING, NOTICE,
| DEBUG, INFO, or LOG.
|
| :param callable callback:
| A callable or a coroutine function receiving the following
| arguments:
| **connection**: a Connection the callback is registered with;
| **message**: the `exceptions.PostgresLogMessage` message.
|
| .. versionadded:: 0.12.0
|
| .. versionchanged:: 0.24.0
| The ``callback`` argument may be a coroutine function.
|
| add_query_logger(self, callback)
| Add a logger that will be called when queries are executed.
|
| :param callable callback:
| A callable or a coroutine function receiving one argument:
| **record**, a LoggedQuery containing `query`, `args`, `timeout`,
| `elapsed`, `exception`, `conn_addr`, and `conn_params`.
|
| .. versionadded:: 0.29.0
|
| add_termination_listener(self, callback)
| Add a listener that will be called when the connection is closed.
|
| :param callable callback:
| A callable or a coroutine function receiving one argument:
| **connection**: a Connection the callback is registered with.
|
| .. versionadded:: 0.21.0
|
| .. versionchanged:: 0.24.0
| The ``callback`` argument may be a coroutine function.
|
| async close(self, *, timeout=None)
| Close the connection gracefully.
|
| :param float timeout:
| Optional timeout value in seconds.
|
| .. versionchanged:: 0.14.0
| Added the *timeout* parameter.
|
| async copy_from_query(self, query, *args, output, timeout=None, format=None, oids=None, delimiter=None, null=None, header=None, quote=None, escape=None, force_quote=None, encoding=None)
| Copy the results of a query to a file or file-like object.
|
| :param str query:
| The query to copy the results of.
|
| :param args:
| Query arguments.
|
| :param output:
| A :term:`path-like object <python:path-like object>`,
| or a :term:`file-like object <python:file-like object>`, or
| a :term:`coroutine function <python:coroutine function>`
| that takes a ``bytes`` instance as a sole argument.
|
| :param float timeout:
| Optional timeout value in seconds.
|
| The remaining keyword arguments are ``COPY`` statement options,
| see `COPY statement documentation`_ for details.
|
| :return: The status string of the COPY command.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... result = await con.copy_from_query(
| ... 'SELECT foo, bar FROM mytable WHERE foo > $1', 10,
| ... output='file.csv', format='csv')
| ... print(result)
| ...
| >>> asyncio.run(run())
| 'COPY 10'
|
| .. _`COPY statement documentation`:
| https://www.postgresql.org/docs/current/static/sql-copy.html
|
| .. versionadded:: 0.11.0
|
| async copy_from_table(self, table_name, *, output, columns=None, schema_name=None, timeout=None, format=None, oids=None, delimiter=None, null=None, header=None, quote=None, escape=None, force_quote=None, encoding=None)
| Copy table contents to a file or file-like object.
|
| :param str table_name:
| The name of the table to copy data from.
|
| :param output:
| A :term:`path-like object <python:path-like object>`,
| or a :term:`file-like object <python:file-like object>`, or
| a :term:`coroutine function <python:coroutine function>`
| that takes a ``bytes`` instance as a sole argument.
|
| :param list columns:
| An optional list of column names to copy.
|
| :param str schema_name:
| An optional schema name to qualify the table.
|
| :param float timeout:
| Optional timeout value in seconds.
|
| The remaining keyword arguments are ``COPY`` statement options,
| see `COPY statement documentation`_ for details.
|
| :return: The status string of the COPY command.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... result = await con.copy_from_table(
| ... 'mytable', columns=('foo', 'bar'),
| ... output='file.csv', format='csv')
| ... print(result)
| ...
| >>> asyncio.run(run())
| 'COPY 100'
|
| .. _`COPY statement documentation`:
| https://www.postgresql.org/docs/current/static/sql-copy.html
|
| .. versionadded:: 0.11.0
|
| async copy_records_to_table(self, table_name, *, records, columns=None, schema_name=None, timeout=None, where=None)
| Copy a list of records to the specified table using binary COPY.
|
| :param str table_name:
| The name of the table to copy data to.
|
| :param records:
| An iterable returning row tuples to copy into the table.
| :term:`Asynchronous iterables <python:asynchronous iterable>`
| are also supported.
|
| :param list columns:
| An optional list of column names to copy.
|
| :param str schema_name:
| An optional schema name to qualify the table.
|
| :param str where:
| An optional SQL expression used to filter rows when copying.
|
| .. note::
|
| Usage of this parameter requires support for the
| ``COPY FROM ... WHERE`` syntax, introduced in
| PostgreSQL version 12.
|
|
| :param float timeout:
| Optional timeout value in seconds.
|
| :return: The status string of the COPY command.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... result = await con.copy_records_to_table(
| ... 'mytable', records=[
| ... (1, 'foo', 'bar'),
| ... (2, 'ham', 'spam')])
| ... print(result)
| ...
| >>> asyncio.run(run())
| 'COPY 2'
|
| Asynchronous record iterables are also supported:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... async def record_gen(size):
| ... for i in range(size):
| ... yield (i,)
| ... result = await con.copy_records_to_table(
| ... 'mytable', records=record_gen(100))
| ... print(result)
| ...
| >>> asyncio.run(run())
| 'COPY 100'
|
| .. versionadded:: 0.11.0
|
| .. versionchanged:: 0.24.0
| The ``records`` argument may be an asynchronous iterable.
|
| .. versionadded:: 0.29.0
| Added the *where* parameter.
|
| async copy_to_table(self, table_name, *, source, columns=None, schema_name=None, timeout=None, format=None, oids=None, freeze=None, delimiter=None, null=None, header=None, quote=None, escape=None, force_quote=None, force_not_null=None, force_null=None, encoding=None, where=None)
| Copy data to the specified table.
|
| :param str table_name:
| The name of the table to copy data to.
|
| :param source:
| A :term:`path-like object <python:path-like object>`,
| or a :term:`file-like object <python:file-like object>`, or
| an :term:`asynchronous iterable <python:asynchronous iterable>`
| that returns ``bytes``, or an object supporting the
| :ref:`buffer protocol <python:bufferobjects>`.
|
| :param list columns:
| An optional list of column names to copy.
|
| :param str schema_name:
| An optional schema name to qualify the table.
|
| :param str where:
| An optional SQL expression used to filter rows when copying.
|
| .. note::
|
| Usage of this parameter requires support for the
| ``COPY FROM ... WHERE`` syntax, introduced in
| PostgreSQL version 12.
|
| :param float timeout:
| Optional timeout value in seconds.
|
| The remaining keyword arguments are ``COPY`` statement options,
| see `COPY statement documentation`_ for details.
|
| :return: The status string of the COPY command.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... result = await con.copy_to_table(
| ... 'mytable', source='datafile.tbl')
| ... print(result)
| ...
| >>> asyncio.run(run())
| 'COPY 140000'
|
| .. _`COPY statement documentation`:
| https://www.postgresql.org/docs/current/static/sql-copy.html
|
| .. versionadded:: 0.11.0
|
| .. versionadded:: 0.29.0
| Added the *where* parameter.
|
| cursor(self, query, *args, prefetch=None, timeout=None, record_class=None)
| Return a *cursor factory* for the specified query.
|
| :param args:
| Query arguments.
| :param int prefetch:
| The number of rows the *cursor iterator*
| will prefetch (defaults to ``50``.)
| :param float timeout:
| Optional timeout in seconds.
| :param type record_class:
| If specified, the class to use for records returned by this cursor.
| Must be a subclass of :class:`~asyncpg.Record`. If not specified,
| a per-connection *record_class* is used.
|
| :return:
| A :class:`~cursor.CursorFactory` object.
|
| .. versionchanged:: 0.22.0
| Added the *record_class* parameter.
|
| async execute(self, query: str, *args, timeout: Optional[float] = None) -> str
| Execute an SQL command (or commands).
|
| This method can execute many SQL commands at once, when no arguments
| are provided.
|
| Example:
|
| .. code-block:: pycon
|
| >>> await con.execute('''
| ... CREATE TABLE mytab (a int);
| ... INSERT INTO mytab (a) VALUES (100), (200), (300);
| ... ''')
| INSERT 0 3
|
| >>> await con.execute('''
| ... INSERT INTO mytab (a) VALUES ($1), ($2)
| ... ''', 10, 20)
| INSERT 0 2
|
| :param args: Query arguments.
| :param float timeout: Optional timeout value in seconds.
| :return str: Status of the last SQL command.
|
| .. versionchanged:: 0.5.4
| Made it possible to pass query arguments.
|
| async executemany(self, command: str, args, *, timeout: Optional[float] = None)
| Execute an SQL *command* for each sequence of arguments in *args*.
|
| Example:
|
| .. code-block:: pycon
|
| >>> await con.executemany('''
| ... INSERT INTO mytab (a) VALUES ($1, $2, $3);
| ... ''', [(1, 2, 3), (4, 5, 6)])
|
| :param command: Command to execute.
| :param args: An iterable containing sequences of arguments.
| :param float timeout: Optional timeout value in seconds.
| :return None: This method discards the results of the operations.
|
| .. versionadded:: 0.7.0
|
| .. versionchanged:: 0.11.0
| `timeout` became a keyword-only parameter.
|
| .. versionchanged:: 0.22.0
| ``executemany()`` is now an atomic operation, which means that
| either all executions succeed, or none at all. This is in contrast
| to prior versions, where the effect of already-processed iterations
| would remain in place when an error has occurred, unless
| ``executemany()`` was called in a transaction.
|
| async fetch(self, query, *args, timeout=None, record_class=None) -> list
| Run a query and return the results as a list of :class:`Record`.
|
| :param str query:
| Query text.
| :param args:
| Query arguments.
| :param float timeout:
| Optional timeout value in seconds.
| :param type record_class:
| If specified, the class to use for records returned by this method.
| Must be a subclass of :class:`~asyncpg.Record`. If not specified,
| a per-connection *record_class* is used.
|
| :return list:
| A list of :class:`~asyncpg.Record` instances. If specified, the
| actual type of list elements would be *record_class*.
|
| .. versionchanged:: 0.22.0
| Added the *record_class* parameter.
|
| async fetchmany(self, query, args, *, timeout: Optional[float] = None, record_class=None)
| Run a query for each sequence of arguments in *args*
| and return the results as a list of :class:`Record`.
|
| :param query:
| Query to execute.
| :param args:
| An iterable containing sequences of arguments for the query.
| :param float timeout:
| Optional timeout value in seconds.
| :param type record_class:
| If specified, the class to use for records returned by this method.
| Must be a subclass of :class:`~asyncpg.Record`. If not specified,
| a per-connection *record_class* is used.
|
| :return list:
| A list of :class:`~asyncpg.Record` instances. If specified, the
| actual type of list elements would be *record_class*.
|
| Example:
|
| .. code-block:: pycon
|
| >>> rows = await con.fetchmany('''
| ... INSERT INTO mytab (a, b) VALUES ($1, $2) RETURNING a;
| ... ''', [('x', 1), ('y', 2), ('z', 3)])
| >>> rows
| [<Record row=('x',)>, <Record row=('y',)>, <Record row=('z',)>]
|
| .. versionadded:: 0.30.0
|
| async fetchrow(self, query, *args, timeout=None, record_class=None)
| Run a query and return the first row.
|
| :param str query:
| Query text
| :param args:
| Query arguments
| :param float timeout:
| Optional timeout value in seconds.
| :param type record_class:
| If specified, the class to use for the value returned by this
| method. Must be a subclass of :class:`~asyncpg.Record`.
| If not specified, a per-connection *record_class* is used.
|
| :return:
| The first row as a :class:`~asyncpg.Record` instance, or None if
| no records were returned by the query. If specified,
| *record_class* is used as the type for the result value.
|
| .. versionchanged:: 0.22.0
| Added the *record_class* parameter.
|
| async fetchval(self, query, *args, column=0, timeout=None)
| Run a query and return a value in the first row.
|
| :param str query: Query text.
| :param args: Query arguments.
| :param int column: Numeric index within the record of the value to
| return (defaults to 0).
| :param float timeout: Optional timeout value in seconds.
| If not specified, defaults to the value of
| ``command_timeout`` argument to the ``Connection``
| instance constructor.
|
| :return: The value of the specified column of the first record, or
| None if no records were returned by the query.
|
| get_reset_query(self)
| Return the query sent to server on connection release.
|
| The query returned by this method is used by :meth:`Connection.reset`,
| which is, in turn, used by :class:`~asyncpg.pool.Pool` before making
| the connection available to another acquirer.
|
| .. versionadded:: 0.30.0
|
| get_server_pid(self)
| Return the PID of the Postgres server the connection is bound to.
|
| get_server_version(self)
| Return the version of the connected PostgreSQL server.
|
| The returned value is a named tuple similar to that in
| ``sys.version_info``:
|
| .. code-block:: pycon
|
| >>> con.get_server_version()
| ServerVersion(major=9, minor=6, micro=1,
| releaselevel='final', serial=0)
|
| .. versionadded:: 0.8.0
|
| get_settings(self)
| Return connection settings.
|
| :return: :class:`~asyncpg.ConnectionSettings`.
|
| is_closed(self)
| Return ``True`` if the connection is closed, ``False`` otherwise.
|
| :return bool: ``True`` if the connection is closed, ``False``
| otherwise.
|
| is_in_transaction(self)
| Return True if Connection is currently inside a transaction.
|
| :return bool: True if inside transaction, False otherwise.
|
| .. versionadded:: 0.16.0
|
| async prepare(self, query, *, name=None, timeout=None, record_class=None)
| Create a *prepared statement* for the specified query.
|
| :param str query:
| Text of the query to create a prepared statement for.
| :param str name:
| Optional name of the returned prepared statement. If not
| specified, the name is auto-generated.
| :param float timeout:
| Optional timeout value in seconds.
| :param type record_class:
| If specified, the class to use for records returned by the
| prepared statement. Must be a subclass of
| :class:`~asyncpg.Record`. If not specified, a per-connection
| *record_class* is used.
|
| :return:
| A :class:`~prepared_stmt.PreparedStatement` instance.
|
| .. versionchanged:: 0.22.0
| Added the *record_class* parameter.
|
| .. versionchanged:: 0.25.0
| Added the *name* parameter.
|
| query_logger(self, callback)
| Context manager that adds `callback` to the list of query loggers,
| and removes it upon exit.
|
| :param callable callback:
| A callable or a coroutine function receiving one argument:
| **record**, a LoggedQuery containing `query`, `args`, `timeout`,
| `elapsed`, `exception`, `conn_addr`, and `conn_params`.
|
| Example:
|
| .. code-block:: pycon
|
| >>> class QuerySaver:
| def __init__(self):
| self.queries = []
| def __call__(self, record):
| self.queries.append(record.query)
| >>> with con.query_logger(QuerySaver()):
| >>> await con.execute("SELECT 1")
| >>> print(log.queries)
| ['SELECT 1']
|
| .. versionadded:: 0.29.0
|
| async reload_schema_state(self)
| Indicate that the database schema information must be reloaded.
|
| For performance reasons, asyncpg caches certain aspects of the
| database schema, such as the layout of composite types. Consequently,
| when the database schema changes, and asyncpg is not able to
| gracefully recover from an error caused by outdated schema
| assumptions, an :exc:`~asyncpg.exceptions.OutdatedSchemaCacheError`
| is raised. To prevent the exception, this method may be used to inform
| asyncpg that the database schema has changed.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def change_type(con):
| ... result = await con.fetch('SELECT id, info FROM tbl')
| ... # Change composite's attribute type "int"=>"text"
| ... await con.execute('ALTER TYPE custom DROP ATTRIBUTE y')
| ... await con.execute('ALTER TYPE custom ADD ATTRIBUTE y text')
| ... await con.reload_schema_state()
| ... for id_, info in result:
| ... new = (info['x'], str(info['y']))
| ... await con.execute(
| ... 'UPDATE tbl SET info=$2 WHERE id=$1', id_, new)
| ...
| >>> async def run():
| ... # Initial schema:
| ... # CREATE TYPE custom AS (x int, y int);
| ... # CREATE TABLE tbl(id int, info custom);
| ... con = await asyncpg.connect(user='postgres')
| ... async with con.transaction():
| ... # Prevent concurrent changes in the table
| ... await con.execute('LOCK TABLE tbl')
| ... await change_type(con)
| ...
| >>> asyncio.run(run())
|
| .. versionadded:: 0.14.0
|
| async remove_listener(self, channel, callback)
| Remove a listening callback on the specified channel.
|
| remove_log_listener(self, callback)
| Remove a listening callback for log messages.
|
| .. versionadded:: 0.12.0
|
| remove_query_logger(self, callback)
| Remove a query logger callback.
|
| :param callable callback:
| The callable or coroutine function that was passed to
| :meth:`Connection.add_query_logger`.
|
| .. versionadded:: 0.29.0
|
| remove_termination_listener(self, callback)
| Remove a listening callback for connection termination.
|
| :param callable callback:
| The callable or coroutine function that was passed to
| :meth:`Connection.add_termination_listener`.
|
| .. versionadded:: 0.21.0
|
| async reset(self, *, timeout=None)
| Reset the connection state.
|
| Calling this will reset the connection session state to a state
| resembling that of a newly obtained connection. Namely, an open
| transaction (if any) is rolled back, open cursors are closed,
| all `LISTEN <https://www.postgresql.org/docs/current/sql-listen.html>`_
| registrations are removed, all session configuration
| variables are reset to their default values, and all advisory locks
| are released.
|
| Note that the above describes the default query returned by
| :meth:`Connection.get_reset_query`. If one overloads the method
| by subclassing ``Connection``, then this method will do whatever
| the overloaded method returns, except open transactions are always
| terminated and any callbacks registered by
| :meth:`Connection.add_listener` or :meth:`Connection.add_log_listener`
| are removed.
|
| :param float timeout:
| A timeout for resetting the connection. If not specified, defaults
| to no timeout.
|
| async reset_type_codec(self, typename, *, schema='public')
| Reset *typename* codec to the default implementation.
|
| :param typename:
| Name of the data type the codec is for.
|
| :param schema:
| Schema name of the data type the codec is for
| (defaults to ``'public'``)
|
| .. versionadded:: 0.12.0
|
| async set_builtin_type_codec(self, typename, *, schema='public', codec_name, format=None)
| Set a builtin codec for the specified scalar data type.
|
| This method has two uses. The first is to register a builtin
| codec for an extension type without a stable OID, such as 'hstore'.
| The second use is to declare that an extension type or a
| user-defined type is wire-compatible with a certain builtin
| data type and should be exchanged as such.
|
| :param typename:
| Name of the data type the codec is for.
|
| :param schema:
| Schema name of the data type the codec is for
| (defaults to ``'public'``).
|
| :param codec_name:
| The name of the builtin codec to use for the type.
| This should be either the name of a known core type
| (such as ``"int"``), or the name of a supported extension
| type. Currently, the only supported extension type is
| ``"pg_contrib.hstore"``.
|
| :param format:
| If *format* is ``None`` (the default), all formats supported
| by the target codec are declared to be supported for *typename*.
| If *format* is ``'text'`` or ``'binary'``, then only the
| specified format is declared to be supported for *typename*.
|
| .. versionchanged:: 0.18.0
| The *codec_name* argument can be the name of any known
| core data type. Added the *format* keyword argument.
|
| async set_type_codec(self, typename, *, schema='public', encoder, decoder, format='text')
| Set an encoder/decoder pair for the specified data type.
|
| :param typename:
| Name of the data type the codec is for.
|
| :param schema:
| Schema name of the data type the codec is for
| (defaults to ``'public'``)
|
| :param format:
| The type of the argument received by the *decoder* callback,
| and the type of the *encoder* callback return value.
|
| If *format* is ``'text'`` (the default), the exchange datum is a
| ``str`` instance containing valid text representation of the
| data type.
|
| If *format* is ``'binary'``, the exchange datum is a ``bytes``
| instance containing valid _binary_ representation of the
| data type.
|
| If *format* is ``'tuple'``, the exchange datum is a type-specific
| ``tuple`` of values. The table below lists supported data
| types and their format for this mode.
|
| +-----------------+---------------------------------------------+
| | Type | Tuple layout |
| +=================+=============================================+
| | ``interval`` | (``months``, ``days``, ``microseconds``) |
| +-----------------+---------------------------------------------+
| | ``date`` | (``date ordinal relative to Jan 1 2000``,) |
| | | ``-2^31`` for negative infinity timestamp |
| | | ``2^31-1`` for positive infinity timestamp. |
| +-----------------+---------------------------------------------+
| | ``timestamp`` | (``microseconds relative to Jan 1 2000``,) |
| | | ``-2^63`` for negative infinity timestamp |
| | | ``2^63-1`` for positive infinity timestamp. |
| +-----------------+---------------------------------------------+
| | ``timestamp | (``microseconds relative to Jan 1 2000 |
| | with time zone``| UTC``,) |
| | | ``-2^63`` for negative infinity timestamp |
| | | ``2^63-1`` for positive infinity timestamp. |
| +-----------------+---------------------------------------------+
| | ``time`` | (``microseconds``,) |
| +-----------------+---------------------------------------------+
| | ``time with | (``microseconds``, |
| | time zone`` | ``time zone offset in seconds``) |
| +-----------------+---------------------------------------------+
| | any composite | Composite value elements |
| | type | |
| +-----------------+---------------------------------------------+
|
| :param encoder:
| Callable accepting a Python object as a single argument and
| returning a value encoded according to *format*.
|
| :param decoder:
| Callable accepting a single argument encoded according to *format*
| and returning a decoded Python object.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> import datetime
| >>> from dateutil.relativedelta import relativedelta
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... def encoder(delta):
| ... ndelta = delta.normalized()
| ... return (ndelta.years * 12 + ndelta.months,
| ... ndelta.days,
| ... ((ndelta.hours * 3600 +
| ... ndelta.minutes * 60 +
| ... ndelta.seconds) * 1000000 +
| ... ndelta.microseconds))
| ... def decoder(tup):
| ... return relativedelta(months=tup[0], days=tup[1],
| ... microseconds=tup[2])
| ... await con.set_type_codec(
| ... 'interval', schema='pg_catalog', encoder=encoder,
| ... decoder=decoder, format='tuple')
| ... result = await con.fetchval(
| ... "SELECT '2 years 3 mons 1 day'::interval")
| ... print(result)
| ... print(datetime.datetime(2002, 1, 1) + result)
| ...
| >>> asyncio.run(run())
| relativedelta(years=+2, months=+3, days=+1)
| 2004-04-02 00:00:00
|
| .. versionadded:: 0.12.0
| Added the ``format`` keyword argument and support for 'tuple'
| format.
|
| .. versionchanged:: 0.12.0
| The ``binary`` keyword argument is deprecated in favor of
| ``format``.
|
| .. versionchanged:: 0.13.0
| The ``binary`` keyword argument was removed in favor of
| ``format``.
|
| .. versionchanged:: 0.29.0
| Custom codecs for composite types are now supported with
| ``format='tuple'``.
|
| .. note::
|
| It is recommended to use the ``'binary'`` or ``'tuple'`` *format*
| whenever possible and if the underlying type supports it. Asyncpg
| currently does not support text I/O for composite and range types,
| and some other functionality, such as
| :meth:`Connection.copy_to_table`, does not support types with text
| codecs.
|
| terminate(self)
| Terminate the connection without waiting for pending data.
|
| transaction(self, *, isolation=None, readonly=False, deferrable=False)
| Create a :class:`~transaction.Transaction` object.
|
| Refer to `PostgreSQL documentation`_ on the meaning of transaction
| parameters.
|
| :param isolation: Transaction isolation mode, can be one of:
| `'serializable'`, `'repeatable_read'`,
| `'read_uncommitted'`, `'read_committed'`. If not
| specified, the behavior is up to the server and
| session, which is usually ``read_committed``.
|
| :param readonly: Specifies whether or not this transaction is
| read-only.
|
| :param deferrable: Specifies whether or not this transaction is
| deferrable.
|
| .. _`PostgreSQL documentation`:
| https://www.postgresql.org/docs/
| current/static/sql-set-transaction.html
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __weakref__
| list of weak references to the object
asyncpg.ConnectionDoesNotExistError
Python Library Documentation: class ConnectionDoesNotExistError in module asyncpg.exceptions class ConnectionDoesNotExistError(PostgresConnectionError) | Method resolution order: | ConnectionDoesNotExistError | PostgresConnectionError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '08003' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ConnectionFailureError
Python Library Documentation: class ConnectionFailureError in module asyncpg.exceptions class ConnectionFailureError(PostgresConnectionError) | Method resolution order: | ConnectionFailureError | PostgresConnectionError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '08006' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ConnectionRejectionError
Python Library Documentation: class ConnectionRejectionError in module asyncpg.exceptions class ConnectionRejectionError(PostgresConnectionError) | Method resolution order: | ConnectionRejectionError | PostgresConnectionError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '08004' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ContainingSQLNotPermittedError
Python Library Documentation: class ContainingSQLNotPermittedError in module asyncpg.exceptions class ContainingSQLNotPermittedError(ExternalRoutineError) | Method resolution order: | ContainingSQLNotPermittedError | ExternalRoutineError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '38001' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.CrashShutdownError
Python Library Documentation: class CrashShutdownError in module asyncpg.exceptions class CrashShutdownError(OperatorInterventionError) | Method resolution order: | CrashShutdownError | OperatorInterventionError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '57P02' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DataCorruptedError
Python Library Documentation: class DataCorruptedError in module asyncpg.exceptions class DataCorruptedError(InternalServerError) | Method resolution order: | DataCorruptedError | InternalServerError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'XX001' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DataError
Python Library Documentation: class DataError in module asyncpg.exceptions class DataError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DatabaseDroppedError
Python Library Documentation: class DatabaseDroppedError in module asyncpg.exceptions class DatabaseDroppedError(OperatorInterventionError) | Method resolution order: | DatabaseDroppedError | OperatorInterventionError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '57P04' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DatatypeMismatchError
Python Library Documentation: class DatatypeMismatchError in module asyncpg.exceptions class DatatypeMismatchError(SyntaxOrAccessError) | Method resolution order: | DatatypeMismatchError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42804' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DatetimeFieldOverflowError
Python Library Documentation: class DatetimeFieldOverflowError in module asyncpg.exceptions class DatetimeFieldOverflowError(DataError) | Method resolution order: | DatetimeFieldOverflowError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22008' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DeadlockDetectedError
Python Library Documentation: class DeadlockDetectedError in module asyncpg.exceptions class DeadlockDetectedError(TransactionRollbackError) | Method resolution order: | DeadlockDetectedError | TransactionRollbackError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '40P01' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DependentObjectsStillExistError
Python Library Documentation: class DependentObjectsStillExistError in module asyncpg.exceptions class DependentObjectsStillExistError(DependentPrivilegeDescriptorsStillExistError) | Method resolution order: | DependentObjectsStillExistError | DependentPrivilegeDescriptorsStillExistError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2BP01' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DependentPrivilegeDescriptorsStillExistError
Python Library Documentation: class DependentPrivilegeDescriptorsStillExistError in module asyncpg.exceptions class DependentPrivilegeDescriptorsStillExistError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | DependentPrivilegeDescriptorsStillExistError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2B000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DeprecatedFeature
Python Library Documentation: class DeprecatedFeature in module asyncpg.exceptions class DeprecatedFeature(PostgresWarning) | Method resolution order: | DeprecatedFeature | PostgresWarning | asyncpg.exceptions._base.PostgresLogMessage | asyncpg.exceptions._base.PostgresMessage | builtins.Warning | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '01P01' | | ---------------------------------------------------------------------- | Data descriptors inherited from PostgresWarning: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | __setattr__(self, name, val) | Implement setattr(self, name, value). | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Warning: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Warning: | | __new__(*args, **kwargs) class method of builtins.Warning | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DiagnosticsError
Python Library Documentation: class DiagnosticsError in module asyncpg.exceptions class DiagnosticsError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | DiagnosticsError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '0Z000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DiskFullError
Python Library Documentation: class DiskFullError in module asyncpg.exceptions class DiskFullError(InsufficientResourcesError) | Method resolution order: | DiskFullError | InsufficientResourcesError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '53100' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DivisionByZeroError
Python Library Documentation: class DivisionByZeroError in module asyncpg.exceptions class DivisionByZeroError(DataError) | Method resolution order: | DivisionByZeroError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22012' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DuplicateAliasError
Python Library Documentation: class DuplicateAliasError in module asyncpg.exceptions class DuplicateAliasError(SyntaxOrAccessError) | Method resolution order: | DuplicateAliasError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42712' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DuplicateColumnError
Python Library Documentation: class DuplicateColumnError in module asyncpg.exceptions class DuplicateColumnError(SyntaxOrAccessError) | Method resolution order: | DuplicateColumnError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42701' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DuplicateCursorError
Python Library Documentation: class DuplicateCursorError in module asyncpg.exceptions class DuplicateCursorError(SyntaxOrAccessError) | Method resolution order: | DuplicateCursorError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P03' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DuplicateDatabaseError
Python Library Documentation: class DuplicateDatabaseError in module asyncpg.exceptions class DuplicateDatabaseError(SyntaxOrAccessError) | Method resolution order: | DuplicateDatabaseError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P04' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DuplicateFileError
Python Library Documentation: class DuplicateFileError in module asyncpg.exceptions class DuplicateFileError(PostgresSystemError) | Method resolution order: | DuplicateFileError | PostgresSystemError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '58P02' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DuplicateFunctionError
Python Library Documentation: class DuplicateFunctionError in module asyncpg.exceptions class DuplicateFunctionError(SyntaxOrAccessError) | Method resolution order: | DuplicateFunctionError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42723' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DuplicateJsonObjectKeyValueError
Python Library Documentation: class DuplicateJsonObjectKeyValueError in module asyncpg.exceptions class DuplicateJsonObjectKeyValueError(DataError) | Method resolution order: | DuplicateJsonObjectKeyValueError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22030' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DuplicateObjectError
Python Library Documentation: class DuplicateObjectError in module asyncpg.exceptions class DuplicateObjectError(SyntaxOrAccessError) | Method resolution order: | DuplicateObjectError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42710' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DuplicatePreparedStatementError
Python Library Documentation: class DuplicatePreparedStatementError in module asyncpg.exceptions class DuplicatePreparedStatementError(SyntaxOrAccessError) | Method resolution order: | DuplicatePreparedStatementError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P05' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DuplicateSchemaError
Python Library Documentation: class DuplicateSchemaError in module asyncpg.exceptions class DuplicateSchemaError(SyntaxOrAccessError) | Method resolution order: | DuplicateSchemaError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P06' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DuplicateTableError
Python Library Documentation: class DuplicateTableError in module asyncpg.exceptions class DuplicateTableError(SyntaxOrAccessError) | Method resolution order: | DuplicateTableError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P07' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.DynamicResultSetsReturned
Python Library Documentation: class DynamicResultSetsReturned in module asyncpg.exceptions class DynamicResultSetsReturned(PostgresWarning) | Method resolution order: | DynamicResultSetsReturned | PostgresWarning | asyncpg.exceptions._base.PostgresLogMessage | asyncpg.exceptions._base.PostgresMessage | builtins.Warning | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '0100C' | | ---------------------------------------------------------------------- | Data descriptors inherited from PostgresWarning: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | __setattr__(self, name, val) | Implement setattr(self, name, value). | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Warning: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Warning: | | __new__(*args, **kwargs) class method of builtins.Warning | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ErrorInAssignmentError
Python Library Documentation: class ErrorInAssignmentError in module asyncpg.exceptions class ErrorInAssignmentError(DataError) | Method resolution order: | ErrorInAssignmentError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22005' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.EscapeCharacterConflictError
Python Library Documentation: class EscapeCharacterConflictError in module asyncpg.exceptions class EscapeCharacterConflictError(DataError) | Method resolution order: | EscapeCharacterConflictError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2200B' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.EventTriggerProtocolViolatedError
Python Library Documentation: class EventTriggerProtocolViolatedError in module asyncpg.exceptions class EventTriggerProtocolViolatedError(ExternalRoutineInvocationError) | Method resolution order: | EventTriggerProtocolViolatedError | ExternalRoutineInvocationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '39P03' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ExclusionViolationError
Python Library Documentation: class ExclusionViolationError in module asyncpg.exceptions class ExclusionViolationError(IntegrityConstraintViolationError) | Method resolution order: | ExclusionViolationError | IntegrityConstraintViolationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '23P01' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ExternalRoutineError
Python Library Documentation: class ExternalRoutineError in module asyncpg.exceptions class ExternalRoutineError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | ExternalRoutineError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '38000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ExternalRoutineInvocationError
Python Library Documentation: class ExternalRoutineInvocationError in module asyncpg.exceptions class ExternalRoutineInvocationError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | ExternalRoutineInvocationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '39000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWColumnNameNotFoundError
Python Library Documentation: class FDWColumnNameNotFoundError in module asyncpg.exceptions class FDWColumnNameNotFoundError(FDWError) | Method resolution order: | FDWColumnNameNotFoundError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV005' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWDynamicParameterValueNeededError
Python Library Documentation: class FDWDynamicParameterValueNeededError in module asyncpg.exceptions class FDWDynamicParameterValueNeededError(FDWError) | Method resolution order: | FDWDynamicParameterValueNeededError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV002' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWError
Python Library Documentation: class FDWError in module asyncpg.exceptions class FDWError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWFunctionSequenceError
Python Library Documentation: class FDWFunctionSequenceError in module asyncpg.exceptions class FDWFunctionSequenceError(FDWError) | Method resolution order: | FDWFunctionSequenceError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV010' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWInconsistentDescriptorInformationError
Python Library Documentation: class FDWInconsistentDescriptorInformationError in module asyncpg.exceptions class FDWInconsistentDescriptorInformationError(FDWError) | Method resolution order: | FDWInconsistentDescriptorInformationError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV021' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWInvalidAttributeValueError
Python Library Documentation: class FDWInvalidAttributeValueError in module asyncpg.exceptions class FDWInvalidAttributeValueError(FDWError) | Method resolution order: | FDWInvalidAttributeValueError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV024' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWInvalidColumnNameError
Python Library Documentation: class FDWInvalidColumnNameError in module asyncpg.exceptions class FDWInvalidColumnNameError(FDWError) | Method resolution order: | FDWInvalidColumnNameError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV007' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWInvalidColumnNumberError
Python Library Documentation: class FDWInvalidColumnNumberError in module asyncpg.exceptions class FDWInvalidColumnNumberError(FDWError) | Method resolution order: | FDWInvalidColumnNumberError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV008' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWInvalidDataTypeDescriptorsError
Python Library Documentation: class FDWInvalidDataTypeDescriptorsError in module asyncpg.exceptions class FDWInvalidDataTypeDescriptorsError(FDWError) | Method resolution order: | FDWInvalidDataTypeDescriptorsError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV006' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWInvalidDataTypeError
Python Library Documentation: class FDWInvalidDataTypeError in module asyncpg.exceptions class FDWInvalidDataTypeError(FDWError) | Method resolution order: | FDWInvalidDataTypeError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV004' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWInvalidDescriptorFieldIdentifierError
Python Library Documentation: class FDWInvalidDescriptorFieldIdentifierError in module asyncpg.exceptions class FDWInvalidDescriptorFieldIdentifierError(FDWError) | Method resolution order: | FDWInvalidDescriptorFieldIdentifierError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV091' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWInvalidHandleError
Python Library Documentation: class FDWInvalidHandleError in module asyncpg.exceptions class FDWInvalidHandleError(FDWError) | Method resolution order: | FDWInvalidHandleError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV00B' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWInvalidOptionIndexError
Python Library Documentation: class FDWInvalidOptionIndexError in module asyncpg.exceptions class FDWInvalidOptionIndexError(FDWError) | Method resolution order: | FDWInvalidOptionIndexError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV00C' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWInvalidOptionNameError
Python Library Documentation: class FDWInvalidOptionNameError in module asyncpg.exceptions class FDWInvalidOptionNameError(FDWError) | Method resolution order: | FDWInvalidOptionNameError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV00D' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWInvalidStringFormatError
Python Library Documentation: class FDWInvalidStringFormatError in module asyncpg.exceptions class FDWInvalidStringFormatError(FDWError) | Method resolution order: | FDWInvalidStringFormatError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV00A' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWInvalidStringLengthOrBufferLengthError
Python Library Documentation: class FDWInvalidStringLengthOrBufferLengthError in module asyncpg.exceptions class FDWInvalidStringLengthOrBufferLengthError(FDWError) | Method resolution order: | FDWInvalidStringLengthOrBufferLengthError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV090' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWInvalidUseOfNullPointerError
Python Library Documentation: class FDWInvalidUseOfNullPointerError in module asyncpg.exceptions class FDWInvalidUseOfNullPointerError(FDWError) | Method resolution order: | FDWInvalidUseOfNullPointerError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV009' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWNoSchemasError
Python Library Documentation: class FDWNoSchemasError in module asyncpg.exceptions class FDWNoSchemasError(FDWError) | Method resolution order: | FDWNoSchemasError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV00P' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWOptionNameNotFoundError
Python Library Documentation: class FDWOptionNameNotFoundError in module asyncpg.exceptions class FDWOptionNameNotFoundError(FDWError) | Method resolution order: | FDWOptionNameNotFoundError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV00J' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWOutOfMemoryError
Python Library Documentation: class FDWOutOfMemoryError in module asyncpg.exceptions class FDWOutOfMemoryError(FDWError) | Method resolution order: | FDWOutOfMemoryError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV001' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWReplyHandleError
Python Library Documentation: class FDWReplyHandleError in module asyncpg.exceptions class FDWReplyHandleError(FDWError) | Method resolution order: | FDWReplyHandleError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV00K' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWSchemaNotFoundError
Python Library Documentation: class FDWSchemaNotFoundError in module asyncpg.exceptions class FDWSchemaNotFoundError(FDWError) | Method resolution order: | FDWSchemaNotFoundError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV00Q' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWTableNotFoundError
Python Library Documentation: class FDWTableNotFoundError in module asyncpg.exceptions class FDWTableNotFoundError(FDWError) | Method resolution order: | FDWTableNotFoundError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV00R' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWTooManyHandlesError
Python Library Documentation: class FDWTooManyHandlesError in module asyncpg.exceptions class FDWTooManyHandlesError(FDWError) | Method resolution order: | FDWTooManyHandlesError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV014' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWUnableToCreateExecutionError
Python Library Documentation: class FDWUnableToCreateExecutionError in module asyncpg.exceptions class FDWUnableToCreateExecutionError(FDWError) | Method resolution order: | FDWUnableToCreateExecutionError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV00L' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWUnableToCreateReplyError
Python Library Documentation: class FDWUnableToCreateReplyError in module asyncpg.exceptions class FDWUnableToCreateReplyError(FDWError) | Method resolution order: | FDWUnableToCreateReplyError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV00M' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FDWUnableToEstablishConnectionError
Python Library Documentation: class FDWUnableToEstablishConnectionError in module asyncpg.exceptions class FDWUnableToEstablishConnectionError(FDWError) | Method resolution order: | FDWUnableToEstablishConnectionError | FDWError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'HV00N' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FatalPostgresError
Python Library Documentation: class FatalPostgresError in module asyncpg.exceptions._base class FatalPostgresError(PostgresError) | A fatal error that should result in server disconnection. | | Method resolution order: | FatalPostgresError | PostgresError | PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Methods inherited from PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | sqlstate = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FeatureNotSupportedError
Python Library Documentation: class FeatureNotSupportedError in module asyncpg.exceptions class FeatureNotSupportedError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | FeatureNotSupportedError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '0A000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FileNameTooLongError
Python Library Documentation: class FileNameTooLongError in module asyncpg.exceptions class FileNameTooLongError(PostgresSystemError) | Method resolution order: | FileNameTooLongError | PostgresSystemError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '58P03' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ForeignKeyViolationError
Python Library Documentation: class ForeignKeyViolationError in module asyncpg.exceptions class ForeignKeyViolationError(IntegrityConstraintViolationError) | Method resolution order: | ForeignKeyViolationError | IntegrityConstraintViolationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '23503' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.FunctionExecutedNoReturnStatementError
Python Library Documentation: class FunctionExecutedNoReturnStatementError in module asyncpg.exceptions class FunctionExecutedNoReturnStatementError(SQLRoutineError) | Method resolution order: | FunctionExecutedNoReturnStatementError | SQLRoutineError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2F005' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.GeneratedAlwaysError
Python Library Documentation: class GeneratedAlwaysError in module asyncpg.exceptions class GeneratedAlwaysError(SyntaxOrAccessError) | Method resolution order: | GeneratedAlwaysError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '428C9' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.GroupingError
Python Library Documentation: class GroupingError in module asyncpg.exceptions class GroupingError(SyntaxOrAccessError) | Method resolution order: | GroupingError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42803' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.HeldCursorRequiresSameIsolationLevelError
Python Library Documentation: class HeldCursorRequiresSameIsolationLevelError in module asyncpg.exceptions class HeldCursorRequiresSameIsolationLevelError(InvalidTransactionStateError) | Method resolution order: | HeldCursorRequiresSameIsolationLevelError | InvalidTransactionStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '25008' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.IdleInTransactionSessionTimeoutError
Python Library Documentation: class IdleInTransactionSessionTimeoutError in module asyncpg.exceptions class IdleInTransactionSessionTimeoutError(InvalidTransactionStateError) | Method resolution order: | IdleInTransactionSessionTimeoutError | InvalidTransactionStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '25P03' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.IdleSessionTimeoutError
Python Library Documentation: class IdleSessionTimeoutError in module asyncpg.exceptions class IdleSessionTimeoutError(OperatorInterventionError) | Method resolution order: | IdleSessionTimeoutError | OperatorInterventionError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '57P05' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ImplicitZeroBitPadding
Python Library Documentation: class ImplicitZeroBitPadding in module asyncpg.exceptions class ImplicitZeroBitPadding(PostgresWarning) | Method resolution order: | ImplicitZeroBitPadding | PostgresWarning | asyncpg.exceptions._base.PostgresLogMessage | asyncpg.exceptions._base.PostgresMessage | builtins.Warning | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '01008' | | ---------------------------------------------------------------------- | Data descriptors inherited from PostgresWarning: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | __setattr__(self, name, val) | Implement setattr(self, name, value). | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Warning: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Warning: | | __new__(*args, **kwargs) class method of builtins.Warning | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InFailedSQLTransactionError
Python Library Documentation: class InFailedSQLTransactionError in module asyncpg.exceptions class InFailedSQLTransactionError(InvalidTransactionStateError) | Method resolution order: | InFailedSQLTransactionError | InvalidTransactionStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '25P02' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InappropriateAccessModeForBranchTransactionError
Python Library Documentation: class InappropriateAccessModeForBranchTransactionError in module asyncpg.exceptions class InappropriateAccessModeForBranchTransactionError(InvalidTransactionStateError) | Method resolution order: | InappropriateAccessModeForBranchTransactionError | InvalidTransactionStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '25003' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InappropriateIsolationLevelForBranchTransactionError
Python Library Documentation: class InappropriateIsolationLevelForBranchTransactionError in module asyncpg.exceptions class InappropriateIsolationLevelForBranchTransactionError(InvalidTransactionStateError) | Method resolution order: | InappropriateIsolationLevelForBranchTransactionError | InvalidTransactionStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '25004' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.IndeterminateCollationError
Python Library Documentation: class IndeterminateCollationError in module asyncpg.exceptions class IndeterminateCollationError(SyntaxOrAccessError) | Method resolution order: | IndeterminateCollationError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P22' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.IndeterminateDatatypeError
Python Library Documentation: class IndeterminateDatatypeError in module asyncpg.exceptions class IndeterminateDatatypeError(SyntaxOrAccessError) | Method resolution order: | IndeterminateDatatypeError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P18' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.IndexCorruptedError
Python Library Documentation: class IndexCorruptedError in module asyncpg.exceptions class IndexCorruptedError(InternalServerError) | Method resolution order: | IndexCorruptedError | InternalServerError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'XX002' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.IndicatorOverflowError
Python Library Documentation: class IndicatorOverflowError in module asyncpg.exceptions class IndicatorOverflowError(DataError) | Method resolution order: | IndicatorOverflowError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22022' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InsufficientPrivilegeError
Python Library Documentation: class InsufficientPrivilegeError in module asyncpg.exceptions class InsufficientPrivilegeError(SyntaxOrAccessError) | Method resolution order: | InsufficientPrivilegeError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42501' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InsufficientResourcesError
Python Library Documentation: class InsufficientResourcesError in module asyncpg.exceptions class InsufficientResourcesError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | InsufficientResourcesError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '53000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.IntegrityConstraintViolationError
Python Library Documentation: class IntegrityConstraintViolationError in module asyncpg.exceptions class IntegrityConstraintViolationError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | IntegrityConstraintViolationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '23000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InterfaceError
Python Library Documentation: class InterfaceError in module asyncpg.exceptions._base class InterfaceError(InterfaceMessage, builtins.Exception) | InterfaceError(msg, *, detail=None, hint=None) | | An error caused by improper use of asyncpg API. | | Method resolution order: | InterfaceError | InterfaceMessage | builtins.Exception | builtins.BaseException | builtins.object | | Methods defined here: | | __init__(self, msg, *, detail=None, hint=None) | Initialize self. See help(type(self)) for accurate signature. | | with_msg(self, msg) | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from InterfaceMessage: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Data descriptors inherited from InterfaceMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InterfaceWarning
Python Library Documentation: class InterfaceWarning in module asyncpg.exceptions._base class InterfaceWarning(InterfaceMessage, builtins.UserWarning) | InterfaceWarning(msg, *, detail=None, hint=None) | | A warning caused by an improper use of asyncpg API. | | Method resolution order: | InterfaceWarning | InterfaceMessage | builtins.UserWarning | builtins.Warning | builtins.Exception | builtins.BaseException | builtins.object | | Methods defined here: | | __init__(self, msg, *, detail=None, hint=None) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from InterfaceMessage: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Data descriptors inherited from InterfaceMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Static methods inherited from builtins.UserWarning: | | __new__(*args, **kwargs) class method of builtins.UserWarning | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InternalClientError
Python Library Documentation: class InternalClientError in module asyncpg.exceptions._base class InternalClientError(builtins.Exception) | All unexpected errors not classified otherwise. | | Method resolution order: | InternalClientError | builtins.Exception | builtins.BaseException | builtins.object | | Data descriptors defined here: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | __str__(self, /) | Return str(self). | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __dict__ | | __suppress_context__ | | __traceback__ | | args
asyncpg.InternalServerError
Python Library Documentation: class InternalServerError in module asyncpg.exceptions class InternalServerError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | InternalServerError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'XX000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.IntervalFieldOverflowError
Python Library Documentation: class IntervalFieldOverflowError in module asyncpg.exceptions class IntervalFieldOverflowError(DataError) | Method resolution order: | IntervalFieldOverflowError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22015' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidArgumentForLogarithmError
Python Library Documentation: class InvalidArgumentForLogarithmError in module asyncpg.exceptions class InvalidArgumentForLogarithmError(DataError) | Method resolution order: | InvalidArgumentForLogarithmError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2201E' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidArgumentForNthValueFunctionError
Python Library Documentation: class InvalidArgumentForNthValueFunctionError in module asyncpg.exceptions class InvalidArgumentForNthValueFunctionError(DataError) | Method resolution order: | InvalidArgumentForNthValueFunctionError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22016' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidArgumentForNtileFunctionError
Python Library Documentation: class InvalidArgumentForNtileFunctionError in module asyncpg.exceptions class InvalidArgumentForNtileFunctionError(DataError) | Method resolution order: | InvalidArgumentForNtileFunctionError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22014' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidArgumentForPowerFunctionError
Python Library Documentation: class InvalidArgumentForPowerFunctionError in module asyncpg.exceptions class InvalidArgumentForPowerFunctionError(DataError) | Method resolution order: | InvalidArgumentForPowerFunctionError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2201F' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidArgumentForSQLJsonDatetimeFunctionError
Python Library Documentation: class InvalidArgumentForSQLJsonDatetimeFunctionError in module asyncpg.exceptions class InvalidArgumentForSQLJsonDatetimeFunctionError(DataError) | Method resolution order: | InvalidArgumentForSQLJsonDatetimeFunctionError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22031' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidArgumentForWidthBucketFunctionError
Python Library Documentation: class InvalidArgumentForWidthBucketFunctionError in module asyncpg.exceptions class InvalidArgumentForWidthBucketFunctionError(DataError) | Method resolution order: | InvalidArgumentForWidthBucketFunctionError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2201G' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidArgumentForXqueryError
Python Library Documentation: class InvalidArgumentForXqueryError in module asyncpg.exceptions class InvalidArgumentForXqueryError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | InvalidArgumentForXqueryError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '10608' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidAuthorizationSpecificationError
Python Library Documentation: class InvalidAuthorizationSpecificationError in module asyncpg.exceptions class InvalidAuthorizationSpecificationError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | InvalidAuthorizationSpecificationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '28000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidBinaryRepresentationError
Python Library Documentation: class InvalidBinaryRepresentationError in module asyncpg.exceptions class InvalidBinaryRepresentationError(DataError) | Method resolution order: | InvalidBinaryRepresentationError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22P03' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidCachedStatementError
Python Library Documentation: class InvalidCachedStatementError in module asyncpg.exceptions class InvalidCachedStatementError(FeatureNotSupportedError) | Method resolution order: | InvalidCachedStatementError | FeatureNotSupportedError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes inherited from FeatureNotSupportedError: | | sqlstate = '0A000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidCatalogNameError
Python Library Documentation: class InvalidCatalogNameError in module asyncpg.exceptions class InvalidCatalogNameError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | InvalidCatalogNameError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '3D000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidCharacterValueForCastError
Python Library Documentation: class InvalidCharacterValueForCastError in module asyncpg.exceptions class InvalidCharacterValueForCastError(DataError) | Method resolution order: | InvalidCharacterValueForCastError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22018' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidColumnDefinitionError
Python Library Documentation: class InvalidColumnDefinitionError in module asyncpg.exceptions class InvalidColumnDefinitionError(SyntaxOrAccessError) | Method resolution order: | InvalidColumnDefinitionError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42611' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidColumnReferenceError
Python Library Documentation: class InvalidColumnReferenceError in module asyncpg.exceptions class InvalidColumnReferenceError(SyntaxOrAccessError) | Method resolution order: | InvalidColumnReferenceError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P10' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidCursorDefinitionError
Python Library Documentation: class InvalidCursorDefinitionError in module asyncpg.exceptions class InvalidCursorDefinitionError(SyntaxOrAccessError) | Method resolution order: | InvalidCursorDefinitionError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P11' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidCursorNameError
Python Library Documentation: class InvalidCursorNameError in module asyncpg.exceptions class InvalidCursorNameError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | InvalidCursorNameError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '34000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidCursorStateError
Python Library Documentation: class InvalidCursorStateError in module asyncpg.exceptions class InvalidCursorStateError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | InvalidCursorStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '24000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidDatabaseDefinitionError
Python Library Documentation: class InvalidDatabaseDefinitionError in module asyncpg.exceptions class InvalidDatabaseDefinitionError(SyntaxOrAccessError) | Method resolution order: | InvalidDatabaseDefinitionError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P12' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidDatetimeFormatError
Python Library Documentation: class InvalidDatetimeFormatError in module asyncpg.exceptions class InvalidDatetimeFormatError(DataError) | Method resolution order: | InvalidDatetimeFormatError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22007' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidEscapeCharacterError
Python Library Documentation: class InvalidEscapeCharacterError in module asyncpg.exceptions class InvalidEscapeCharacterError(DataError) | Method resolution order: | InvalidEscapeCharacterError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22019' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidEscapeOctetError
Python Library Documentation: class InvalidEscapeOctetError in module asyncpg.exceptions class InvalidEscapeOctetError(DataError) | Method resolution order: | InvalidEscapeOctetError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2200D' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidEscapeSequenceError
Python Library Documentation: class InvalidEscapeSequenceError in module asyncpg.exceptions class InvalidEscapeSequenceError(DataError) | Method resolution order: | InvalidEscapeSequenceError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22025' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidForeignKeyError
Python Library Documentation: class InvalidForeignKeyError in module asyncpg.exceptions class InvalidForeignKeyError(SyntaxOrAccessError) | Method resolution order: | InvalidForeignKeyError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42830' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidFunctionDefinitionError
Python Library Documentation: class InvalidFunctionDefinitionError in module asyncpg.exceptions class InvalidFunctionDefinitionError(SyntaxOrAccessError) | Method resolution order: | InvalidFunctionDefinitionError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P13' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidGrantOperationError
Python Library Documentation: class InvalidGrantOperationError in module asyncpg.exceptions class InvalidGrantOperationError(InvalidGrantorError) | Method resolution order: | InvalidGrantOperationError | InvalidGrantorError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '0LP01' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidGrantorError
Python Library Documentation: class InvalidGrantorError in module asyncpg.exceptions class InvalidGrantorError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | InvalidGrantorError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '0L000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidIndicatorParameterValueError
Python Library Documentation: class InvalidIndicatorParameterValueError in module asyncpg.exceptions class InvalidIndicatorParameterValueError(DataError) | Method resolution order: | InvalidIndicatorParameterValueError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22010' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidJsonTextError
Python Library Documentation: class InvalidJsonTextError in module asyncpg.exceptions class InvalidJsonTextError(DataError) | Method resolution order: | InvalidJsonTextError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22032' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidLocatorSpecificationError
Python Library Documentation: class InvalidLocatorSpecificationError in module asyncpg.exceptions class InvalidLocatorSpecificationError(LocatorError) | Method resolution order: | InvalidLocatorSpecificationError | LocatorError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '0F001' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidNameError
Python Library Documentation: class InvalidNameError in module asyncpg.exceptions class InvalidNameError(SyntaxOrAccessError) | Method resolution order: | InvalidNameError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42602' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidObjectDefinitionError
Python Library Documentation: class InvalidObjectDefinitionError in module asyncpg.exceptions class InvalidObjectDefinitionError(SyntaxOrAccessError) | Method resolution order: | InvalidObjectDefinitionError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P17' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidParameterValueError
Python Library Documentation: class InvalidParameterValueError in module asyncpg.exceptions class InvalidParameterValueError(DataError) | Method resolution order: | InvalidParameterValueError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22023' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidPasswordError
Python Library Documentation: class InvalidPasswordError in module asyncpg.exceptions class InvalidPasswordError(InvalidAuthorizationSpecificationError) | Method resolution order: | InvalidPasswordError | InvalidAuthorizationSpecificationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '28P01' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidPrecedingOrFollowingSizeError
Python Library Documentation: class InvalidPrecedingOrFollowingSizeError in module asyncpg.exceptions class InvalidPrecedingOrFollowingSizeError(DataError) | Method resolution order: | InvalidPrecedingOrFollowingSizeError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22013' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidPreparedStatementDefinitionError
Python Library Documentation: class InvalidPreparedStatementDefinitionError in module asyncpg.exceptions class InvalidPreparedStatementDefinitionError(SyntaxOrAccessError) | Method resolution order: | InvalidPreparedStatementDefinitionError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P14' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidRecursionError
Python Library Documentation: class InvalidRecursionError in module asyncpg.exceptions class InvalidRecursionError(SyntaxOrAccessError) | Method resolution order: | InvalidRecursionError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P19' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidRegularExpressionError
Python Library Documentation: class InvalidRegularExpressionError in module asyncpg.exceptions class InvalidRegularExpressionError(DataError) | Method resolution order: | InvalidRegularExpressionError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2201B' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidRoleSpecificationError
Python Library Documentation: class InvalidRoleSpecificationError in module asyncpg.exceptions class InvalidRoleSpecificationError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | InvalidRoleSpecificationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '0P000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidRowCountInLimitClauseError
Python Library Documentation: class InvalidRowCountInLimitClauseError in module asyncpg.exceptions class InvalidRowCountInLimitClauseError(DataError) | Method resolution order: | InvalidRowCountInLimitClauseError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2201W' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidRowCountInResultOffsetClauseError
Python Library Documentation: class InvalidRowCountInResultOffsetClauseError in module asyncpg.exceptions class InvalidRowCountInResultOffsetClauseError(DataError) | Method resolution order: | InvalidRowCountInResultOffsetClauseError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2201X' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidSQLJsonSubscriptError
Python Library Documentation: class InvalidSQLJsonSubscriptError in module asyncpg.exceptions class InvalidSQLJsonSubscriptError(DataError) | Method resolution order: | InvalidSQLJsonSubscriptError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22033' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidSQLStatementNameError
Python Library Documentation: class InvalidSQLStatementNameError in module asyncpg.exceptions class InvalidSQLStatementNameError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | InvalidSQLStatementNameError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '26000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidSavepointSpecificationError
Python Library Documentation: class InvalidSavepointSpecificationError in module asyncpg.exceptions class InvalidSavepointSpecificationError(SavepointError) | Method resolution order: | InvalidSavepointSpecificationError | SavepointError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '3B001' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidSchemaDefinitionError
Python Library Documentation: class InvalidSchemaDefinitionError in module asyncpg.exceptions class InvalidSchemaDefinitionError(SyntaxOrAccessError) | Method resolution order: | InvalidSchemaDefinitionError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P15' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidSchemaNameError
Python Library Documentation: class InvalidSchemaNameError in module asyncpg.exceptions class InvalidSchemaNameError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | InvalidSchemaNameError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '3F000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidSqlstateReturnedError
Python Library Documentation: class InvalidSqlstateReturnedError in module asyncpg.exceptions class InvalidSqlstateReturnedError(ExternalRoutineInvocationError) | Method resolution order: | InvalidSqlstateReturnedError | ExternalRoutineInvocationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '39001' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidTableDefinitionError
Python Library Documentation: class InvalidTableDefinitionError in module asyncpg.exceptions class InvalidTableDefinitionError(SyntaxOrAccessError) | Method resolution order: | InvalidTableDefinitionError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P16' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidTablesampleArgumentError
Python Library Documentation: class InvalidTablesampleArgumentError in module asyncpg.exceptions class InvalidTablesampleArgumentError(DataError) | Method resolution order: | InvalidTablesampleArgumentError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2202H' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidTablesampleRepeatError
Python Library Documentation: class InvalidTablesampleRepeatError in module asyncpg.exceptions class InvalidTablesampleRepeatError(DataError) | Method resolution order: | InvalidTablesampleRepeatError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2202G' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidTextRepresentationError
Python Library Documentation: class InvalidTextRepresentationError in module asyncpg.exceptions class InvalidTextRepresentationError(DataError) | Method resolution order: | InvalidTextRepresentationError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22P02' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidTimeZoneDisplacementValueError
Python Library Documentation: class InvalidTimeZoneDisplacementValueError in module asyncpg.exceptions class InvalidTimeZoneDisplacementValueError(DataError) | Method resolution order: | InvalidTimeZoneDisplacementValueError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22009' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidTransactionInitiationError
Python Library Documentation: class InvalidTransactionInitiationError in module asyncpg.exceptions class InvalidTransactionInitiationError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | InvalidTransactionInitiationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '0B000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidTransactionStateError
Python Library Documentation: class InvalidTransactionStateError in module asyncpg.exceptions class InvalidTransactionStateError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | InvalidTransactionStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '25000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidTransactionTerminationError
Python Library Documentation: class InvalidTransactionTerminationError in module asyncpg.exceptions class InvalidTransactionTerminationError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | InvalidTransactionTerminationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2D000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidUseOfEscapeCharacterError
Python Library Documentation: class InvalidUseOfEscapeCharacterError in module asyncpg.exceptions class InvalidUseOfEscapeCharacterError(DataError) | Method resolution order: | InvalidUseOfEscapeCharacterError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2200C' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidXmlCommentError
Python Library Documentation: class InvalidXmlCommentError in module asyncpg.exceptions class InvalidXmlCommentError(DataError) | Method resolution order: | InvalidXmlCommentError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2200S' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidXmlContentError
Python Library Documentation: class InvalidXmlContentError in module asyncpg.exceptions class InvalidXmlContentError(DataError) | Method resolution order: | InvalidXmlContentError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2200N' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidXmlDocumentError
Python Library Documentation: class InvalidXmlDocumentError in module asyncpg.exceptions class InvalidXmlDocumentError(DataError) | Method resolution order: | InvalidXmlDocumentError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2200M' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.InvalidXmlProcessingInstructionError
Python Library Documentation: class InvalidXmlProcessingInstructionError in module asyncpg.exceptions class InvalidXmlProcessingInstructionError(DataError) | Method resolution order: | InvalidXmlProcessingInstructionError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2200T' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.Line
Python Library Documentation: class Line in module asyncpg.pgproto.types class Line(builtins.tuple, typing.Generic) | Line(A: 'float', B: 'float', C: 'float') -> 'Self' | | Immutable representation of PostgreSQL `line` type. | | Method resolution order: | Line | builtins.tuple | typing.Generic | builtins.object | | Static methods defined here: | | __new__(cls, A: 'float', B: 'float', C: 'float') -> 'Self' | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Readonly properties defined here: | | A | | B | | C | | ---------------------------------------------------------------------- | Data and other attributes defined here: | | __orig_bases__ = (typing.Tuple[float, float, float],) | | __parameters__ = () | | ---------------------------------------------------------------------- | Methods inherited from builtins.tuple: | | __add__(self, value, /) | Return self+value. | | __contains__(self, key, /) | Return bool(key in self). | | __eq__(self, value, /) | Return self==value. | | __ge__(self, value, /) | Return self>=value. | | __getattribute__(self, name, /) | Return getattr(self, name). | | __getitem__(self, key, /) | Return self[key]. | | __getnewargs__(self, /) | | __gt__(self, value, /) | Return self>value. | | __hash__(self, /) | Return hash(self). | | __iter__(self, /) | Implement iter(self). | | __le__(self, value, /) | Return self<=value. | | __len__(self, /) | Return len(self). | | __lt__(self, value, /) | Return self<value. | | __mul__(self, value, /) | Return self*value. | | __ne__(self, value, /) | Return self!=value. | | __repr__(self, /) | Return repr(self). | | __rmul__(self, value, /) | Return value*self. | | count(self, value, /) | Return number of occurrences of value. | | index(self, value, start=0, stop=9223372036854775807, /) | Return first index of value. | | Raises ValueError if the value is not present. | | ---------------------------------------------------------------------- | Class methods inherited from builtins.tuple: | | __class_getitem__(...) | See PEP 585 | | ---------------------------------------------------------------------- | Class methods inherited from typing.Generic: | | __init_subclass__(...) | Function to initialize subclasses.
asyncpg.LineSegment
Python Library Documentation: class LineSegment in module asyncpg.pgproto.types class LineSegment(builtins.tuple, typing.Generic) | LineSegment(p1: 'typing.Sequence[float]', p2: 'typing.Sequence[float]') -> 'Self' | | Immutable representation of PostgreSQL `lseg` type. | | Method resolution order: | LineSegment | builtins.tuple | typing.Generic | builtins.object | | Methods defined here: | | __repr__(self) -> 'str' | Return repr(self). | | ---------------------------------------------------------------------- | Static methods defined here: | | __new__(cls, p1: 'typing.Sequence[float]', p2: 'typing.Sequence[float]') -> 'Self' | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Readonly properties defined here: | | p1 | | p2 | | ---------------------------------------------------------------------- | Data and other attributes defined here: | | __orig_bases__ = (typing.Tuple[asyncpg.pgproto.types.Point, asyncpg.pg... | | __parameters__ = () | | ---------------------------------------------------------------------- | Methods inherited from builtins.tuple: | | __add__(self, value, /) | Return self+value. | | __contains__(self, key, /) | Return bool(key in self). | | __eq__(self, value, /) | Return self==value. | | __ge__(self, value, /) | Return self>=value. | | __getattribute__(self, name, /) | Return getattr(self, name). | | __getitem__(self, key, /) | Return self[key]. | | __getnewargs__(self, /) | | __gt__(self, value, /) | Return self>value. | | __hash__(self, /) | Return hash(self). | | __iter__(self, /) | Implement iter(self). | | __le__(self, value, /) | Return self<=value. | | __len__(self, /) | Return len(self). | | __lt__(self, value, /) | Return self<value. | | __mul__(self, value, /) | Return self*value. | | __ne__(self, value, /) | Return self!=value. | | __rmul__(self, value, /) | Return value*self. | | count(self, value, /) | Return number of occurrences of value. | | index(self, value, start=0, stop=9223372036854775807, /) | Return first index of value. | | Raises ValueError if the value is not present. | | ---------------------------------------------------------------------- | Class methods inherited from builtins.tuple: | | __class_getitem__(...) | See PEP 585 | | ---------------------------------------------------------------------- | Class methods inherited from typing.Generic: | | __init_subclass__(...) | Function to initialize subclasses.
asyncpg.LocatorError
Python Library Documentation: class LocatorError in module asyncpg.exceptions class LocatorError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | LocatorError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '0F000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.LockFileExistsError
Python Library Documentation: class LockFileExistsError in module asyncpg.exceptions class LockFileExistsError(ConfigFileError) | Method resolution order: | LockFileExistsError | ConfigFileError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'F0001' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.LockNotAvailableError
Python Library Documentation: class LockNotAvailableError in module asyncpg.exceptions class LockNotAvailableError(ObjectNotInPrerequisiteStateError) | Method resolution order: | LockNotAvailableError | ObjectNotInPrerequisiteStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '55P03' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ModifyingExternalRoutineSQLDataNotPermittedError
Python Library Documentation: class ModifyingExternalRoutineSQLDataNotPermittedError in module asyncpg.exceptions class ModifyingExternalRoutineSQLDataNotPermittedError(ExternalRoutineError) | Method resolution order: | ModifyingExternalRoutineSQLDataNotPermittedError | ExternalRoutineError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '38002' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ModifyingSQLDataNotPermittedError
Python Library Documentation: class ModifyingSQLDataNotPermittedError in module asyncpg.exceptions class ModifyingSQLDataNotPermittedError(SQLRoutineError) | Method resolution order: | ModifyingSQLDataNotPermittedError | SQLRoutineError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2F002' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.MoreThanOneSQLJsonItemError
Python Library Documentation: class MoreThanOneSQLJsonItemError in module asyncpg.exceptions class MoreThanOneSQLJsonItemError(DataError) | Method resolution order: | MoreThanOneSQLJsonItemError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22034' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.MostSpecificTypeMismatchError
Python Library Documentation: class MostSpecificTypeMismatchError in module asyncpg.exceptions class MostSpecificTypeMismatchError(DataError) | Method resolution order: | MostSpecificTypeMismatchError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2200G' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.NameTooLongError
Python Library Documentation: class NameTooLongError in module asyncpg.exceptions class NameTooLongError(SyntaxOrAccessError) | Method resolution order: | NameTooLongError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42622' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.NoActiveSQLTransactionError
Python Library Documentation: class NoActiveSQLTransactionError in module asyncpg.exceptions class NoActiveSQLTransactionError(InvalidTransactionStateError) | Method resolution order: | NoActiveSQLTransactionError | InvalidTransactionStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '25P01' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.NoActiveSQLTransactionForBranchTransactionError
Python Library Documentation: class NoActiveSQLTransactionForBranchTransactionError in module asyncpg.exceptions class NoActiveSQLTransactionForBranchTransactionError(InvalidTransactionStateError) | Method resolution order: | NoActiveSQLTransactionForBranchTransactionError | InvalidTransactionStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '25005' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.NoAdditionalDynamicResultSetsReturned
Python Library Documentation: class NoAdditionalDynamicResultSetsReturned in module asyncpg.exceptions class NoAdditionalDynamicResultSetsReturned(NoData) | Method resolution order: | NoAdditionalDynamicResultSetsReturned | NoData | PostgresWarning | asyncpg.exceptions._base.PostgresLogMessage | asyncpg.exceptions._base.PostgresMessage | builtins.Warning | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '02001' | | ---------------------------------------------------------------------- | Data descriptors inherited from PostgresWarning: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | __setattr__(self, name, val) | Implement setattr(self, name, value). | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Warning: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Warning: | | __new__(*args, **kwargs) class method of builtins.Warning | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.NoData
Python Library Documentation: class NoData in module asyncpg.exceptions class NoData(PostgresWarning) | Method resolution order: | NoData | PostgresWarning | asyncpg.exceptions._base.PostgresLogMessage | asyncpg.exceptions._base.PostgresMessage | builtins.Warning | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '02000' | | ---------------------------------------------------------------------- | Data descriptors inherited from PostgresWarning: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | __setattr__(self, name, val) | Implement setattr(self, name, value). | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Warning: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Warning: | | __new__(*args, **kwargs) class method of builtins.Warning | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.NoDataFoundError
Python Library Documentation: class NoDataFoundError in module asyncpg.exceptions class NoDataFoundError(PLPGSQLError) | Method resolution order: | NoDataFoundError | PLPGSQLError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'P0002' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.NoSQLJsonItemError
Python Library Documentation: class NoSQLJsonItemError in module asyncpg.exceptions class NoSQLJsonItemError(DataError) | Method resolution order: | NoSQLJsonItemError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22035' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.NonNumericSQLJsonItemError
Python Library Documentation: class NonNumericSQLJsonItemError in module asyncpg.exceptions class NonNumericSQLJsonItemError(DataError) | Method resolution order: | NonNumericSQLJsonItemError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22036' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.NonUniqueKeysInAJsonObjectError
Python Library Documentation: class NonUniqueKeysInAJsonObjectError in module asyncpg.exceptions class NonUniqueKeysInAJsonObjectError(DataError) | Method resolution order: | NonUniqueKeysInAJsonObjectError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22037' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.NonstandardUseOfEscapeCharacterError
Python Library Documentation: class NonstandardUseOfEscapeCharacterError in module asyncpg.exceptions class NonstandardUseOfEscapeCharacterError(DataError) | Method resolution order: | NonstandardUseOfEscapeCharacterError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22P06' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.NotAnXmlDocumentError
Python Library Documentation: class NotAnXmlDocumentError in module asyncpg.exceptions class NotAnXmlDocumentError(DataError) | Method resolution order: | NotAnXmlDocumentError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2200L' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.NotNullViolationError
Python Library Documentation: class NotNullViolationError in module asyncpg.exceptions class NotNullViolationError(IntegrityConstraintViolationError) | Method resolution order: | NotNullViolationError | IntegrityConstraintViolationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '23502' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.NullValueEliminatedInSetFunction
Python Library Documentation: class NullValueEliminatedInSetFunction in module asyncpg.exceptions class NullValueEliminatedInSetFunction(PostgresWarning) | Method resolution order: | NullValueEliminatedInSetFunction | PostgresWarning | asyncpg.exceptions._base.PostgresLogMessage | asyncpg.exceptions._base.PostgresMessage | builtins.Warning | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '01003' | | ---------------------------------------------------------------------- | Data descriptors inherited from PostgresWarning: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | __setattr__(self, name, val) | Implement setattr(self, name, value). | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Warning: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Warning: | | __new__(*args, **kwargs) class method of builtins.Warning | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.NullValueInExternalRoutineNotAllowedError
Python Library Documentation: class NullValueInExternalRoutineNotAllowedError in module asyncpg.exceptions class NullValueInExternalRoutineNotAllowedError(ExternalRoutineInvocationError) | Method resolution order: | NullValueInExternalRoutineNotAllowedError | ExternalRoutineInvocationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '39004' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.NullValueNoIndicatorParameterError
Python Library Documentation: class NullValueNoIndicatorParameterError in module asyncpg.exceptions class NullValueNoIndicatorParameterError(DataError) | Method resolution order: | NullValueNoIndicatorParameterError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22002' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.NullValueNotAllowedError
Python Library Documentation: class NullValueNotAllowedError in module asyncpg.exceptions class NullValueNotAllowedError(DataError) | Method resolution order: | NullValueNotAllowedError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22004' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.NumericValueOutOfRangeError
Python Library Documentation: class NumericValueOutOfRangeError in module asyncpg.exceptions class NumericValueOutOfRangeError(DataError) | Method resolution order: | NumericValueOutOfRangeError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22003' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ObjectInUseError
Python Library Documentation: class ObjectInUseError in module asyncpg.exceptions class ObjectInUseError(ObjectNotInPrerequisiteStateError) | Method resolution order: | ObjectInUseError | ObjectNotInPrerequisiteStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '55006' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ObjectNotInPrerequisiteStateError
Python Library Documentation: class ObjectNotInPrerequisiteStateError in module asyncpg.exceptions class ObjectNotInPrerequisiteStateError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | ObjectNotInPrerequisiteStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '55000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.OperatorInterventionError
Python Library Documentation: class OperatorInterventionError in module asyncpg.exceptions class OperatorInterventionError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | OperatorInterventionError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '57000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.OutOfMemoryError
Python Library Documentation: class OutOfMemoryError in module asyncpg.exceptions class OutOfMemoryError(InsufficientResourcesError) | Method resolution order: | OutOfMemoryError | InsufficientResourcesError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '53200' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.OutdatedSchemaCacheError
Python Library Documentation: class OutdatedSchemaCacheError in module asyncpg.exceptions._base class OutdatedSchemaCacheError(InternalClientError) | OutdatedSchemaCacheError(msg, *, schema=None, data_type=None, position=None) | | A value decoding error caused by a schema change before row fetching. | | Method resolution order: | OutdatedSchemaCacheError | InternalClientError | builtins.Exception | builtins.BaseException | builtins.object | | Methods defined here: | | __init__(self, msg, *, schema=None, data_type=None, position=None) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Data descriptors inherited from InternalClientError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | __str__(self, /) | Return str(self). | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __dict__ | | __suppress_context__ | | __traceback__ | | args
asyncpg.PLPGSQLError
Python Library Documentation: class PLPGSQLError in module asyncpg.exceptions class PLPGSQLError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | PLPGSQLError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'P0000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.Path
Python Library Documentation: class Path in module asyncpg.pgproto.types
class Path(builtins.object)
| Path(*points: 'typing.Sequence[float]', is_closed: 'bool' = False) -> 'None'
|
| Immutable representation of PostgreSQL `path` type.
|
| Methods defined here:
|
| __contains__(self, point: 'object') -> 'bool'
|
| __eq__(self, other: 'object') -> 'bool'
| Return self==value.
|
| __getitem__(self, i: 'int | slice') -> 'Point | typing.Tuple[Point, ...]'
|
| __hash__(self) -> 'int'
| Return hash(self).
|
| __init__(self, *points: 'typing.Sequence[float]', is_closed: 'bool' = False) -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| __iter__(self) -> 'typing.Iterator[Point]'
|
| __len__(self) -> 'int'
|
| ----------------------------------------------------------------------
| Readonly properties defined here:
|
| is_closed
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| points
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'points': 'typing.Tuple[Point, ...]'}
asyncpg.Point
Python Library Documentation: class Point in module asyncpg.pgproto.types class Point(builtins.tuple, typing.Generic) | Point(x: 'typing.SupportsFloat | typing.SupportsIndex | str | builtins.bytes | builtins.bytearray', y: 'typing.SupportsFloat | typing.SupportsIndex | str | builtins.bytes | builtins.bytearray') -> 'Self' | | Immutable representation of PostgreSQL `point` type. | | Method resolution order: | Point | builtins.tuple | typing.Generic | builtins.object | | Methods defined here: | | __repr__(self) -> 'str' | Return repr(self). | | ---------------------------------------------------------------------- | Static methods defined here: | | __new__(cls, x: 'typing.SupportsFloat | typing.SupportsIndex | str | builtins.bytes | builtins.bytearray', y: 'typing.SupportsFloat | typing.SupportsIndex | str | builtins.bytes | builtins.bytearray') -> 'Self' | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Readonly properties defined here: | | x | | y | | ---------------------------------------------------------------------- | Data and other attributes defined here: | | __orig_bases__ = (typing.Tuple[float, float],) | | __parameters__ = () | | ---------------------------------------------------------------------- | Methods inherited from builtins.tuple: | | __add__(self, value, /) | Return self+value. | | __contains__(self, key, /) | Return bool(key in self). | | __eq__(self, value, /) | Return self==value. | | __ge__(self, value, /) | Return self>=value. | | __getattribute__(self, name, /) | Return getattr(self, name). | | __getitem__(self, key, /) | Return self[key]. | | __getnewargs__(self, /) | | __gt__(self, value, /) | Return self>value. | | __hash__(self, /) | Return hash(self). | | __iter__(self, /) | Implement iter(self). | | __le__(self, value, /) | Return self<=value. | | __len__(self, /) | Return len(self). | | __lt__(self, value, /) | Return self<value. | | __mul__(self, value, /) | Return self*value. | | __ne__(self, value, /) | Return self!=value. | | __rmul__(self, value, /) | Return value*self. | | count(self, value, /) | Return number of occurrences of value. | | index(self, value, start=0, stop=9223372036854775807, /) | Return first index of value. | | Raises ValueError if the value is not present. | | ---------------------------------------------------------------------- | Class methods inherited from builtins.tuple: | | __class_getitem__(...) | See PEP 585 | | ---------------------------------------------------------------------- | Class methods inherited from typing.Generic: | | __init_subclass__(...) | Function to initialize subclasses.
asyncpg.Polygon
Python Library Documentation: class Polygon in module asyncpg.pgproto.types
class Polygon(Path)
| Polygon(*points: 'typing.Sequence[float]') -> 'None'
|
| Immutable representation of PostgreSQL `polygon` type.
|
| Method resolution order:
| Polygon
| Path
| builtins.object
|
| Methods defined here:
|
| __init__(self, *points: 'typing.Sequence[float]') -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {}
|
| ----------------------------------------------------------------------
| Methods inherited from Path:
|
| __contains__(self, point: 'object') -> 'bool'
|
| __eq__(self, other: 'object') -> 'bool'
| Return self==value.
|
| __getitem__(self, i: 'int | slice') -> 'Point | typing.Tuple[Point, ...]'
|
| __hash__(self) -> 'int'
| Return hash(self).
|
| __iter__(self) -> 'typing.Iterator[Point]'
|
| __len__(self) -> 'int'
|
| ----------------------------------------------------------------------
| Readonly properties inherited from Path:
|
| is_closed
|
| ----------------------------------------------------------------------
| Data descriptors inherited from Path:
|
| points
asyncpg.Pool
Python Library Documentation: class Pool in module asyncpg.pool class Pool(builtins.object) | Pool(*connect_args, min_size, max_size, max_queries, max_inactive_connection_lifetime, connect=None, setup=None, init=None, reset=None, loop, connection_class, record_class, **connect_kwargs) | | A connection pool. | | Connection pool can be used to manage a set of connections to the database. | Connections are first acquired from the pool, then used, and then released | back to the pool. Once a connection is released, it's reset to close all | open cursors and other resources *except* prepared statements. | | Pools are created by calling :func:`~asyncpg.pool.create_pool`. | | Methods defined here: | | async __aenter__(self) | | async __aexit__(self, *exc) | | __await__(self) | | __init__(self, *connect_args, min_size, max_size, max_queries, max_inactive_connection_lifetime, connect=None, setup=None, init=None, reset=None, loop, connection_class, record_class, **connect_kwargs) | Initialize self. See help(type(self)) for accurate signature. | | acquire(self, *, timeout=None) | Acquire a database connection from the pool. | | :param float timeout: A timeout for acquiring a Connection. | :return: An instance of :class:`~asyncpg.connection.Connection`. | | Can be used in an ``await`` expression or with an ``async with`` block. | | .. code-block:: python | | async with pool.acquire() as con: | await con.execute(...) | | Or: | | .. code-block:: python | | con = await pool.acquire() | try: | await con.execute(...) | finally: | await pool.release(con) | | async close(self) | Attempt to gracefully close all connections in the pool. | | Wait until all pool connections are released, close them and | shut down the pool. If any error (including cancellation) occurs | in ``close()`` the pool will terminate by calling | :meth:`Pool.terminate() <pool.Pool.terminate>`. | | It is advisable to use :func:`python:asyncio.wait_for` to set | a timeout. | | .. versionchanged:: 0.16.0 | ``close()`` now waits until all pool connections are released | before closing them and the pool. Errors raised in ``close()`` | will cause immediate pool termination. | | async copy_from_query(self, query, *args, output, timeout=None, format=None, oids=None, delimiter=None, null=None, header=None, quote=None, escape=None, force_quote=None, encoding=None) | Copy the results of a query to a file or file-like object. | | Pool performs this operation using one of its connections. Other than | that, it behaves identically to | :meth:`Connection.copy_from_query() | <asyncpg.connection.Connection.copy_from_query>`. | | .. versionadded:: 0.24.0 | | async copy_from_table(self, table_name, *, output, columns=None, schema_name=None, timeout=None, format=None, oids=None, delimiter=None, null=None, header=None, quote=None, escape=None, force_quote=None, encoding=None) | Copy table contents to a file or file-like object. | | Pool performs this operation using one of its connections. Other than | that, it behaves identically to | :meth:`Connection.copy_from_table() | <asyncpg.connection.Connection.copy_from_table>`. | | .. versionadded:: 0.24.0 | | async copy_records_to_table(self, table_name, *, records, columns=None, schema_name=None, timeout=None, where=None) | Copy a list of records to the specified table using binary COPY. | | Pool performs this operation using one of its connections. Other than | that, it behaves identically to | :meth:`Connection.copy_records_to_table() | <asyncpg.connection.Connection.copy_records_to_table>`. | | .. versionadded:: 0.24.0 | | async copy_to_table(self, table_name, *, source, columns=None, schema_name=None, timeout=None, format=None, oids=None, freeze=None, delimiter=None, null=None, header=None, quote=None, escape=None, force_quote=None, force_not_null=None, force_null=None, encoding=None, where=None) | Copy data to the specified table. | | Pool performs this operation using one of its connections. Other than | that, it behaves identically to | :meth:`Connection.copy_to_table() | <asyncpg.connection.Connection.copy_to_table>`. | | .. versionadded:: 0.24.0 | | async execute(self, query: 'str', *args, timeout: 'Optional[float]' = None) -> 'str' | Execute an SQL command (or commands). | | Pool performs this operation using one of its connections. Other than | that, it behaves identically to | :meth:`Connection.execute() <asyncpg.connection.Connection.execute>`. | | .. versionadded:: 0.10.0 | | async executemany(self, command: 'str', args, *, timeout: 'Optional[float]' = None) | Execute an SQL *command* for each sequence of arguments in *args*. | | Pool performs this operation using one of its connections. Other than | that, it behaves identically to | :meth:`Connection.executemany() | <asyncpg.connection.Connection.executemany>`. | | .. versionadded:: 0.10.0 | | async expire_connections(self) | Expire all currently open connections. | | Cause all currently open connections to get replaced on the | next :meth:`~asyncpg.pool.Pool.acquire()` call. | | .. versionadded:: 0.16.0 | | async fetch(self, query, *args, timeout=None, record_class=None) -> 'list' | Run a query and return the results as a list of :class:`Record`. | | Pool performs this operation using one of its connections. Other than | that, it behaves identically to | :meth:`Connection.fetch() <asyncpg.connection.Connection.fetch>`. | | .. versionadded:: 0.10.0 | | async fetchmany(self, query, args, *, timeout=None, record_class=None) | Run a query for each sequence of arguments in *args* | and return the results as a list of :class:`Record`. | | Pool performs this operation using one of its connections. Other than | that, it behaves identically to | :meth:`Connection.fetchmany() | <asyncpg.connection.Connection.fetchmany>`. | | .. versionadded:: 0.30.0 | | async fetchrow(self, query, *args, timeout=None, record_class=None) | Run a query and return the first row. | | Pool performs this operation using one of its connections. Other than | that, it behaves identically to | :meth:`Connection.fetchrow() <asyncpg.connection.Connection.fetchrow>`. | | .. versionadded:: 0.10.0 | | async fetchval(self, query, *args, column=0, timeout=None) | Run a query and return a value in the first row. | | Pool performs this operation using one of its connections. Other than | that, it behaves identically to | :meth:`Connection.fetchval() | <asyncpg.connection.Connection.fetchval>`. | | .. versionadded:: 0.10.0 | | get_idle_size(self) | Return the current number of idle connections in this pool. | | .. versionadded:: 0.25.0 | | get_max_size(self) | Return the maximum allowed number of connections in this pool. | | .. versionadded:: 0.25.0 | | get_min_size(self) | Return the minimum number of connections in this pool. | | .. versionadded:: 0.25.0 | | get_size(self) | Return the current number of connections in this pool. | | .. versionadded:: 0.25.0 | | is_closing(self) | Return ``True`` if the pool is closing or is closed. | | .. versionadded:: 0.28.0 | | async release(self, connection, *, timeout=None) | Release a database connection back to the pool. | | :param Connection connection: | A :class:`~asyncpg.connection.Connection` object to release. | :param float timeout: | A timeout for releasing the connection. If not specified, defaults | to the timeout provided in the corresponding call to the | :meth:`Pool.acquire() <asyncpg.pool.Pool.acquire>` method. | | .. versionchanged:: 0.14.0 | Added the *timeout* parameter. | | set_connect_args(self, dsn=None, **connect_kwargs) | Set the new connection arguments for this pool. | | The new connection arguments will be used for all subsequent | new connection attempts. Existing connections will remain until | they expire. Use :meth:`Pool.expire_connections() | <asyncpg.pool.Pool.expire_connections>` to expedite the connection | expiry. | | :param str dsn: | Connection arguments specified using as a single string in | the following format: | ``postgres://user:pass@host:port/database?option=value``. | | :param \*\*connect_kwargs: | Keyword arguments for the :func:`~asyncpg.connection.connect` | function. | | .. versionadded:: 0.16.0 | | terminate(self) | Terminate all connections in the pool.
asyncpg.PostgresConnectionError
Python Library Documentation: class PostgresConnectionError in module asyncpg.exceptions class PostgresConnectionError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | PostgresConnectionError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '08000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.PostgresError
Python Library Documentation: class PostgresError in module asyncpg.exceptions._base class PostgresError(PostgresMessage, builtins.Exception) | Base class for all Postgres errors. | | Method resolution order: | PostgresError | PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Methods defined here: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods defined here: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | sqlstate = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.PostgresFloatingPointError
Python Library Documentation: class PostgresFloatingPointError in module asyncpg.exceptions class PostgresFloatingPointError(DataError) | Method resolution order: | PostgresFloatingPointError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22P01' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.PostgresIOError
Python Library Documentation: class PostgresIOError in module asyncpg.exceptions class PostgresIOError(PostgresSystemError) | Method resolution order: | PostgresIOError | PostgresSystemError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '58030' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.PostgresLogMessage
Python Library Documentation: class PostgresLogMessage in module asyncpg.exceptions._base class PostgresLogMessage(PostgresMessage) | A base class for non-error server messages. | | Method resolution order: | PostgresLogMessage | PostgresMessage | builtins.object | | Methods defined here: | | __setattr__(self, name, val) | Implement setattr(self, name, value). | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods defined here: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Methods inherited from PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from PostgresMessage: | | __dict__ | dictionary for instance variables | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Data and other attributes inherited from PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | sqlstate = None | | table_name = None
asyncpg.PostgresSyntaxError
Python Library Documentation: class PostgresSyntaxError in module asyncpg.exceptions class PostgresSyntaxError(SyntaxOrAccessError) | Method resolution order: | PostgresSyntaxError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42601' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.PostgresSystemError
Python Library Documentation: class PostgresSystemError in module asyncpg.exceptions class PostgresSystemError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | PostgresSystemError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '58000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.PostgresWarning
Python Library Documentation: class PostgresWarning in module asyncpg.exceptions class PostgresWarning(asyncpg.exceptions._base.PostgresLogMessage, builtins.Warning) | Method resolution order: | PostgresWarning | asyncpg.exceptions._base.PostgresLogMessage | asyncpg.exceptions._base.PostgresMessage | builtins.Warning | builtins.Exception | builtins.BaseException | builtins.object | | Data descriptors defined here: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Data and other attributes defined here: | | sqlstate = '01000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | __setattr__(self, name, val) | Implement setattr(self, name, value). | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Warning: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Warning: | | __new__(*args, **kwargs) class method of builtins.Warning | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.PrivilegeNotGranted
Python Library Documentation: class PrivilegeNotGranted in module asyncpg.exceptions class PrivilegeNotGranted(PostgresWarning) | Method resolution order: | PrivilegeNotGranted | PostgresWarning | asyncpg.exceptions._base.PostgresLogMessage | asyncpg.exceptions._base.PostgresMessage | builtins.Warning | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '01007' | | ---------------------------------------------------------------------- | Data descriptors inherited from PostgresWarning: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | __setattr__(self, name, val) | Implement setattr(self, name, value). | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Warning: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Warning: | | __new__(*args, **kwargs) class method of builtins.Warning | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.PrivilegeNotRevoked
Python Library Documentation: class PrivilegeNotRevoked in module asyncpg.exceptions class PrivilegeNotRevoked(PostgresWarning) | Method resolution order: | PrivilegeNotRevoked | PostgresWarning | asyncpg.exceptions._base.PostgresLogMessage | asyncpg.exceptions._base.PostgresMessage | builtins.Warning | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '01006' | | ---------------------------------------------------------------------- | Data descriptors inherited from PostgresWarning: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | __setattr__(self, name, val) | Implement setattr(self, name, value). | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Warning: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Warning: | | __new__(*args, **kwargs) class method of builtins.Warning | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ProgramLimitExceededError
Python Library Documentation: class ProgramLimitExceededError in module asyncpg.exceptions class ProgramLimitExceededError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | ProgramLimitExceededError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '54000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ProhibitedExternalRoutineSQLStatementAttemptedError
Python Library Documentation: class ProhibitedExternalRoutineSQLStatementAttemptedError in module asyncpg.exceptions class ProhibitedExternalRoutineSQLStatementAttemptedError(ExternalRoutineError) | Method resolution order: | ProhibitedExternalRoutineSQLStatementAttemptedError | ExternalRoutineError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '38003' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ProhibitedSQLStatementAttemptedError
Python Library Documentation: class ProhibitedSQLStatementAttemptedError in module asyncpg.exceptions class ProhibitedSQLStatementAttemptedError(SQLRoutineError) | Method resolution order: | ProhibitedSQLStatementAttemptedError | SQLRoutineError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2F003' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ProtocolError
Python Library Documentation: class ProtocolError in module asyncpg.exceptions._base class ProtocolError(InternalClientError) | Unexpected condition in the handling of PostgreSQL protocol input. | | Method resolution order: | ProtocolError | InternalClientError | builtins.Exception | builtins.BaseException | builtins.object | | Data descriptors inherited from InternalClientError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | __str__(self, /) | Return str(self). | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __dict__ | | __suppress_context__ | | __traceback__ | | args
asyncpg.ProtocolViolationError
Python Library Documentation: class ProtocolViolationError in module asyncpg.exceptions class ProtocolViolationError(PostgresConnectionError) | Method resolution order: | ProtocolViolationError | PostgresConnectionError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '08P01' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.QueryCanceledError
Python Library Documentation: class QueryCanceledError in module asyncpg.exceptions class QueryCanceledError(OperatorInterventionError) | Method resolution order: | QueryCanceledError | OperatorInterventionError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '57014' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.RaiseError
Python Library Documentation: class RaiseError in module asyncpg.exceptions class RaiseError(PLPGSQLError) | Method resolution order: | RaiseError | PLPGSQLError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'P0001' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.Range
Python Library Documentation: class Range in module asyncpg.types
class Range(typing.Generic)
| Range(lower: '_RV | None' = None, upper: '_RV | None' = None, *, lower_inc: 'bool' = True, upper_inc: 'bool' = False, empty: 'bool' = False) -> 'None'
|
| Immutable representation of PostgreSQL `range` type.
|
| Method resolution order:
| Range
| typing.Generic
| builtins.object
|
| Methods defined here:
|
| __bool__(self) -> 'bool'
|
| __eq__(self, other: 'object') -> 'bool'
| Return self==value.
|
| __hash__(self) -> 'int'
| Return hash(self).
|
| __init__(self, lower: '_RV | None' = None, upper: '_RV | None' = None, *, lower_inc: 'bool' = True, upper_inc: 'bool' = False, empty: 'bool' = False) -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| __str__ = __repr__(self) -> 'str'
|
| issubset(self, other: 'Self') -> 'bool'
|
| issuperset(self, other: 'Self') -> 'bool'
|
| ----------------------------------------------------------------------
| Readonly properties defined here:
|
| isempty
|
| lower
|
| lower_inc
|
| lower_inf
|
| upper
|
| upper_inc
|
| upper_inf
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'_empty': 'bool', '_lower': '_RV | None', '_lower_i...
|
| __orig_bases__ = (typing.Generic[~_RV],)
|
| __parameters__ = (~_RV,)
|
| ----------------------------------------------------------------------
| Class methods inherited from typing.Generic:
|
| __class_getitem__(...)
| Parameterizes a generic class.
|
| At least, parameterizing a generic class is the *main* thing this
| method does. For example, for some generic class `Foo`, this is called
| when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
|
| However, note that this method is also called when defining generic
| classes in the first place with `class Foo[T]: ...`.
|
| __init_subclass__(...)
| Function to initialize subclasses.
asyncpg.ReadOnlySQLTransactionError
Python Library Documentation: class ReadOnlySQLTransactionError in module asyncpg.exceptions class ReadOnlySQLTransactionError(InvalidTransactionStateError) | Method resolution order: | ReadOnlySQLTransactionError | InvalidTransactionStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '25006' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ReadingExternalRoutineSQLDataNotPermittedError
Python Library Documentation: class ReadingExternalRoutineSQLDataNotPermittedError in module asyncpg.exceptions class ReadingExternalRoutineSQLDataNotPermittedError(ExternalRoutineError) | Method resolution order: | ReadingExternalRoutineSQLDataNotPermittedError | ExternalRoutineError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '38004' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ReadingSQLDataNotPermittedError
Python Library Documentation: class ReadingSQLDataNotPermittedError in module asyncpg.exceptions class ReadingSQLDataNotPermittedError(SQLRoutineError) | Method resolution order: | ReadingSQLDataNotPermittedError | SQLRoutineError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2F004' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.Record
Python Library Documentation: class Record in module asyncpg.protocol.record class Record(builtins.object) | Methods defined here: | | __contains__(self, key, /) | Return bool(key in self). | | __eq__(self, value, /) | Return self==value. | | __ge__(self, value, /) | Return self>=value. | | __getattribute__(self, name, /) | Return getattr(self, name). | | __getitem__(self, key, /) | Return self[key]. | | __gt__(self, value, /) | Return self>value. | | __hash__(self, /) | Return hash(self). | | __iter__(self, /) | Implement iter(self). | | __le__(self, value, /) | Return self<=value. | | __len__(self, /) | Return len(self). | | __lt__(self, value, /) | Return self<value. | | __ne__(self, value, /) | Return self!=value. | | __repr__(self, /) | Return repr(self). | | get(...) | | items(...) | | keys(...) | | values(...) | | ---------------------------------------------------------------------- | Static methods defined here: | | __new__(*args, **kwargs) | Create and return a new object. See help(type) for accurate signature.
asyncpg.ReservedNameError
Python Library Documentation: class ReservedNameError in module asyncpg.exceptions class ReservedNameError(SyntaxOrAccessError) | Method resolution order: | ReservedNameError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42939' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.RestrictViolationError
Python Library Documentation: class RestrictViolationError in module asyncpg.exceptions class RestrictViolationError(IntegrityConstraintViolationError) | Method resolution order: | RestrictViolationError | IntegrityConstraintViolationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '23001' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.SQLJsonArrayNotFoundError
Python Library Documentation: class SQLJsonArrayNotFoundError in module asyncpg.exceptions class SQLJsonArrayNotFoundError(DataError) | Method resolution order: | SQLJsonArrayNotFoundError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22039' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.SQLJsonItemCannotBeCastToTargetTypeError
Python Library Documentation: class SQLJsonItemCannotBeCastToTargetTypeError in module asyncpg.exceptions class SQLJsonItemCannotBeCastToTargetTypeError(DataError) | Method resolution order: | SQLJsonItemCannotBeCastToTargetTypeError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2203G' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.SQLJsonMemberNotFoundError
Python Library Documentation: class SQLJsonMemberNotFoundError in module asyncpg.exceptions class SQLJsonMemberNotFoundError(DataError) | Method resolution order: | SQLJsonMemberNotFoundError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2203A' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.SQLJsonNumberNotFoundError
Python Library Documentation: class SQLJsonNumberNotFoundError in module asyncpg.exceptions class SQLJsonNumberNotFoundError(DataError) | Method resolution order: | SQLJsonNumberNotFoundError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2203B' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.SQLJsonObjectNotFoundError
Python Library Documentation: class SQLJsonObjectNotFoundError in module asyncpg.exceptions class SQLJsonObjectNotFoundError(DataError) | Method resolution order: | SQLJsonObjectNotFoundError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2203C' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.SQLJsonScalarRequiredError
Python Library Documentation: class SQLJsonScalarRequiredError in module asyncpg.exceptions class SQLJsonScalarRequiredError(DataError) | Method resolution order: | SQLJsonScalarRequiredError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2203F' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.SQLRoutineError
Python Library Documentation: class SQLRoutineError in module asyncpg.exceptions class SQLRoutineError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | SQLRoutineError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2F000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.SQLStatementNotYetCompleteError
Python Library Documentation: class SQLStatementNotYetCompleteError in module asyncpg.exceptions class SQLStatementNotYetCompleteError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | SQLStatementNotYetCompleteError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '03000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.SavepointError
Python Library Documentation: class SavepointError in module asyncpg.exceptions class SavepointError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | SavepointError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '3B000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.SchemaAndDataStatementMixingNotSupportedError
Python Library Documentation: class SchemaAndDataStatementMixingNotSupportedError in module asyncpg.exceptions class SchemaAndDataStatementMixingNotSupportedError(InvalidTransactionStateError) | Method resolution order: | SchemaAndDataStatementMixingNotSupportedError | InvalidTransactionStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '25007' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.SequenceGeneratorLimitExceededError
Python Library Documentation: class SequenceGeneratorLimitExceededError in module asyncpg.exceptions class SequenceGeneratorLimitExceededError(DataError) | Method resolution order: | SequenceGeneratorLimitExceededError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2200H' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.SerializationError
Python Library Documentation: class SerializationError in module asyncpg.exceptions class SerializationError(TransactionRollbackError) | Method resolution order: | SerializationError | TransactionRollbackError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '40001' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ServerVersion
Python Library Documentation: class ServerVersion in module asyncpg.types
class ServerVersion(builtins.tuple)
| ServerVersion(major: ForwardRef('int'), minor: ForwardRef('int'), micro: ForwardRef('int'), releaselevel: ForwardRef('str'), serial: ForwardRef('int'))
|
| PostgreSQL server version tuple.
|
| Method resolution order:
| ServerVersion
| builtins.tuple
| builtins.object
|
| Methods defined here:
|
| __getnewargs__(self) from collections.ServerVersion
| Return self as a plain tuple. Used by copy and pickle.
|
| __repr__(self) from collections.ServerVersion
| Return a nicely formatted representation string
|
| _asdict(self) from collections.ServerVersion
| Return a new dict which maps field names to their values.
|
| _replace(self, /, **kwds) from collections.ServerVersion
| Return a new ServerVersion object replacing specified fields with new values
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| _make(iterable) from collections.ServerVersion
| Make a new ServerVersion object from a sequence or iterable
|
| ----------------------------------------------------------------------
| Static methods defined here:
|
| __new__(_cls, major: ForwardRef('int'), minor: ForwardRef('int'), micro: ForwardRef('int'), releaselevel: ForwardRef('str'), serial: ForwardRef('int')) from namedtuple_ServerVersion.ServerVersion
| Create new instance of ServerVersion(major, minor, micro, releaselevel, serial)
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| major
| Alias for field number 0
|
| minor
| Alias for field number 1
|
| micro
| Alias for field number 2
|
| releaselevel
| Alias for field number 3
|
| serial
| Alias for field number 4
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'major': ForwardRef('int'), 'micro': ForwardRef('in...
|
| __match_args__ = ('major', 'minor', 'micro', 'releaselevel', 'serial')
|
| __orig_bases__ = (<function NamedTuple>,)
|
| _field_defaults = {}
|
| _fields = ('major', 'minor', 'micro', 'releaselevel', 'serial')
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.tuple:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __getitem__(self, key, /)
| Return self[key].
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmul__(self, value, /)
| Return value*self.
|
| count(self, value, /)
| Return number of occurrences of value.
|
| index(self, value, start=0, stop=9223372036854775807, /)
| Return first index of value.
|
| Raises ValueError if the value is not present.
|
| ----------------------------------------------------------------------
| Class methods inherited from builtins.tuple:
|
| __class_getitem__(...)
| See PEP 585
asyncpg.SingletonSQLJsonItemRequiredError
Python Library Documentation: class SingletonSQLJsonItemRequiredError in module asyncpg.exceptions class SingletonSQLJsonItemRequiredError(DataError) | Method resolution order: | SingletonSQLJsonItemRequiredError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22038' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.SnapshotTooOldError
Python Library Documentation: class SnapshotTooOldError in module asyncpg.exceptions class SnapshotTooOldError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | SnapshotTooOldError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '72000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.SrfProtocolViolatedError
Python Library Documentation: class SrfProtocolViolatedError in module asyncpg.exceptions class SrfProtocolViolatedError(ExternalRoutineInvocationError) | Method resolution order: | SrfProtocolViolatedError | ExternalRoutineInvocationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '39P02' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.StackedDiagnosticsAccessedWithoutActiveHandlerError
Python Library Documentation: class StackedDiagnosticsAccessedWithoutActiveHandlerError in module asyncpg.exceptions class StackedDiagnosticsAccessedWithoutActiveHandlerError(DiagnosticsError) | Method resolution order: | StackedDiagnosticsAccessedWithoutActiveHandlerError | DiagnosticsError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '0Z002' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.StatementCompletionUnknownError
Python Library Documentation: class StatementCompletionUnknownError in module asyncpg.exceptions class StatementCompletionUnknownError(TransactionRollbackError) | Method resolution order: | StatementCompletionUnknownError | TransactionRollbackError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '40003' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.StatementTooComplexError
Python Library Documentation: class StatementTooComplexError in module asyncpg.exceptions class StatementTooComplexError(ProgramLimitExceededError) | Method resolution order: | StatementTooComplexError | ProgramLimitExceededError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '54001' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.StringDataLengthMismatchError
Python Library Documentation: class StringDataLengthMismatchError in module asyncpg.exceptions class StringDataLengthMismatchError(DataError) | Method resolution order: | StringDataLengthMismatchError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22026' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.StringDataRightTruncation
Python Library Documentation: class StringDataRightTruncation in module asyncpg.exceptions class StringDataRightTruncation(PostgresWarning) | Method resolution order: | StringDataRightTruncation | PostgresWarning | asyncpg.exceptions._base.PostgresLogMessage | asyncpg.exceptions._base.PostgresMessage | builtins.Warning | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '01004' | | ---------------------------------------------------------------------- | Data descriptors inherited from PostgresWarning: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | __setattr__(self, name, val) | Implement setattr(self, name, value). | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Warning: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Warning: | | __new__(*args, **kwargs) class method of builtins.Warning | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.StringDataRightTruncationError
Python Library Documentation: class StringDataRightTruncationError in module asyncpg.exceptions class StringDataRightTruncationError(DataError) | Method resolution order: | StringDataRightTruncationError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22001' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.SubstringError
Python Library Documentation: class SubstringError in module asyncpg.exceptions class SubstringError(DataError) | Method resolution order: | SubstringError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22011' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.SyntaxOrAccessError
Python Library Documentation: class SyntaxOrAccessError in module asyncpg.exceptions class SyntaxOrAccessError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.TargetServerAttributeNotMatched
Python Library Documentation: class TargetServerAttributeNotMatched in module asyncpg.exceptions._base class TargetServerAttributeNotMatched(InternalClientError) | Could not find a host that satisfies the target attribute requirement | | Method resolution order: | TargetServerAttributeNotMatched | InternalClientError | builtins.Exception | builtins.BaseException | builtins.object | | Data descriptors inherited from InternalClientError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | __str__(self, /) | Return str(self). | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __dict__ | | __suppress_context__ | | __traceback__ | | args
asyncpg.TooManyArgumentsError
Python Library Documentation: class TooManyArgumentsError in module asyncpg.exceptions class TooManyArgumentsError(ProgramLimitExceededError) | Method resolution order: | TooManyArgumentsError | ProgramLimitExceededError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '54023' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.TooManyColumnsError
Python Library Documentation: class TooManyColumnsError in module asyncpg.exceptions class TooManyColumnsError(ProgramLimitExceededError) | Method resolution order: | TooManyColumnsError | ProgramLimitExceededError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '54011' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.TooManyConnectionsError
Python Library Documentation: class TooManyConnectionsError in module asyncpg.exceptions class TooManyConnectionsError(InsufficientResourcesError) | Method resolution order: | TooManyConnectionsError | InsufficientResourcesError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '53300' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.TooManyJsonArrayElementsError
Python Library Documentation: class TooManyJsonArrayElementsError in module asyncpg.exceptions class TooManyJsonArrayElementsError(DataError) | Method resolution order: | TooManyJsonArrayElementsError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2203D' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.TooManyJsonObjectMembersError
Python Library Documentation: class TooManyJsonObjectMembersError in module asyncpg.exceptions class TooManyJsonObjectMembersError(DataError) | Method resolution order: | TooManyJsonObjectMembersError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2203E' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.TooManyRowsError
Python Library Documentation: class TooManyRowsError in module asyncpg.exceptions class TooManyRowsError(PLPGSQLError) | Method resolution order: | TooManyRowsError | PLPGSQLError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = 'P0003' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.TransactionIntegrityConstraintViolationError
Python Library Documentation: class TransactionIntegrityConstraintViolationError in module asyncpg.exceptions class TransactionIntegrityConstraintViolationError(TransactionRollbackError) | Method resolution order: | TransactionIntegrityConstraintViolationError | TransactionRollbackError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '40002' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.TransactionResolutionUnknownError
Python Library Documentation: class TransactionResolutionUnknownError in module asyncpg.exceptions class TransactionResolutionUnknownError(PostgresConnectionError) | Method resolution order: | TransactionResolutionUnknownError | PostgresConnectionError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '08007' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.TransactionRollbackError
Python Library Documentation: class TransactionRollbackError in module asyncpg.exceptions class TransactionRollbackError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | TransactionRollbackError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '40000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.TransactionTimeoutError
Python Library Documentation: class TransactionTimeoutError in module asyncpg.exceptions class TransactionTimeoutError(InvalidTransactionStateError) | Method resolution order: | TransactionTimeoutError | InvalidTransactionStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '25P04' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.TriggerProtocolViolatedError
Python Library Documentation: class TriggerProtocolViolatedError in module asyncpg.exceptions class TriggerProtocolViolatedError(ExternalRoutineInvocationError) | Method resolution order: | TriggerProtocolViolatedError | ExternalRoutineInvocationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '39P01' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.TriggeredActionError
Python Library Documentation: class TriggeredActionError in module asyncpg.exceptions class TriggeredActionError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | TriggeredActionError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '09000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.TriggeredDataChangeViolationError
Python Library Documentation: class TriggeredDataChangeViolationError in module asyncpg.exceptions class TriggeredDataChangeViolationError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | TriggeredDataChangeViolationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '27000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.TrimError
Python Library Documentation: class TrimError in module asyncpg.exceptions class TrimError(DataError) | Method resolution order: | TrimError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22027' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.Type
Python Library Documentation: class Type in module asyncpg.types
class Type(builtins.tuple)
| Type(oid: ForwardRef('int'), name: ForwardRef('str'), kind: ForwardRef('str'), schema: ForwardRef('str'))
|
| Database data type.
|
| Method resolution order:
| Type
| builtins.tuple
| builtins.object
|
| Methods defined here:
|
| __getnewargs__(self) from collections.Type
| Return self as a plain tuple. Used by copy and pickle.
|
| __repr__(self) from collections.Type
| Return a nicely formatted representation string
|
| _asdict(self) from collections.Type
| Return a new dict which maps field names to their values.
|
| _replace(self, /, **kwds) from collections.Type
| Return a new Type object replacing specified fields with new values
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| _make(iterable) from collections.Type
| Make a new Type object from a sequence or iterable
|
| ----------------------------------------------------------------------
| Static methods defined here:
|
| __new__(_cls, oid: ForwardRef('int'), name: ForwardRef('str'), kind: ForwardRef('str'), schema: ForwardRef('str')) from namedtuple_Type.Type
| Create new instance of Type(oid, name, kind, schema)
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| oid
| OID of the type.
|
| name
| Type name. For example "int2".
|
| kind
| Type kind. Can be "scalar", "array", "composite" or "range".
|
| schema
| Name of the database schema that defines the type.
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'kind': ForwardRef('str'), 'name': ForwardRef('str'...
|
| __match_args__ = ('oid', 'name', 'kind', 'schema')
|
| __orig_bases__ = (<function NamedTuple>,)
|
| _field_defaults = {}
|
| _fields = ('oid', 'name', 'kind', 'schema')
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.tuple:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __getitem__(self, key, /)
| Return self[key].
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmul__(self, value, /)
| Return value*self.
|
| count(self, value, /)
| Return number of occurrences of value.
|
| index(self, value, start=0, stop=9223372036854775807, /)
| Return first index of value.
|
| Raises ValueError if the value is not present.
|
| ----------------------------------------------------------------------
| Class methods inherited from builtins.tuple:
|
| __class_getitem__(...)
| See PEP 585
asyncpg.UndefinedColumnError
Python Library Documentation: class UndefinedColumnError in module asyncpg.exceptions class UndefinedColumnError(SyntaxOrAccessError) | Method resolution order: | UndefinedColumnError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42703' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.UndefinedFileError
Python Library Documentation: class UndefinedFileError in module asyncpg.exceptions class UndefinedFileError(PostgresSystemError) | Method resolution order: | UndefinedFileError | PostgresSystemError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '58P01' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.UndefinedFunctionError
Python Library Documentation: class UndefinedFunctionError in module asyncpg.exceptions class UndefinedFunctionError(SyntaxOrAccessError) | Method resolution order: | UndefinedFunctionError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42883' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.UndefinedObjectError
Python Library Documentation: class UndefinedObjectError in module asyncpg.exceptions class UndefinedObjectError(SyntaxOrAccessError) | Method resolution order: | UndefinedObjectError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42704' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.UndefinedParameterError
Python Library Documentation: class UndefinedParameterError in module asyncpg.exceptions class UndefinedParameterError(SyntaxOrAccessError) | Method resolution order: | UndefinedParameterError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P02' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.UndefinedTableError
Python Library Documentation: class UndefinedTableError in module asyncpg.exceptions class UndefinedTableError(SyntaxOrAccessError) | Method resolution order: | UndefinedTableError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P01' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.UniqueViolationError
Python Library Documentation: class UniqueViolationError in module asyncpg.exceptions class UniqueViolationError(IntegrityConstraintViolationError) | Method resolution order: | UniqueViolationError | IntegrityConstraintViolationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '23505' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.UnknownPostgresError
Python Library Documentation: class UnknownPostgresError in module asyncpg.exceptions._base class UnknownPostgresError(FatalPostgresError) | An error with an unknown SQLSTATE code. | | Method resolution order: | UnknownPostgresError | FatalPostgresError | PostgresError | PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Methods inherited from PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | sqlstate = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.UnsafeNewEnumValueUsageError
Python Library Documentation: class UnsafeNewEnumValueUsageError in module asyncpg.exceptions class UnsafeNewEnumValueUsageError(ObjectNotInPrerequisiteStateError) | Method resolution order: | UnsafeNewEnumValueUsageError | ObjectNotInPrerequisiteStateError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '55P04' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.UnsupportedClientFeatureError
Python Library Documentation: class UnsupportedClientFeatureError in module asyncpg.exceptions._base class UnsupportedClientFeatureError(InterfaceError) | UnsupportedClientFeatureError(msg, *, detail=None, hint=None) | | Requested feature is unsupported by asyncpg. | | Method resolution order: | UnsupportedClientFeatureError | InterfaceError | InterfaceMessage | builtins.Exception | builtins.BaseException | builtins.object | | Methods inherited from InterfaceError: | | __init__(self, msg, *, detail=None, hint=None) | Initialize self. See help(type(self)) for accurate signature. | | with_msg(self, msg) | | ---------------------------------------------------------------------- | Data descriptors inherited from InterfaceError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from InterfaceMessage: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Data descriptors inherited from InterfaceMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.UnsupportedServerFeatureError
Python Library Documentation: class UnsupportedServerFeatureError in module asyncpg.exceptions._base class UnsupportedServerFeatureError(InterfaceError) | UnsupportedServerFeatureError(msg, *, detail=None, hint=None) | | Requested feature is unsupported by PostgreSQL server. | | Method resolution order: | UnsupportedServerFeatureError | InterfaceError | InterfaceMessage | builtins.Exception | builtins.BaseException | builtins.object | | Methods inherited from InterfaceError: | | __init__(self, msg, *, detail=None, hint=None) | Initialize self. See help(type(self)) for accurate signature. | | with_msg(self, msg) | | ---------------------------------------------------------------------- | Data descriptors inherited from InterfaceError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from InterfaceMessage: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Data descriptors inherited from InterfaceMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.UnterminatedCStringError
Python Library Documentation: class UnterminatedCStringError in module asyncpg.exceptions class UnterminatedCStringError(DataError) | Method resolution order: | UnterminatedCStringError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22024' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.UntranslatableCharacterError
Python Library Documentation: class UntranslatableCharacterError in module asyncpg.exceptions class UntranslatableCharacterError(DataError) | Method resolution order: | UntranslatableCharacterError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '22P05' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.WindowingError
Python Library Documentation: class WindowingError in module asyncpg.exceptions class WindowingError(SyntaxOrAccessError) | Method resolution order: | WindowingError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42P20' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.WithCheckOptionViolationError
Python Library Documentation: class WithCheckOptionViolationError in module asyncpg.exceptions class WithCheckOptionViolationError(asyncpg.exceptions._base.PostgresError) | Method resolution order: | WithCheckOptionViolationError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '44000' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.WrongObjectTypeError
Python Library Documentation: class WrongObjectTypeError in module asyncpg.exceptions class WrongObjectTypeError(SyntaxOrAccessError) | Method resolution order: | WrongObjectTypeError | SyntaxOrAccessError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '42809' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.ZeroLengthCharacterStringError
Python Library Documentation: class ZeroLengthCharacterStringError in module asyncpg.exceptions class ZeroLengthCharacterStringError(DataError) | Method resolution order: | ZeroLengthCharacterStringError | DataError | asyncpg.exceptions._base.PostgresError | asyncpg.exceptions._base.PostgresMessage | builtins.Exception | builtins.BaseException | builtins.object | | Data and other attributes defined here: | | sqlstate = '2200F' | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresError: | | __str__(self) | Return str(self). | | ---------------------------------------------------------------------- | Class methods inherited from asyncpg.exceptions._base.PostgresError: | | new(fields, query=None) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresError: | | __weakref__ | list of weak references to the object | | ---------------------------------------------------------------------- | Methods inherited from asyncpg.exceptions._base.PostgresMessage: | | as_dict(self) | | ---------------------------------------------------------------------- | Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage: | | __dict__ | dictionary for instance variables | | ---------------------------------------------------------------------- | Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage: | | column_name = None | | constraint_name = None | | context = None | | data_type_name = None | | detail = None | | hint = None | | internal_position = None | | internal_query = None | | message = None | | position = None | | schema_name = None | | server_source_filename = None | | server_source_function = None | | server_source_line = None | | severity = None | | severity_en = None | | table_name = None | | ---------------------------------------------------------------------- | Methods inherited from builtins.Exception: | | __init__(self, /, *args, **kwargs) | Initialize self. See help(type(self)) for accurate signature. | | ---------------------------------------------------------------------- | Static methods inherited from builtins.Exception: | | __new__(*args, **kwargs) class method of builtins.Exception | Create and return a new object. See help(type) for accurate signature. | | ---------------------------------------------------------------------- | Methods inherited from builtins.BaseException: | | __getattribute__(self, name, /) | Return getattr(self, name). | | __reduce__(...) | Helper for pickle. | | __repr__(self, /) | Return repr(self). | | __setstate__(...) | | add_note(...) | Exception.add_note(note) -- | add a note to the exception | | with_traceback(...) | Exception.with_traceback(tb) -- | set self.__traceback__ to tb and return self. | | ---------------------------------------------------------------------- | Data descriptors inherited from builtins.BaseException: | | __cause__ | exception cause | | __context__ | exception context | | __suppress_context__ | | __traceback__ | | args
asyncpg.annotations
Python Library Documentation: _Feature in module __future__ object class _Feature(builtins.object) | _Feature(optionalRelease, mandatoryRelease, compiler_flag) | | Methods defined here: | | __init__(self, optionalRelease, mandatoryRelease, compiler_flag) | Initialize self. See help(type(self)) for accurate signature. | | __repr__(self) | Return repr(self). | | getMandatoryRelease(self) | Return release in which this feature will become mandatory. | | This is a 5-tuple, of the same form as sys.version_info, or, if | the feature was dropped, or the release date is undetermined, is None. | | getOptionalRelease(self) | Return first release in which this feature was recognized. | | This is a 5-tuple, of the same form as sys.version_info. | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __dict__ | dictionary for instance variables | | __weakref__ | list of weak references to the object
asyncpg.compat
Python Library Documentation: module asyncpg.compat in asyncpg
NAME
asyncpg.compat
DESCRIPTION
# Copyright (C) 2016-present the asyncpg authors and contributors
# <see AUTHORS file>
#
# This module is part of asyncpg and is released under
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
FUNCTIONS
get_pg_home_directory() -> 'pathlib.Path | None'
async wait_closed(stream: 'asyncio.StreamWriter') -> 'None'
DATA
CSIDL_APPDATA = 26
SYSTEM = 'Windows'
__annotations__ = {'CSIDL_APPDATA': 'typing.Final', 'SYSTEM': 'typing....
FILE
c:\users\youse\appdata\local\programs\python\python312\lib\site-packages\asyncpg\compat.py
asyncpg.connect
Python Library Documentation: function connect in module asyncpg.connection
async connect(dsn=None, *, host=None, port=None, user=None, password=None, passfile=None, service=None, servicefile=None, database=None, loop=None, timeout=60, statement_cache_size=100, max_cached_statement_lifetime=300, max_cacheable_statement_size=15360, command_timeout=None, ssl=None, direct_tls=None, connection_class=<class 'asyncpg.connection.Connection'>, record_class=<class 'asyncpg.protocol.record.Record'>, server_settings=None, target_session_attrs=None, krbsrvname=None, gsslib=None)
A coroutine to establish a connection to a PostgreSQL server.
The connection parameters may be specified either as a connection
URI in *dsn*, or as specific keyword arguments, or both.
If both *dsn* and keyword arguments are specified, the latter
override the corresponding values parsed from the connection URI.
The default values for the majority of arguments can be specified
using `environment variables <postgres envvars_>`_.
Returns a new :class:`~asyncpg.connection.Connection` object.
:param dsn:
Connection arguments specified using as a single string in the
`libpq connection URI format`_:
``postgres://user:password@host:port/database?option=value``.
The following options are recognized by asyncpg: ``host``,
``port``, ``user``, ``database`` (or ``dbname``), ``password``,
``passfile``, ``sslmode``, ``sslcert``, ``sslkey``, ``sslrootcert``,
and ``sslcrl``. Unlike libpq, asyncpg will treat unrecognized
options as `server settings`_ to be used for the connection.
.. note::
The URI must be *valid*, which means that all components must
be properly quoted with :py:func:`urllib.parse.quote_plus`, and
any literal IPv6 addresses must be enclosed in square brackets.
For example:
.. code-block:: text
postgres://dbuser@[fe80::1ff:fe23:4567:890a%25eth0]/dbname
:param host:
Database host address as one of the following:
- an IP address or a domain name;
- an absolute path to the directory containing the database
server Unix-domain socket (not supported on Windows);
- a sequence of any of the above, in which case the addresses
will be tried in order, and the first successful connection
will be returned.
If not specified, asyncpg will try the following, in order:
- host address(es) parsed from the *dsn* argument,
- the value of the ``PGHOST`` environment variable,
- on Unix, common directories used for PostgreSQL Unix-domain
sockets: ``"/run/postgresql"``, ``"/var/run/postgresl"``,
``"/var/pgsql_socket"``, ``"/private/tmp"``, and ``"/tmp"``,
- ``"localhost"``.
:param port:
Port number to connect to at the server host
(or Unix-domain socket file extension). If multiple host
addresses were specified, this parameter may specify a
sequence of port numbers of the same length as the host sequence,
or it may specify a single port number to be used for all host
addresses.
If not specified, the value parsed from the *dsn* argument is used,
or the value of the ``PGPORT`` environment variable, or ``5432`` if
neither is specified.
:param user:
The name of the database role used for authentication.
If not specified, the value parsed from the *dsn* argument is used,
or the value of the ``PGUSER`` environment variable, or the
operating system name of the user running the application.
:param database:
The name of the database to connect to.
If not specified, the value parsed from the *dsn* argument is used,
or the value of the ``PGDATABASE`` environment variable, or the
computed value of the *user* argument.
:param password:
Password to be used for authentication, if the server requires
one. If not specified, the value parsed from the *dsn* argument
is used, or the value of the ``PGPASSWORD`` environment variable.
Note that the use of the environment variable is discouraged as
other users and applications may be able to read it without needing
specific privileges. It is recommended to use *passfile* instead.
Password may be either a string, or a callable that returns a string.
If a callable is provided, it will be called each time a new connection
is established.
:param passfile:
The name of the file used to store passwords
(defaults to ``~/.pgpass``, or ``%APPDATA%\postgresql\pgpass.conf``
on Windows).
:param service:
The name of the postgres connection service stored in the postgres
connection service file.
:param servicefile:
The location of the connnection service file used to store
connection parameters.
:param loop:
An asyncio event loop instance. If ``None``, the default
event loop will be used.
:param float timeout:
Connection timeout in seconds.
:param int statement_cache_size:
The size of prepared statement LRU cache. Pass ``0`` to
disable the cache.
:param int max_cached_statement_lifetime:
The maximum time in seconds a prepared statement will stay
in the cache. Pass ``0`` to allow statements be cached
indefinitely.
:param int max_cacheable_statement_size:
The maximum size of a statement that can be cached (15KiB by
default). Pass ``0`` to allow all statements to be cached
regardless of their size.
:param float command_timeout:
The default timeout for operations on this connection
(the default is ``None``: no timeout).
:param ssl:
Pass ``True`` or an `ssl.SSLContext <SSLContext_>`_ instance to
require an SSL connection. If ``True``, a default SSL context
returned by `ssl.create_default_context() <create_default_context_>`_
will be used. The value can also be one of the following strings:
- ``'disable'`` - SSL is disabled (equivalent to ``False``)
- ``'prefer'`` - try SSL first, fallback to non-SSL connection
if SSL connection fails
- ``'allow'`` - try without SSL first, then retry with SSL if the first
attempt fails.
- ``'require'`` - only try an SSL connection. Certificate
verification errors are ignored
- ``'verify-ca'`` - only try an SSL connection, and verify
that the server certificate is issued by a trusted certificate
authority (CA)
- ``'verify-full'`` - only try an SSL connection, verify
that the server certificate is issued by a trusted CA and
that the requested server host name matches that in the
certificate.
The default is ``'prefer'``: try an SSL connection and fallback to
non-SSL connection if that fails.
.. note::
*ssl* is ignored for Unix domain socket communication.
Example of programmatic SSL context configuration that is equivalent
to ``sslmode=verify-full&sslcert=..&sslkey=..&sslrootcert=..``:
.. code-block:: pycon
>>> import asyncpg
>>> import asyncio
>>> import ssl
>>> async def main():
... # Load CA bundle for server certificate verification,
... # equivalent to sslrootcert= in DSN.
... sslctx = ssl.create_default_context(
... ssl.Purpose.SERVER_AUTH,
... cafile="path/to/ca_bundle.pem")
... # If True, equivalent to sslmode=verify-full, if False:
... # sslmode=verify-ca.
... sslctx.check_hostname = True
... # Load client certificate and private key for client
... # authentication, equivalent to sslcert= and sslkey= in
... # DSN.
... sslctx.load_cert_chain(
... "path/to/client.cert",
... keyfile="path/to/client.key",
... )
... con = await asyncpg.connect(user='postgres', ssl=sslctx)
... await con.close()
>>> asyncio.run(main())
Example of programmatic SSL context configuration that is equivalent
to ``sslmode=require`` (no server certificate or host verification):
.. code-block:: pycon
>>> import asyncpg
>>> import asyncio
>>> import ssl
>>> async def main():
... sslctx = ssl.create_default_context(
... ssl.Purpose.SERVER_AUTH)
... sslctx.check_hostname = False
... sslctx.verify_mode = ssl.CERT_NONE
... con = await asyncpg.connect(user='postgres', ssl=sslctx)
... await con.close()
>>> asyncio.run(main())
:param bool direct_tls:
Pass ``True`` to skip PostgreSQL STARTTLS mode and perform a direct
SSL connection. Must be used alongside ``ssl`` param.
:param dict server_settings:
An optional dict of server runtime parameters. Refer to
PostgreSQL documentation for
a `list of supported options <server settings_>`_.
:param type connection_class:
Class of the returned connection object. Must be a subclass of
:class:`~asyncpg.connection.Connection`.
:param type record_class:
If specified, the class to use for records returned by queries on
this connection object. Must be a subclass of
:class:`~asyncpg.Record`.
:param SessionAttribute target_session_attrs:
If specified, check that the host has the correct attribute.
Can be one of:
- ``"any"`` - the first successfully connected host
- ``"primary"`` - the host must NOT be in hot standby mode
- ``"standby"`` - the host must be in hot standby mode
- ``"read-write"`` - the host must allow writes
- ``"read-only"`` - the host most NOT allow writes
- ``"prefer-standby"`` - first try to find a standby host, but if
none of the listed hosts is a standby server,
return any of them.
If not specified, the value parsed from the *dsn* argument is used,
or the value of the ``PGTARGETSESSIONATTRS`` environment variable,
or ``"any"`` if neither is specified.
:param str krbsrvname:
Kerberos service name to use when authenticating with GSSAPI. This
must match the server configuration. Defaults to 'postgres'.
:param str gsslib:
GSS library to use for GSSAPI/SSPI authentication. Can be 'gssapi'
or 'sspi'. Defaults to 'sspi' on Windows and 'gssapi' otherwise.
:return: A :class:`~asyncpg.connection.Connection` instance.
Example:
.. code-block:: pycon
>>> import asyncpg
>>> import asyncio
>>> async def run():
... con = await asyncpg.connect(user='postgres')
... types = await con.fetch('SELECT * FROM pg_type')
... print(types)
...
>>> asyncio.run(run())
[<Record typname='bool' typnamespace=11 ...
.. versionadded:: 0.10.0
Added ``max_cached_statement_use_count`` parameter.
.. versionchanged:: 0.11.0
Removed ability to pass arbitrary keyword arguments to set
server settings. Added a dedicated parameter ``server_settings``
for that.
.. versionadded:: 0.11.0
Added ``connection_class`` parameter.
.. versionadded:: 0.16.0
Added ``passfile`` parameter
(and support for password files in general).
.. versionadded:: 0.18.0
Added ability to specify multiple hosts in the *dsn*
and *host* arguments.
.. versionchanged:: 0.21.0
The *password* argument now accepts a callable or an async function.
.. versionchanged:: 0.22.0
Added the *record_class* parameter.
.. versionchanged:: 0.22.0
The *ssl* argument now defaults to ``'prefer'``.
.. versionchanged:: 0.24.0
The ``sslcert``, ``sslkey``, ``sslrootcert``, and ``sslcrl`` options
are supported in the *dsn* argument.
.. versionchanged:: 0.25.0
The ``sslpassword``, ``ssl_min_protocol_version``,
and ``ssl_max_protocol_version`` options are supported in the *dsn*
argument.
.. versionchanged:: 0.25.0
Default system root CA certificates won't be loaded when specifying a
particular sslmode, following the same behavior in libpq.
.. versionchanged:: 0.25.0
The ``sslcert``, ``sslkey``, ``sslrootcert``, and ``sslcrl`` options
in the *dsn* argument now have consistent default values of files under
``~/.postgresql/`` as libpq.
.. versionchanged:: 0.26.0
Added the *direct_tls* parameter.
.. versionchanged:: 0.28.0
Added the *target_session_attrs* parameter.
.. versionchanged:: 0.30.0
Added the *krbsrvname* and *gsslib* parameters.
.. versionchanged:: 0.31.0
Added the *servicefile* and *service* parameters.
.. _SSLContext: https://docs.python.org/3/library/ssl.html#ssl.SSLContext
.. _create_default_context:
https://docs.python.org/3/library/ssl.html#ssl.create_default_context
.. _server settings:
https://www.postgresql.org/docs/current/static/runtime-config.html
.. _postgres envvars:
https://www.postgresql.org/docs/current/static/libpq-envars.html
.. _libpq connection URI format:
https://www.postgresql.org/docs/current/static/
libpq-connect.html#LIBPQ-CONNSTRING
asyncpg.connect_utils
Python Library Documentation: module asyncpg.connect_utils in asyncpg
NAME
asyncpg.connect_utils
DESCRIPTION
# Copyright (C) 2016-present the asyncpg authors and contributors
# <see AUTHORS file>
#
# This module is part of asyncpg and is released under
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
CLASSES
asyncio.protocols.Protocol(asyncio.protocols.BaseProtocol)
TLSUpgradeProto
builtins.str(builtins.object)
SessionAttribute(builtins.str, enum.Enum)
enum.Enum(builtins.object)
SessionAttribute(builtins.str, enum.Enum)
enum.IntEnum(builtins.int, enum.ReprEnum)
SSLMode
enum.StrEnum(builtins.str, enum.ReprEnum)
SSLNegotiation
class SSLMode(enum.IntEnum)
| SSLMode(*values)
|
| Method resolution order:
| SSLMode
| enum.IntEnum
| builtins.int
| enum.ReprEnum
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec, /) from builtins.int
| Convert to a string according to format_spec.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| allow = <SSLMode.allow: 1>
|
| disable = <SSLMode.disable: 0>
|
| prefer = <SSLMode.prefer: 2>
|
| require = <SSLMode.require: 3>
|
| verify_ca = <SSLMode.verify_ca: 4>
|
| verify_full = <SSLMode.verify_full: 5>
|
| ----------------------------------------------------------------------
| Methods inherited from enum.IntEnum:
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| __str__ = __repr__(self, /) from builtins.int
| Return repr(self).
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.int:
|
| __abs__(self, /)
| abs(self)
|
| __add__(self, value, /)
| Return self+value.
|
| __and__(self, value, /)
| Return self&value.
|
| __bool__(self, /)
| True if self else False
|
| __ceil__(...)
| Ceiling of an Integral returns itself.
|
| __divmod__(self, value, /)
| Return divmod(self, value).
|
| __eq__(self, value, /)
| Return self==value.
|
| __float__(self, /)
| float(self)
|
| __floor__(...)
| Flooring an Integral returns itself.
|
| __floordiv__(self, value, /)
| Return self//value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __getnewargs__(self, /)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __index__(self, /)
| Return self converted to an integer, if self is suitable for use as an index into a list.
|
| __int__(self, /)
| int(self)
|
| __invert__(self, /)
| ~self
|
| __le__(self, value, /)
| Return self<=value.
|
| __lshift__(self, value, /)
| Return self<<value.
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __neg__(self, /)
| -self
|
| __or__(self, value, /)
| Return self|value.
|
| __pos__(self, /)
| +self
|
| __pow__(self, value, mod=None, /)
| Return pow(self, value, mod).
|
| __radd__(self, value, /)
| Return value+self.
|
| __rand__(self, value, /)
| Return value&self.
|
| __rdivmod__(self, value, /)
| Return divmod(value, self).
|
| __rfloordiv__(self, value, /)
| Return value//self.
|
| __rlshift__(self, value, /)
| Return value<<self.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __ror__(self, value, /)
| Return value|self.
|
| __round__(...)
| Rounding an Integral returns itself.
|
| Rounding with an ndigits argument also returns an integer.
|
| __rpow__(self, value, mod=None, /)
| Return pow(value, self, mod).
|
| __rrshift__(self, value, /)
| Return value>>self.
|
| __rshift__(self, value, /)
| Return self>>value.
|
| __rsub__(self, value, /)
| Return value-self.
|
| __rtruediv__(self, value, /)
| Return value/self.
|
| __rxor__(self, value, /)
| Return value^self.
|
| __sizeof__(self, /)
| Returns size in memory, in bytes.
|
| __sub__(self, value, /)
| Return self-value.
|
| __truediv__(self, value, /)
| Return self/value.
|
| __trunc__(...)
| Truncating an Integral returns itself.
|
| __xor__(self, value, /)
| Return self^value.
|
| as_integer_ratio(self, /)
| Return a pair of integers, whose ratio is equal to the original int.
|
| The ratio is in lowest terms and has a positive denominator.
|
| >>> (10).as_integer_ratio()
| (10, 1)
| >>> (-10).as_integer_ratio()
| (-10, 1)
| >>> (0).as_integer_ratio()
| (0, 1)
|
| bit_count(self, /)
| Number of ones in the binary representation of the absolute value of self.
|
| Also known as the population count.
|
| >>> bin(13)
| '0b1101'
| >>> (13).bit_count()
| 3
|
| bit_length(self, /)
| Number of bits necessary to represent self in binary.
|
| >>> bin(37)
| '0b100101'
| >>> (37).bit_length()
| 6
|
| conjugate(...)
| Returns self, the complex conjugate of any int.
|
| is_integer(self, /)
| Returns True. Exists for duck type compatibility with float.is_integer.
|
| to_bytes(self, /, length=1, byteorder='big', *, signed=False)
| Return an array of bytes representing an integer.
|
| length
| Length of bytes object to use. An OverflowError is raised if the
| integer is not representable with the given number of bytes. Default
| is length 1.
| byteorder
| The byte order used to represent the integer. If byteorder is 'big',
| the most significant byte is at the beginning of the byte array. If
| byteorder is 'little', the most significant byte is at the end of the
| byte array. To request the native byte order of the host system, use
| `sys.byteorder' as the byte order value. Default is to use 'big'.
| signed
| Determines whether two's complement is used to represent the integer.
| If signed is False and a negative integer is given, an OverflowError
| is raised.
|
| ----------------------------------------------------------------------
| Class methods inherited from builtins.int:
|
| from_bytes(bytes, byteorder='big', *, signed=False)
| Return the integer represented by the given array of bytes.
|
| bytes
| Holds the array of bytes to convert. The argument must either
| support the buffer protocol or be an iterable object producing bytes.
| Bytes and bytearray are examples of built-in objects that support the
| buffer protocol.
| byteorder
| The byte order used to represent the integer. If byteorder is 'big',
| the most significant byte is at the beginning of the byte array. If
| byteorder is 'little', the most significant byte is at the end of the
| byte array. To request the native byte order of the host system, use
| `sys.byteorder' as the byte order value. Default is to use 'big'.
| signed
| Indicates whether two's complement is used to represent the integer.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.int:
|
| denominator
| the denominator of a rational number in lowest terms
|
| imag
| the imaginary part of a complex number
|
| numerator
| the numerator of a rational number in lowest terms
|
| real
| the real part of a complex number
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Static methods inherited from enum.EnumType:
|
| __contains__(value)
| Return True if `value` is in `cls`.
|
| `value` is in `cls` if:
| 1) `value` is a member of `cls`, or
| 2) `value` is the value of one of the `cls`'s members.
|
| __getitem__(name)
| Return the member matching `name`.
|
| __iter__()
| Return members in definition order.
|
| __len__()
| Return the number of members (no aliases)
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class SSLNegotiation(enum.StrEnum)
| SSLNegotiation(*values)
|
| Method resolution order:
| SSLNegotiation
| enum.StrEnum
| builtins.str
| enum.ReprEnum
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec, /) from builtins.str
| Return a formatted version of the string as described by format_spec.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| __str__(self, /) from builtins.str
| Return str(self).
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| direct = <SSLNegotiation.direct: 'direct'>
|
| postgres = <SSLNegotiation.postgres: 'postgres'>
|
| ----------------------------------------------------------------------
| Methods inherited from enum.StrEnum:
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.str:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(...)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __sizeof__(self, /)
| Return the size of the string in memory, in bytes.
|
| capitalize(self, /)
| Return a capitalized version of the string.
|
| More specifically, make the first character have upper case and the rest lower
| case.
|
| casefold(self, /)
| Return a version of the string suitable for caseless comparisons.
|
| center(self, width, fillchar=' ', /)
| Return a centered string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| count(...)
| S.count(sub[, start[, end]]) -> int
|
| Return the number of non-overlapping occurrences of substring sub in
| string S[start:end]. Optional arguments start and end are
| interpreted as in slice notation.
|
| encode(self, /, encoding='utf-8', errors='strict')
| Encode the string using the codec registered for encoding.
|
| encoding
| The encoding in which to encode the string.
| errors
| The error handling scheme to use for encoding errors.
| The default is 'strict' meaning that encoding errors raise a
| UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
| 'xmlcharrefreplace' as well as any other name registered with
| codecs.register_error that can handle UnicodeEncodeErrors.
|
| endswith(...)
| S.endswith(suffix[, start[, end]]) -> bool
|
| Return True if S ends with the specified suffix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| suffix can also be a tuple of strings to try.
|
| expandtabs(self, /, tabsize=8)
| Return a copy where all tab characters are expanded using spaces.
|
| If tabsize is not given, a tab size of 8 characters is assumed.
|
| find(...)
| S.find(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| format(...)
| S.format(*args, **kwargs) -> str
|
| Return a formatted version of S, using substitutions from args and kwargs.
| The substitutions are identified by braces ('{' and '}').
|
| format_map(...)
| S.format_map(mapping) -> str
|
| Return a formatted version of S, using substitutions from mapping.
| The substitutions are identified by braces ('{' and '}').
|
| index(...)
| S.index(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| isalnum(self, /)
| Return True if the string is an alpha-numeric string, False otherwise.
|
| A string is alpha-numeric if all characters in the string are alpha-numeric and
| there is at least one character in the string.
|
| isalpha(self, /)
| Return True if the string is an alphabetic string, False otherwise.
|
| A string is alphabetic if all characters in the string are alphabetic and there
| is at least one character in the string.
|
| isascii(self, /)
| Return True if all characters in the string are ASCII, False otherwise.
|
| ASCII characters have code points in the range U+0000-U+007F.
| Empty string is ASCII too.
|
| isdecimal(self, /)
| Return True if the string is a decimal string, False otherwise.
|
| A string is a decimal string if all characters in the string are decimal and
| there is at least one character in the string.
|
| isdigit(self, /)
| Return True if the string is a digit string, False otherwise.
|
| A string is a digit string if all characters in the string are digits and there
| is at least one character in the string.
|
| isidentifier(self, /)
| Return True if the string is a valid Python identifier, False otherwise.
|
| Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
| such as "def" or "class".
|
| islower(self, /)
| Return True if the string is a lowercase string, False otherwise.
|
| A string is lowercase if all cased characters in the string are lowercase and
| there is at least one cased character in the string.
|
| isnumeric(self, /)
| Return True if the string is a numeric string, False otherwise.
|
| A string is numeric if all characters in the string are numeric and there is at
| least one character in the string.
|
| isprintable(self, /)
| Return True if the string is printable, False otherwise.
|
| A string is printable if all of its characters are considered printable in
| repr() or if it is empty.
|
| isspace(self, /)
| Return True if the string is a whitespace string, False otherwise.
|
| A string is whitespace if all characters in the string are whitespace and there
| is at least one character in the string.
|
| istitle(self, /)
| Return True if the string is a title-cased string, False otherwise.
|
| In a title-cased string, upper- and title-case characters may only
| follow uncased characters and lowercase characters only cased ones.
|
| isupper(self, /)
| Return True if the string is an uppercase string, False otherwise.
|
| A string is uppercase if all cased characters in the string are uppercase and
| there is at least one cased character in the string.
|
| join(self, iterable, /)
| Concatenate any number of strings.
|
| The string whose method is called is inserted in between each given string.
| The result is returned as a new string.
|
| Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
|
| ljust(self, width, fillchar=' ', /)
| Return a left-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| lower(self, /)
| Return a copy of the string converted to lowercase.
|
| lstrip(self, chars=None, /)
| Return a copy of the string with leading whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| partition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string. If the separator is found,
| returns a 3-tuple containing the part before the separator, the separator
| itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing the original string
| and two empty strings.
|
| removeprefix(self, prefix, /)
| Return a str with the given prefix string removed if present.
|
| If the string starts with the prefix string, return string[len(prefix):].
| Otherwise, return a copy of the original string.
|
| removesuffix(self, suffix, /)
| Return a str with the given suffix string removed if present.
|
| If the string ends with the suffix string and that suffix is not empty,
| return string[:-len(suffix)]. Otherwise, return a copy of the original
| string.
|
| replace(self, old, new, count=-1, /)
| Return a copy with all occurrences of substring old replaced by new.
|
| count
| Maximum number of occurrences to replace.
| -1 (the default value) means replace all occurrences.
|
| If the optional argument count is given, only the first count occurrences are
| replaced.
|
| rfind(...)
| S.rfind(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| rindex(...)
| S.rindex(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| rjust(self, width, fillchar=' ', /)
| Return a right-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| rpartition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string, starting at the end. If
| the separator is found, returns a 3-tuple containing the part before the
| separator, the separator itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing two empty strings
| and the original string.
|
| rsplit(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the end of the string and works to the front.
|
| rstrip(self, chars=None, /)
| Return a copy of the string with trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| split(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the front of the string and works to the end.
|
| Note, str.split() is mainly useful for data that has been intentionally
| delimited. With natural text that includes punctuation, consider using
| the regular expression module.
|
| splitlines(self, /, keepends=False)
| Return a list of the lines in the string, breaking at line boundaries.
|
| Line breaks are not included in the resulting list unless keepends is given and
| true.
|
| startswith(...)
| S.startswith(prefix[, start[, end]]) -> bool
|
| Return True if S starts with the specified prefix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| prefix can also be a tuple of strings to try.
|
| strip(self, chars=None, /)
| Return a copy of the string with leading and trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| swapcase(self, /)
| Convert uppercase characters to lowercase and lowercase characters to uppercase.
|
| title(self, /)
| Return a version of the string where each word is titlecased.
|
| More specifically, words start with uppercased characters and all remaining
| cased characters have lower case.
|
| translate(self, table, /)
| Replace each character in the string using the given translation table.
|
| table
| Translation table, which must be a mapping of Unicode ordinals to
| Unicode ordinals, strings, or None.
|
| The table must implement lookup/indexing via __getitem__, for instance a
| dictionary or list. If this operation raises LookupError, the character is
| left untouched. Characters mapped to None are deleted.
|
| upper(self, /)
| Return a copy of the string converted to uppercase.
|
| zfill(self, width, /)
| Pad a numeric string with zeros on the left, to fill a field of the given width.
|
| The string is never truncated.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.str:
|
| maketrans(...)
| Return a translation table usable for str.translate().
|
| If there is only one argument, it must be a dictionary mapping Unicode
| ordinals (integers) or characters to Unicode ordinals, strings or None.
| Character keys will be then converted to ordinals.
| If there are two arguments, they must be strings of equal length, and
| in the resulting dictionary, each character in x will be mapped to the
| character at the same position in y. If there is a third argument, it
| must be a string, whose characters will be mapped to None in the result.
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class SessionAttribute(builtins.str, enum.Enum)
| SessionAttribute(*values)
|
| Method resolution order:
| SessionAttribute
| builtins.str
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec) from enum.Enum
| Default object formatter.
|
| Return str(self) if format_spec is empty. Raise TypeError otherwise.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| __str__(self) from enum.Enum
| Return str(self).
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| any = <SessionAttribute.any: 'any'>
|
| prefer_standby = <SessionAttribute.prefer_standby: 'prefer-standby'>
|
| primary = <SessionAttribute.primary: 'primary'>
|
| read_only = <SessionAttribute.read_only: 'read-only'>
|
| read_write = <SessionAttribute.read_write: 'read-write'>
|
| standby = <SessionAttribute.standby: 'standby'>
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.str:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(...)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __sizeof__(self, /)
| Return the size of the string in memory, in bytes.
|
| capitalize(self, /)
| Return a capitalized version of the string.
|
| More specifically, make the first character have upper case and the rest lower
| case.
|
| casefold(self, /)
| Return a version of the string suitable for caseless comparisons.
|
| center(self, width, fillchar=' ', /)
| Return a centered string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| count(...)
| S.count(sub[, start[, end]]) -> int
|
| Return the number of non-overlapping occurrences of substring sub in
| string S[start:end]. Optional arguments start and end are
| interpreted as in slice notation.
|
| encode(self, /, encoding='utf-8', errors='strict')
| Encode the string using the codec registered for encoding.
|
| encoding
| The encoding in which to encode the string.
| errors
| The error handling scheme to use for encoding errors.
| The default is 'strict' meaning that encoding errors raise a
| UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
| 'xmlcharrefreplace' as well as any other name registered with
| codecs.register_error that can handle UnicodeEncodeErrors.
|
| endswith(...)
| S.endswith(suffix[, start[, end]]) -> bool
|
| Return True if S ends with the specified suffix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| suffix can also be a tuple of strings to try.
|
| expandtabs(self, /, tabsize=8)
| Return a copy where all tab characters are expanded using spaces.
|
| If tabsize is not given, a tab size of 8 characters is assumed.
|
| find(...)
| S.find(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| format(...)
| S.format(*args, **kwargs) -> str
|
| Return a formatted version of S, using substitutions from args and kwargs.
| The substitutions are identified by braces ('{' and '}').
|
| format_map(...)
| S.format_map(mapping) -> str
|
| Return a formatted version of S, using substitutions from mapping.
| The substitutions are identified by braces ('{' and '}').
|
| index(...)
| S.index(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| isalnum(self, /)
| Return True if the string is an alpha-numeric string, False otherwise.
|
| A string is alpha-numeric if all characters in the string are alpha-numeric and
| there is at least one character in the string.
|
| isalpha(self, /)
| Return True if the string is an alphabetic string, False otherwise.
|
| A string is alphabetic if all characters in the string are alphabetic and there
| is at least one character in the string.
|
| isascii(self, /)
| Return True if all characters in the string are ASCII, False otherwise.
|
| ASCII characters have code points in the range U+0000-U+007F.
| Empty string is ASCII too.
|
| isdecimal(self, /)
| Return True if the string is a decimal string, False otherwise.
|
| A string is a decimal string if all characters in the string are decimal and
| there is at least one character in the string.
|
| isdigit(self, /)
| Return True if the string is a digit string, False otherwise.
|
| A string is a digit string if all characters in the string are digits and there
| is at least one character in the string.
|
| isidentifier(self, /)
| Return True if the string is a valid Python identifier, False otherwise.
|
| Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
| such as "def" or "class".
|
| islower(self, /)
| Return True if the string is a lowercase string, False otherwise.
|
| A string is lowercase if all cased characters in the string are lowercase and
| there is at least one cased character in the string.
|
| isnumeric(self, /)
| Return True if the string is a numeric string, False otherwise.
|
| A string is numeric if all characters in the string are numeric and there is at
| least one character in the string.
|
| isprintable(self, /)
| Return True if the string is printable, False otherwise.
|
| A string is printable if all of its characters are considered printable in
| repr() or if it is empty.
|
| isspace(self, /)
| Return True if the string is a whitespace string, False otherwise.
|
| A string is whitespace if all characters in the string are whitespace and there
| is at least one character in the string.
|
| istitle(self, /)
| Return True if the string is a title-cased string, False otherwise.
|
| In a title-cased string, upper- and title-case characters may only
| follow uncased characters and lowercase characters only cased ones.
|
| isupper(self, /)
| Return True if the string is an uppercase string, False otherwise.
|
| A string is uppercase if all cased characters in the string are uppercase and
| there is at least one cased character in the string.
|
| join(self, iterable, /)
| Concatenate any number of strings.
|
| The string whose method is called is inserted in between each given string.
| The result is returned as a new string.
|
| Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
|
| ljust(self, width, fillchar=' ', /)
| Return a left-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| lower(self, /)
| Return a copy of the string converted to lowercase.
|
| lstrip(self, chars=None, /)
| Return a copy of the string with leading whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| partition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string. If the separator is found,
| returns a 3-tuple containing the part before the separator, the separator
| itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing the original string
| and two empty strings.
|
| removeprefix(self, prefix, /)
| Return a str with the given prefix string removed if present.
|
| If the string starts with the prefix string, return string[len(prefix):].
| Otherwise, return a copy of the original string.
|
| removesuffix(self, suffix, /)
| Return a str with the given suffix string removed if present.
|
| If the string ends with the suffix string and that suffix is not empty,
| return string[:-len(suffix)]. Otherwise, return a copy of the original
| string.
|
| replace(self, old, new, count=-1, /)
| Return a copy with all occurrences of substring old replaced by new.
|
| count
| Maximum number of occurrences to replace.
| -1 (the default value) means replace all occurrences.
|
| If the optional argument count is given, only the first count occurrences are
| replaced.
|
| rfind(...)
| S.rfind(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| rindex(...)
| S.rindex(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| rjust(self, width, fillchar=' ', /)
| Return a right-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| rpartition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string, starting at the end. If
| the separator is found, returns a 3-tuple containing the part before the
| separator, the separator itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing two empty strings
| and the original string.
|
| rsplit(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the end of the string and works to the front.
|
| rstrip(self, chars=None, /)
| Return a copy of the string with trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| split(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the front of the string and works to the end.
|
| Note, str.split() is mainly useful for data that has been intentionally
| delimited. With natural text that includes punctuation, consider using
| the regular expression module.
|
| splitlines(self, /, keepends=False)
| Return a list of the lines in the string, breaking at line boundaries.
|
| Line breaks are not included in the resulting list unless keepends is given and
| true.
|
| startswith(...)
| S.startswith(prefix[, start[, end]]) -> bool
|
| Return True if S starts with the specified prefix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| prefix can also be a tuple of strings to try.
|
| strip(self, chars=None, /)
| Return a copy of the string with leading and trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| swapcase(self, /)
| Convert uppercase characters to lowercase and lowercase characters to uppercase.
|
| title(self, /)
| Return a version of the string where each word is titlecased.
|
| More specifically, words start with uppercased characters and all remaining
| cased characters have lower case.
|
| translate(self, table, /)
| Replace each character in the string using the given translation table.
|
| table
| Translation table, which must be a mapping of Unicode ordinals to
| Unicode ordinals, strings, or None.
|
| The table must implement lookup/indexing via __getitem__, for instance a
| dictionary or list. If this operation raises LookupError, the character is
| left untouched. Characters mapped to None are deleted.
|
| upper(self, /)
| Return a copy of the string converted to uppercase.
|
| zfill(self, width, /)
| Pad a numeric string with zeros on the left, to fill a field of the given width.
|
| The string is never truncated.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.str:
|
| maketrans(...)
| Return a translation table usable for str.translate().
|
| If there is only one argument, it must be a dictionary mapping Unicode
| ordinals (integers) or characters to Unicode ordinals, strings or None.
| Character keys will be then converted to ordinals.
| If there are two arguments, they must be strings of equal length, and
| in the resulting dictionary, each character in x will be mapped to the
| character at the same position in y. If there is a third argument, it
| must be a string, whose characters will be mapped to None in the result.
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class TLSUpgradeProto(asyncio.protocols.Protocol)
| TLSUpgradeProto(loop: 'asyncio.AbstractEventLoop', host: 'str', port: 'int', ssl_context: 'ssl_module.SSLContext', ssl_is_advisory: 'bool') -> 'None'
|
| Method resolution order:
| TLSUpgradeProto
| asyncio.protocols.Protocol
| asyncio.protocols.BaseProtocol
| builtins.object
|
| Methods defined here:
|
| __init__(self, loop: 'asyncio.AbstractEventLoop', host: 'str', port: 'int', ssl_context: 'ssl_module.SSLContext', ssl_is_advisory: 'bool') -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| connection_lost(self, exc: 'typing.Optional[Exception]') -> 'None'
| Called when the connection is lost or closed.
|
| The argument is an exception object or None (the latter
| meaning a regular EOF is received or the connection was
| aborted or closed).
|
| data_received(self, data: 'bytes') -> 'None'
| Called when some data is received.
|
| The argument is a bytes object.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __dict__
| dictionary for instance variables
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncio.protocols.Protocol:
|
| eof_received(self)
| Called when the other end calls write_eof() or equivalent.
|
| If this returns a false value (including None), the transport
| will close itself. If it returns a true value, closing the
| transport is up to the protocol.
|
| ----------------------------------------------------------------------
| Methods inherited from asyncio.protocols.BaseProtocol:
|
| connection_made(self, transport)
| Called when a connection is made.
|
| The argument is the transport representing the pipe connection.
| To receive data, wait for data_received() calls.
| When the connection is closed, connection_lost() is called.
|
| pause_writing(self)
| Called when the transport's buffer goes over the high-water mark.
|
| Pause and resume calls are paired -- pause_writing() is called
| once when the buffer goes strictly over the high-water mark
| (even if subsequent writes increases the buffer size even
| more), and eventually resume_writing() is called once when the
| buffer size reaches the low-water mark.
|
| Note that if the buffer size equals the high-water mark,
| pause_writing() is not called -- it must go strictly over.
| Conversely, resume_writing() is called when the buffer size is
| equal or lower than the low-water mark. These end conditions
| are important to ensure that things go as expected when either
| mark is zero.
|
| NOTE: This is the only Protocol callback that is not called
| through EventLoop.call_soon() -- if it were, it would have no
| effect when it's most needed (when the app keeps writing
| without yielding until pause_writing() is called).
|
| resume_writing(self)
| Called when the transport's buffer drains below the low-water mark.
|
| See pause_writing() for details.
DATA
PGPASSFILE = 'pgpass.conf'
PG_SERVICEFILE = '.pg_service.conf'
target_attrs_check = {<SessionAttribute.any: 'any'>: <function _accept...
FILE
c:\users\youse\appdata\local\programs\python\python312\lib\site-packages\asyncpg\connect_utils.py
asyncpg.connection
Python Library Documentation: module asyncpg.connection in asyncpg
NAME
asyncpg.connection
DESCRIPTION
# Copyright (C) 2016-present the asyncpg authors and contributors
# <see AUTHORS file>
#
# This module is part of asyncpg and is released under
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
CLASSES
builtins.object
Connection
builtins.tuple(builtins.object)
LoggedQuery
ServerCapabilities
builtins.type(builtins.object)
ConnectionMeta
class Connection(builtins.object)
| Connection(protocol, transport, loop, addr, config: asyncpg.connect_utils.ConnectionConfiguration, params: asyncpg.connect_utils.ConnectionParameters)
|
| A representation of a database session.
|
| Connections are created by calling :func:`~asyncpg.connection.connect`.
|
| Methods defined here:
|
| __del__(self)
|
| __init__(self, protocol, transport, loop, addr, config: asyncpg.connect_utils.ConnectionConfiguration, params: asyncpg.connect_utils.ConnectionParameters)
| Initialize self. See help(type(self)) for accurate signature.
|
| async add_listener(self, channel, callback)
| Add a listener for Postgres notifications.
|
| :param str channel: Channel to listen on.
|
| :param callable callback:
| A callable or a coroutine function receiving the following
| arguments:
| **connection**: a Connection the callback is registered with;
| **pid**: PID of the Postgres server that sent the notification;
| **channel**: name of the channel the notification was sent to;
| **payload**: the payload.
|
| .. versionchanged:: 0.24.0
| The ``callback`` argument may be a coroutine function.
|
| add_log_listener(self, callback)
| Add a listener for Postgres log messages.
|
| It will be called when asyncronous NoticeResponse is received
| from the connection. Possible message types are: WARNING, NOTICE,
| DEBUG, INFO, or LOG.
|
| :param callable callback:
| A callable or a coroutine function receiving the following
| arguments:
| **connection**: a Connection the callback is registered with;
| **message**: the `exceptions.PostgresLogMessage` message.
|
| .. versionadded:: 0.12.0
|
| .. versionchanged:: 0.24.0
| The ``callback`` argument may be a coroutine function.
|
| add_query_logger(self, callback)
| Add a logger that will be called when queries are executed.
|
| :param callable callback:
| A callable or a coroutine function receiving one argument:
| **record**, a LoggedQuery containing `query`, `args`, `timeout`,
| `elapsed`, `exception`, `conn_addr`, and `conn_params`.
|
| .. versionadded:: 0.29.0
|
| add_termination_listener(self, callback)
| Add a listener that will be called when the connection is closed.
|
| :param callable callback:
| A callable or a coroutine function receiving one argument:
| **connection**: a Connection the callback is registered with.
|
| .. versionadded:: 0.21.0
|
| .. versionchanged:: 0.24.0
| The ``callback`` argument may be a coroutine function.
|
| async close(self, *, timeout=None)
| Close the connection gracefully.
|
| :param float timeout:
| Optional timeout value in seconds.
|
| .. versionchanged:: 0.14.0
| Added the *timeout* parameter.
|
| async copy_from_query(self, query, *args, output, timeout=None, format=None, oids=None, delimiter=None, null=None, header=None, quote=None, escape=None, force_quote=None, encoding=None)
| Copy the results of a query to a file or file-like object.
|
| :param str query:
| The query to copy the results of.
|
| :param args:
| Query arguments.
|
| :param output:
| A :term:`path-like object <python:path-like object>`,
| or a :term:`file-like object <python:file-like object>`, or
| a :term:`coroutine function <python:coroutine function>`
| that takes a ``bytes`` instance as a sole argument.
|
| :param float timeout:
| Optional timeout value in seconds.
|
| The remaining keyword arguments are ``COPY`` statement options,
| see `COPY statement documentation`_ for details.
|
| :return: The status string of the COPY command.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... result = await con.copy_from_query(
| ... 'SELECT foo, bar FROM mytable WHERE foo > $1', 10,
| ... output='file.csv', format='csv')
| ... print(result)
| ...
| >>> asyncio.run(run())
| 'COPY 10'
|
| .. _`COPY statement documentation`:
| https://www.postgresql.org/docs/current/static/sql-copy.html
|
| .. versionadded:: 0.11.0
|
| async copy_from_table(self, table_name, *, output, columns=None, schema_name=None, timeout=None, format=None, oids=None, delimiter=None, null=None, header=None, quote=None, escape=None, force_quote=None, encoding=None)
| Copy table contents to a file or file-like object.
|
| :param str table_name:
| The name of the table to copy data from.
|
| :param output:
| A :term:`path-like object <python:path-like object>`,
| or a :term:`file-like object <python:file-like object>`, or
| a :term:`coroutine function <python:coroutine function>`
| that takes a ``bytes`` instance as a sole argument.
|
| :param list columns:
| An optional list of column names to copy.
|
| :param str schema_name:
| An optional schema name to qualify the table.
|
| :param float timeout:
| Optional timeout value in seconds.
|
| The remaining keyword arguments are ``COPY`` statement options,
| see `COPY statement documentation`_ for details.
|
| :return: The status string of the COPY command.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... result = await con.copy_from_table(
| ... 'mytable', columns=('foo', 'bar'),
| ... output='file.csv', format='csv')
| ... print(result)
| ...
| >>> asyncio.run(run())
| 'COPY 100'
|
| .. _`COPY statement documentation`:
| https://www.postgresql.org/docs/current/static/sql-copy.html
|
| .. versionadded:: 0.11.0
|
| async copy_records_to_table(self, table_name, *, records, columns=None, schema_name=None, timeout=None, where=None)
| Copy a list of records to the specified table using binary COPY.
|
| :param str table_name:
| The name of the table to copy data to.
|
| :param records:
| An iterable returning row tuples to copy into the table.
| :term:`Asynchronous iterables <python:asynchronous iterable>`
| are also supported.
|
| :param list columns:
| An optional list of column names to copy.
|
| :param str schema_name:
| An optional schema name to qualify the table.
|
| :param str where:
| An optional SQL expression used to filter rows when copying.
|
| .. note::
|
| Usage of this parameter requires support for the
| ``COPY FROM ... WHERE`` syntax, introduced in
| PostgreSQL version 12.
|
|
| :param float timeout:
| Optional timeout value in seconds.
|
| :return: The status string of the COPY command.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... result = await con.copy_records_to_table(
| ... 'mytable', records=[
| ... (1, 'foo', 'bar'),
| ... (2, 'ham', 'spam')])
| ... print(result)
| ...
| >>> asyncio.run(run())
| 'COPY 2'
|
| Asynchronous record iterables are also supported:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... async def record_gen(size):
| ... for i in range(size):
| ... yield (i,)
| ... result = await con.copy_records_to_table(
| ... 'mytable', records=record_gen(100))
| ... print(result)
| ...
| >>> asyncio.run(run())
| 'COPY 100'
|
| .. versionadded:: 0.11.0
|
| .. versionchanged:: 0.24.0
| The ``records`` argument may be an asynchronous iterable.
|
| .. versionadded:: 0.29.0
| Added the *where* parameter.
|
| async copy_to_table(self, table_name, *, source, columns=None, schema_name=None, timeout=None, format=None, oids=None, freeze=None, delimiter=None, null=None, header=None, quote=None, escape=None, force_quote=None, force_not_null=None, force_null=None, encoding=None, where=None)
| Copy data to the specified table.
|
| :param str table_name:
| The name of the table to copy data to.
|
| :param source:
| A :term:`path-like object <python:path-like object>`,
| or a :term:`file-like object <python:file-like object>`, or
| an :term:`asynchronous iterable <python:asynchronous iterable>`
| that returns ``bytes``, or an object supporting the
| :ref:`buffer protocol <python:bufferobjects>`.
|
| :param list columns:
| An optional list of column names to copy.
|
| :param str schema_name:
| An optional schema name to qualify the table.
|
| :param str where:
| An optional SQL expression used to filter rows when copying.
|
| .. note::
|
| Usage of this parameter requires support for the
| ``COPY FROM ... WHERE`` syntax, introduced in
| PostgreSQL version 12.
|
| :param float timeout:
| Optional timeout value in seconds.
|
| The remaining keyword arguments are ``COPY`` statement options,
| see `COPY statement documentation`_ for details.
|
| :return: The status string of the COPY command.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... result = await con.copy_to_table(
| ... 'mytable', source='datafile.tbl')
| ... print(result)
| ...
| >>> asyncio.run(run())
| 'COPY 140000'
|
| .. _`COPY statement documentation`:
| https://www.postgresql.org/docs/current/static/sql-copy.html
|
| .. versionadded:: 0.11.0
|
| .. versionadded:: 0.29.0
| Added the *where* parameter.
|
| cursor(self, query, *args, prefetch=None, timeout=None, record_class=None)
| Return a *cursor factory* for the specified query.
|
| :param args:
| Query arguments.
| :param int prefetch:
| The number of rows the *cursor iterator*
| will prefetch (defaults to ``50``.)
| :param float timeout:
| Optional timeout in seconds.
| :param type record_class:
| If specified, the class to use for records returned by this cursor.
| Must be a subclass of :class:`~asyncpg.Record`. If not specified,
| a per-connection *record_class* is used.
|
| :return:
| A :class:`~cursor.CursorFactory` object.
|
| .. versionchanged:: 0.22.0
| Added the *record_class* parameter.
|
| async execute(self, query: str, *args, timeout: Optional[float] = None) -> str
| Execute an SQL command (or commands).
|
| This method can execute many SQL commands at once, when no arguments
| are provided.
|
| Example:
|
| .. code-block:: pycon
|
| >>> await con.execute('''
| ... CREATE TABLE mytab (a int);
| ... INSERT INTO mytab (a) VALUES (100), (200), (300);
| ... ''')
| INSERT 0 3
|
| >>> await con.execute('''
| ... INSERT INTO mytab (a) VALUES ($1), ($2)
| ... ''', 10, 20)
| INSERT 0 2
|
| :param args: Query arguments.
| :param float timeout: Optional timeout value in seconds.
| :return str: Status of the last SQL command.
|
| .. versionchanged:: 0.5.4
| Made it possible to pass query arguments.
|
| async executemany(self, command: str, args, *, timeout: Optional[float] = None)
| Execute an SQL *command* for each sequence of arguments in *args*.
|
| Example:
|
| .. code-block:: pycon
|
| >>> await con.executemany('''
| ... INSERT INTO mytab (a) VALUES ($1, $2, $3);
| ... ''', [(1, 2, 3), (4, 5, 6)])
|
| :param command: Command to execute.
| :param args: An iterable containing sequences of arguments.
| :param float timeout: Optional timeout value in seconds.
| :return None: This method discards the results of the operations.
|
| .. versionadded:: 0.7.0
|
| .. versionchanged:: 0.11.0
| `timeout` became a keyword-only parameter.
|
| .. versionchanged:: 0.22.0
| ``executemany()`` is now an atomic operation, which means that
| either all executions succeed, or none at all. This is in contrast
| to prior versions, where the effect of already-processed iterations
| would remain in place when an error has occurred, unless
| ``executemany()`` was called in a transaction.
|
| async fetch(self, query, *args, timeout=None, record_class=None) -> list
| Run a query and return the results as a list of :class:`Record`.
|
| :param str query:
| Query text.
| :param args:
| Query arguments.
| :param float timeout:
| Optional timeout value in seconds.
| :param type record_class:
| If specified, the class to use for records returned by this method.
| Must be a subclass of :class:`~asyncpg.Record`. If not specified,
| a per-connection *record_class* is used.
|
| :return list:
| A list of :class:`~asyncpg.Record` instances. If specified, the
| actual type of list elements would be *record_class*.
|
| .. versionchanged:: 0.22.0
| Added the *record_class* parameter.
|
| async fetchmany(self, query, args, *, timeout: Optional[float] = None, record_class=None)
| Run a query for each sequence of arguments in *args*
| and return the results as a list of :class:`Record`.
|
| :param query:
| Query to execute.
| :param args:
| An iterable containing sequences of arguments for the query.
| :param float timeout:
| Optional timeout value in seconds.
| :param type record_class:
| If specified, the class to use for records returned by this method.
| Must be a subclass of :class:`~asyncpg.Record`. If not specified,
| a per-connection *record_class* is used.
|
| :return list:
| A list of :class:`~asyncpg.Record` instances. If specified, the
| actual type of list elements would be *record_class*.
|
| Example:
|
| .. code-block:: pycon
|
| >>> rows = await con.fetchmany('''
| ... INSERT INTO mytab (a, b) VALUES ($1, $2) RETURNING a;
| ... ''', [('x', 1), ('y', 2), ('z', 3)])
| >>> rows
| [<Record row=('x',)>, <Record row=('y',)>, <Record row=('z',)>]
|
| .. versionadded:: 0.30.0
|
| async fetchrow(self, query, *args, timeout=None, record_class=None)
| Run a query and return the first row.
|
| :param str query:
| Query text
| :param args:
| Query arguments
| :param float timeout:
| Optional timeout value in seconds.
| :param type record_class:
| If specified, the class to use for the value returned by this
| method. Must be a subclass of :class:`~asyncpg.Record`.
| If not specified, a per-connection *record_class* is used.
|
| :return:
| The first row as a :class:`~asyncpg.Record` instance, or None if
| no records were returned by the query. If specified,
| *record_class* is used as the type for the result value.
|
| .. versionchanged:: 0.22.0
| Added the *record_class* parameter.
|
| async fetchval(self, query, *args, column=0, timeout=None)
| Run a query and return a value in the first row.
|
| :param str query: Query text.
| :param args: Query arguments.
| :param int column: Numeric index within the record of the value to
| return (defaults to 0).
| :param float timeout: Optional timeout value in seconds.
| If not specified, defaults to the value of
| ``command_timeout`` argument to the ``Connection``
| instance constructor.
|
| :return: The value of the specified column of the first record, or
| None if no records were returned by the query.
|
| get_reset_query(self)
| Return the query sent to server on connection release.
|
| The query returned by this method is used by :meth:`Connection.reset`,
| which is, in turn, used by :class:`~asyncpg.pool.Pool` before making
| the connection available to another acquirer.
|
| .. versionadded:: 0.30.0
|
| get_server_pid(self)
| Return the PID of the Postgres server the connection is bound to.
|
| get_server_version(self)
| Return the version of the connected PostgreSQL server.
|
| The returned value is a named tuple similar to that in
| ``sys.version_info``:
|
| .. code-block:: pycon
|
| >>> con.get_server_version()
| ServerVersion(major=9, minor=6, micro=1,
| releaselevel='final', serial=0)
|
| .. versionadded:: 0.8.0
|
| get_settings(self)
| Return connection settings.
|
| :return: :class:`~asyncpg.ConnectionSettings`.
|
| is_closed(self)
| Return ``True`` if the connection is closed, ``False`` otherwise.
|
| :return bool: ``True`` if the connection is closed, ``False``
| otherwise.
|
| is_in_transaction(self)
| Return True if Connection is currently inside a transaction.
|
| :return bool: True if inside transaction, False otherwise.
|
| .. versionadded:: 0.16.0
|
| async prepare(self, query, *, name=None, timeout=None, record_class=None)
| Create a *prepared statement* for the specified query.
|
| :param str query:
| Text of the query to create a prepared statement for.
| :param str name:
| Optional name of the returned prepared statement. If not
| specified, the name is auto-generated.
| :param float timeout:
| Optional timeout value in seconds.
| :param type record_class:
| If specified, the class to use for records returned by the
| prepared statement. Must be a subclass of
| :class:`~asyncpg.Record`. If not specified, a per-connection
| *record_class* is used.
|
| :return:
| A :class:`~prepared_stmt.PreparedStatement` instance.
|
| .. versionchanged:: 0.22.0
| Added the *record_class* parameter.
|
| .. versionchanged:: 0.25.0
| Added the *name* parameter.
|
| query_logger(self, callback)
| Context manager that adds `callback` to the list of query loggers,
| and removes it upon exit.
|
| :param callable callback:
| A callable or a coroutine function receiving one argument:
| **record**, a LoggedQuery containing `query`, `args`, `timeout`,
| `elapsed`, `exception`, `conn_addr`, and `conn_params`.
|
| Example:
|
| .. code-block:: pycon
|
| >>> class QuerySaver:
| def __init__(self):
| self.queries = []
| def __call__(self, record):
| self.queries.append(record.query)
| >>> with con.query_logger(QuerySaver()):
| >>> await con.execute("SELECT 1")
| >>> print(log.queries)
| ['SELECT 1']
|
| .. versionadded:: 0.29.0
|
| async reload_schema_state(self)
| Indicate that the database schema information must be reloaded.
|
| For performance reasons, asyncpg caches certain aspects of the
| database schema, such as the layout of composite types. Consequently,
| when the database schema changes, and asyncpg is not able to
| gracefully recover from an error caused by outdated schema
| assumptions, an :exc:`~asyncpg.exceptions.OutdatedSchemaCacheError`
| is raised. To prevent the exception, this method may be used to inform
| asyncpg that the database schema has changed.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def change_type(con):
| ... result = await con.fetch('SELECT id, info FROM tbl')
| ... # Change composite's attribute type "int"=>"text"
| ... await con.execute('ALTER TYPE custom DROP ATTRIBUTE y')
| ... await con.execute('ALTER TYPE custom ADD ATTRIBUTE y text')
| ... await con.reload_schema_state()
| ... for id_, info in result:
| ... new = (info['x'], str(info['y']))
| ... await con.execute(
| ... 'UPDATE tbl SET info=$2 WHERE id=$1', id_, new)
| ...
| >>> async def run():
| ... # Initial schema:
| ... # CREATE TYPE custom AS (x int, y int);
| ... # CREATE TABLE tbl(id int, info custom);
| ... con = await asyncpg.connect(user='postgres')
| ... async with con.transaction():
| ... # Prevent concurrent changes in the table
| ... await con.execute('LOCK TABLE tbl')
| ... await change_type(con)
| ...
| >>> asyncio.run(run())
|
| .. versionadded:: 0.14.0
|
| async remove_listener(self, channel, callback)
| Remove a listening callback on the specified channel.
|
| remove_log_listener(self, callback)
| Remove a listening callback for log messages.
|
| .. versionadded:: 0.12.0
|
| remove_query_logger(self, callback)
| Remove a query logger callback.
|
| :param callable callback:
| The callable or coroutine function that was passed to
| :meth:`Connection.add_query_logger`.
|
| .. versionadded:: 0.29.0
|
| remove_termination_listener(self, callback)
| Remove a listening callback for connection termination.
|
| :param callable callback:
| The callable or coroutine function that was passed to
| :meth:`Connection.add_termination_listener`.
|
| .. versionadded:: 0.21.0
|
| async reset(self, *, timeout=None)
| Reset the connection state.
|
| Calling this will reset the connection session state to a state
| resembling that of a newly obtained connection. Namely, an open
| transaction (if any) is rolled back, open cursors are closed,
| all `LISTEN <https://www.postgresql.org/docs/current/sql-listen.html>`_
| registrations are removed, all session configuration
| variables are reset to their default values, and all advisory locks
| are released.
|
| Note that the above describes the default query returned by
| :meth:`Connection.get_reset_query`. If one overloads the method
| by subclassing ``Connection``, then this method will do whatever
| the overloaded method returns, except open transactions are always
| terminated and any callbacks registered by
| :meth:`Connection.add_listener` or :meth:`Connection.add_log_listener`
| are removed.
|
| :param float timeout:
| A timeout for resetting the connection. If not specified, defaults
| to no timeout.
|
| async reset_type_codec(self, typename, *, schema='public')
| Reset *typename* codec to the default implementation.
|
| :param typename:
| Name of the data type the codec is for.
|
| :param schema:
| Schema name of the data type the codec is for
| (defaults to ``'public'``)
|
| .. versionadded:: 0.12.0
|
| async set_builtin_type_codec(self, typename, *, schema='public', codec_name, format=None)
| Set a builtin codec for the specified scalar data type.
|
| This method has two uses. The first is to register a builtin
| codec for an extension type without a stable OID, such as 'hstore'.
| The second use is to declare that an extension type or a
| user-defined type is wire-compatible with a certain builtin
| data type and should be exchanged as such.
|
| :param typename:
| Name of the data type the codec is for.
|
| :param schema:
| Schema name of the data type the codec is for
| (defaults to ``'public'``).
|
| :param codec_name:
| The name of the builtin codec to use for the type.
| This should be either the name of a known core type
| (such as ``"int"``), or the name of a supported extension
| type. Currently, the only supported extension type is
| ``"pg_contrib.hstore"``.
|
| :param format:
| If *format* is ``None`` (the default), all formats supported
| by the target codec are declared to be supported for *typename*.
| If *format* is ``'text'`` or ``'binary'``, then only the
| specified format is declared to be supported for *typename*.
|
| .. versionchanged:: 0.18.0
| The *codec_name* argument can be the name of any known
| core data type. Added the *format* keyword argument.
|
| async set_type_codec(self, typename, *, schema='public', encoder, decoder, format='text')
| Set an encoder/decoder pair for the specified data type.
|
| :param typename:
| Name of the data type the codec is for.
|
| :param schema:
| Schema name of the data type the codec is for
| (defaults to ``'public'``)
|
| :param format:
| The type of the argument received by the *decoder* callback,
| and the type of the *encoder* callback return value.
|
| If *format* is ``'text'`` (the default), the exchange datum is a
| ``str`` instance containing valid text representation of the
| data type.
|
| If *format* is ``'binary'``, the exchange datum is a ``bytes``
| instance containing valid _binary_ representation of the
| data type.
|
| If *format* is ``'tuple'``, the exchange datum is a type-specific
| ``tuple`` of values. The table below lists supported data
| types and their format for this mode.
|
| +-----------------+---------------------------------------------+
| | Type | Tuple layout |
| +=================+=============================================+
| | ``interval`` | (``months``, ``days``, ``microseconds``) |
| +-----------------+---------------------------------------------+
| | ``date`` | (``date ordinal relative to Jan 1 2000``,) |
| | | ``-2^31`` for negative infinity timestamp |
| | | ``2^31-1`` for positive infinity timestamp. |
| +-----------------+---------------------------------------------+
| | ``timestamp`` | (``microseconds relative to Jan 1 2000``,) |
| | | ``-2^63`` for negative infinity timestamp |
| | | ``2^63-1`` for positive infinity timestamp. |
| +-----------------+---------------------------------------------+
| | ``timestamp | (``microseconds relative to Jan 1 2000 |
| | with time zone``| UTC``,) |
| | | ``-2^63`` for negative infinity timestamp |
| | | ``2^63-1`` for positive infinity timestamp. |
| +-----------------+---------------------------------------------+
| | ``time`` | (``microseconds``,) |
| +-----------------+---------------------------------------------+
| | ``time with | (``microseconds``, |
| | time zone`` | ``time zone offset in seconds``) |
| +-----------------+---------------------------------------------+
| | any composite | Composite value elements |
| | type | |
| +-----------------+---------------------------------------------+
|
| :param encoder:
| Callable accepting a Python object as a single argument and
| returning a value encoded according to *format*.
|
| :param decoder:
| Callable accepting a single argument encoded according to *format*
| and returning a decoded Python object.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> import datetime
| >>> from dateutil.relativedelta import relativedelta
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... def encoder(delta):
| ... ndelta = delta.normalized()
| ... return (ndelta.years * 12 + ndelta.months,
| ... ndelta.days,
| ... ((ndelta.hours * 3600 +
| ... ndelta.minutes * 60 +
| ... ndelta.seconds) * 1000000 +
| ... ndelta.microseconds))
| ... def decoder(tup):
| ... return relativedelta(months=tup[0], days=tup[1],
| ... microseconds=tup[2])
| ... await con.set_type_codec(
| ... 'interval', schema='pg_catalog', encoder=encoder,
| ... decoder=decoder, format='tuple')
| ... result = await con.fetchval(
| ... "SELECT '2 years 3 mons 1 day'::interval")
| ... print(result)
| ... print(datetime.datetime(2002, 1, 1) + result)
| ...
| >>> asyncio.run(run())
| relativedelta(years=+2, months=+3, days=+1)
| 2004-04-02 00:00:00
|
| .. versionadded:: 0.12.0
| Added the ``format`` keyword argument and support for 'tuple'
| format.
|
| .. versionchanged:: 0.12.0
| The ``binary`` keyword argument is deprecated in favor of
| ``format``.
|
| .. versionchanged:: 0.13.0
| The ``binary`` keyword argument was removed in favor of
| ``format``.
|
| .. versionchanged:: 0.29.0
| Custom codecs for composite types are now supported with
| ``format='tuple'``.
|
| .. note::
|
| It is recommended to use the ``'binary'`` or ``'tuple'`` *format*
| whenever possible and if the underlying type supports it. Asyncpg
| currently does not support text I/O for composite and range types,
| and some other functionality, such as
| :meth:`Connection.copy_to_table`, does not support types with text
| codecs.
|
| terminate(self)
| Terminate the connection without waiting for pending data.
|
| transaction(self, *, isolation=None, readonly=False, deferrable=False)
| Create a :class:`~transaction.Transaction` object.
|
| Refer to `PostgreSQL documentation`_ on the meaning of transaction
| parameters.
|
| :param isolation: Transaction isolation mode, can be one of:
| `'serializable'`, `'repeatable_read'`,
| `'read_uncommitted'`, `'read_committed'`. If not
| specified, the behavior is up to the server and
| session, which is usually ``read_committed``.
|
| :param readonly: Specifies whether or not this transaction is
| read-only.
|
| :param deferrable: Specifies whether or not this transaction is
| deferrable.
|
| .. _`PostgreSQL documentation`:
| https://www.postgresql.org/docs/
| current/static/sql-set-transaction.html
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __weakref__
| list of weak references to the object
class ConnectionMeta(builtins.type)
| Method resolution order:
| ConnectionMeta
| builtins.type
| builtins.object
|
| Methods defined here:
|
| __instancecheck__(cls, instance)
| Check if an object is an instance.
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {}
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.type:
|
| __call__(self, /, *args, **kwargs)
| Call self as a function.
|
| __delattr__(self, name, /)
| Implement delattr(self, name).
|
| __dir__(self, /)
| Specialized __dir__ implementation for types.
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| __or__(self, value, /)
| Return self|value.
|
| __repr__(self, /)
| Return repr(self).
|
| __ror__(self, value, /)
| Return value|self.
|
| __setattr__(self, name, value, /)
| Implement setattr(self, name, value).
|
| __sizeof__(self, /)
| Return memory consumption of the type object.
|
| __subclasscheck__(self, subclass, /)
| Check if a class is a subclass.
|
| __subclasses__(self, /)
| Return a list of immediate subclasses.
|
| mro(self, /)
| Return a type's method resolution order.
|
| ----------------------------------------------------------------------
| Class methods inherited from builtins.type:
|
| __prepare__(...)
| __prepare__() -> dict
| used to create the namespace for the class statement
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.type:
|
| __new__(*args, **kwargs) class method of builtins.type
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.type:
|
| __abstractmethods__
|
| __dict__
|
| __text_signature__
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from builtins.type:
|
| __base__ = <class 'type'>
| type(object) -> the object's type
| type(name, bases, dict, **kwds) -> a new type
|
|
| __bases__ = (<class 'type'>,)
|
| __basicsize__ = 920
|
| __dictoffset__ = 264
|
| __flags__ = 2156420608
|
| __itemsize__ = 40
|
| __mro__ = (<class 'asyncpg.connection.ConnectionMeta'>, <class 'type'>...
|
| __type_params__ = ()
|
| __weakrefoffset__ = 368
class LoggedQuery(builtins.tuple)
| LoggedQuery(query, args, timeout, elapsed, exception, conn_addr, conn_params)
|
| Log record of an executed query.
|
| Method resolution order:
| LoggedQuery
| builtins.tuple
| builtins.object
|
| Methods defined here:
|
| __getnewargs__(self) from collections.LoggedQuery
| Return self as a plain tuple. Used by copy and pickle.
|
| __repr__(self) from collections.LoggedQuery
| Return a nicely formatted representation string
|
| _asdict(self) from collections.LoggedQuery
| Return a new dict which maps field names to their values.
|
| _replace(self, /, **kwds) from collections.LoggedQuery
| Return a new LoggedQuery object replacing specified fields with new values
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| _make(iterable) from collections.LoggedQuery
| Make a new LoggedQuery object from a sequence or iterable
|
| ----------------------------------------------------------------------
| Static methods defined here:
|
| __new__(_cls, query, args, timeout, elapsed, exception, conn_addr, conn_params) from namedtuple_LoggedQuery.LoggedQuery
| Create new instance of LoggedQuery(query, args, timeout, elapsed, exception, conn_addr, conn_params)
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| query
| Alias for field number 0
|
| args
| Alias for field number 1
|
| timeout
| Alias for field number 2
|
| elapsed
| Alias for field number 3
|
| exception
| Alias for field number 4
|
| conn_addr
| Alias for field number 5
|
| conn_params
| Alias for field number 6
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __match_args__ = ('query', 'args', 'timeout', 'elapsed', 'exception', ...
|
| _field_defaults = {}
|
| _fields = ('query', 'args', 'timeout', 'elapsed', 'exception', 'conn_a...
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.tuple:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __getitem__(self, key, /)
| Return self[key].
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmul__(self, value, /)
| Return value*self.
|
| count(self, value, /)
| Return number of occurrences of value.
|
| index(self, value, start=0, stop=9223372036854775807, /)
| Return first index of value.
|
| Raises ValueError if the value is not present.
|
| ----------------------------------------------------------------------
| Class methods inherited from builtins.tuple:
|
| __class_getitem__(...)
| See PEP 585
class ServerCapabilities(builtins.tuple)
| ServerCapabilities(advisory_locks, notifications, plpgsql, sql_reset, sql_close_all, sql_copy_from_where, jit)
|
| PostgreSQL server capabilities.
|
| Method resolution order:
| ServerCapabilities
| builtins.tuple
| builtins.object
|
| Methods defined here:
|
| __getnewargs__(self) from collections.ServerCapabilities
| Return self as a plain tuple. Used by copy and pickle.
|
| __repr__(self) from collections.ServerCapabilities
| Return a nicely formatted representation string
|
| _asdict(self) from collections.ServerCapabilities
| Return a new dict which maps field names to their values.
|
| _replace(self, /, **kwds) from collections.ServerCapabilities
| Return a new ServerCapabilities object replacing specified fields with new values
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| _make(iterable) from collections.ServerCapabilities
| Make a new ServerCapabilities object from a sequence or iterable
|
| ----------------------------------------------------------------------
| Static methods defined here:
|
| __new__(_cls, advisory_locks, notifications, plpgsql, sql_reset, sql_close_all, sql_copy_from_where, jit) from namedtuple_ServerCapabilities.ServerCapabilities
| Create new instance of ServerCapabilities(advisory_locks, notifications, plpgsql, sql_reset, sql_close_all, sql_copy_from_where, jit)
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| advisory_locks
| Alias for field number 0
|
| notifications
| Alias for field number 1
|
| plpgsql
| Alias for field number 2
|
| sql_reset
| Alias for field number 3
|
| sql_close_all
| Alias for field number 4
|
| sql_copy_from_where
| Alias for field number 5
|
| jit
| Alias for field number 6
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __match_args__ = ('advisory_locks', 'notifications', 'plpgsql', 'sql_r...
|
| _field_defaults = {}
|
| _fields = ('advisory_locks', 'notifications', 'plpgsql', 'sql_reset', ...
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.tuple:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __getitem__(self, key, /)
| Return self[key].
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmul__(self, value, /)
| Return value*self.
|
| count(self, value, /)
| Return number of occurrences of value.
|
| index(self, value, start=0, stop=9223372036854775807, /)
| Return first index of value.
|
| Raises ValueError if the value is not present.
|
| ----------------------------------------------------------------------
| Class methods inherited from builtins.tuple:
|
| __class_getitem__(...)
| See PEP 585
FUNCTIONS
async connect(dsn=None, *, host=None, port=None, user=None, password=None, passfile=None, service=None, servicefile=None, database=None, loop=None, timeout=60, statement_cache_size=100, max_cached_statement_lifetime=300, max_cacheable_statement_size=15360, command_timeout=None, ssl=None, direct_tls=None, connection_class=<class 'asyncpg.connection.Connection'>, record_class=<class 'asyncpg.protocol.record.Record'>, server_settings=None, target_session_attrs=None, krbsrvname=None, gsslib=None)
A coroutine to establish a connection to a PostgreSQL server.
The connection parameters may be specified either as a connection
URI in *dsn*, or as specific keyword arguments, or both.
If both *dsn* and keyword arguments are specified, the latter
override the corresponding values parsed from the connection URI.
The default values for the majority of arguments can be specified
using `environment variables <postgres envvars_>`_.
Returns a new :class:`~asyncpg.connection.Connection` object.
:param dsn:
Connection arguments specified using as a single string in the
`libpq connection URI format`_:
``postgres://user:password@host:port/database?option=value``.
The following options are recognized by asyncpg: ``host``,
``port``, ``user``, ``database`` (or ``dbname``), ``password``,
``passfile``, ``sslmode``, ``sslcert``, ``sslkey``, ``sslrootcert``,
and ``sslcrl``. Unlike libpq, asyncpg will treat unrecognized
options as `server settings`_ to be used for the connection.
.. note::
The URI must be *valid*, which means that all components must
be properly quoted with :py:func:`urllib.parse.quote_plus`, and
any literal IPv6 addresses must be enclosed in square brackets.
For example:
.. code-block:: text
postgres://dbuser@[fe80::1ff:fe23:4567:890a%25eth0]/dbname
:param host:
Database host address as one of the following:
- an IP address or a domain name;
- an absolute path to the directory containing the database
server Unix-domain socket (not supported on Windows);
- a sequence of any of the above, in which case the addresses
will be tried in order, and the first successful connection
will be returned.
If not specified, asyncpg will try the following, in order:
- host address(es) parsed from the *dsn* argument,
- the value of the ``PGHOST`` environment variable,
- on Unix, common directories used for PostgreSQL Unix-domain
sockets: ``"/run/postgresql"``, ``"/var/run/postgresl"``,
``"/var/pgsql_socket"``, ``"/private/tmp"``, and ``"/tmp"``,
- ``"localhost"``.
:param port:
Port number to connect to at the server host
(or Unix-domain socket file extension). If multiple host
addresses were specified, this parameter may specify a
sequence of port numbers of the same length as the host sequence,
or it may specify a single port number to be used for all host
addresses.
If not specified, the value parsed from the *dsn* argument is used,
or the value of the ``PGPORT`` environment variable, or ``5432`` if
neither is specified.
:param user:
The name of the database role used for authentication.
If not specified, the value parsed from the *dsn* argument is used,
or the value of the ``PGUSER`` environment variable, or the
operating system name of the user running the application.
:param database:
The name of the database to connect to.
If not specified, the value parsed from the *dsn* argument is used,
or the value of the ``PGDATABASE`` environment variable, or the
computed value of the *user* argument.
:param password:
Password to be used for authentication, if the server requires
one. If not specified, the value parsed from the *dsn* argument
is used, or the value of the ``PGPASSWORD`` environment variable.
Note that the use of the environment variable is discouraged as
other users and applications may be able to read it without needing
specific privileges. It is recommended to use *passfile* instead.
Password may be either a string, or a callable that returns a string.
If a callable is provided, it will be called each time a new connection
is established.
:param passfile:
The name of the file used to store passwords
(defaults to ``~/.pgpass``, or ``%APPDATA%\postgresql\pgpass.conf``
on Windows).
:param service:
The name of the postgres connection service stored in the postgres
connection service file.
:param servicefile:
The location of the connnection service file used to store
connection parameters.
:param loop:
An asyncio event loop instance. If ``None``, the default
event loop will be used.
:param float timeout:
Connection timeout in seconds.
:param int statement_cache_size:
The size of prepared statement LRU cache. Pass ``0`` to
disable the cache.
:param int max_cached_statement_lifetime:
The maximum time in seconds a prepared statement will stay
in the cache. Pass ``0`` to allow statements be cached
indefinitely.
:param int max_cacheable_statement_size:
The maximum size of a statement that can be cached (15KiB by
default). Pass ``0`` to allow all statements to be cached
regardless of their size.
:param float command_timeout:
The default timeout for operations on this connection
(the default is ``None``: no timeout).
:param ssl:
Pass ``True`` or an `ssl.SSLContext <SSLContext_>`_ instance to
require an SSL connection. If ``True``, a default SSL context
returned by `ssl.create_default_context() <create_default_context_>`_
will be used. The value can also be one of the following strings:
- ``'disable'`` - SSL is disabled (equivalent to ``False``)
- ``'prefer'`` - try SSL first, fallback to non-SSL connection
if SSL connection fails
- ``'allow'`` - try without SSL first, then retry with SSL if the first
attempt fails.
- ``'require'`` - only try an SSL connection. Certificate
verification errors are ignored
- ``'verify-ca'`` - only try an SSL connection, and verify
that the server certificate is issued by a trusted certificate
authority (CA)
- ``'verify-full'`` - only try an SSL connection, verify
that the server certificate is issued by a trusted CA and
that the requested server host name matches that in the
certificate.
The default is ``'prefer'``: try an SSL connection and fallback to
non-SSL connection if that fails.
.. note::
*ssl* is ignored for Unix domain socket communication.
Example of programmatic SSL context configuration that is equivalent
to ``sslmode=verify-full&sslcert=..&sslkey=..&sslrootcert=..``:
.. code-block:: pycon
>>> import asyncpg
>>> import asyncio
>>> import ssl
>>> async def main():
... # Load CA bundle for server certificate verification,
... # equivalent to sslrootcert= in DSN.
... sslctx = ssl.create_default_context(
... ssl.Purpose.SERVER_AUTH,
... cafile="path/to/ca_bundle.pem")
... # If True, equivalent to sslmode=verify-full, if False:
... # sslmode=verify-ca.
... sslctx.check_hostname = True
... # Load client certificate and private key for client
... # authentication, equivalent to sslcert= and sslkey= in
... # DSN.
... sslctx.load_cert_chain(
... "path/to/client.cert",
... keyfile="path/to/client.key",
... )
... con = await asyncpg.connect(user='postgres', ssl=sslctx)
... await con.close()
>>> asyncio.run(main())
Example of programmatic SSL context configuration that is equivalent
to ``sslmode=require`` (no server certificate or host verification):
.. code-block:: pycon
>>> import asyncpg
>>> import asyncio
>>> import ssl
>>> async def main():
... sslctx = ssl.create_default_context(
... ssl.Purpose.SERVER_AUTH)
... sslctx.check_hostname = False
... sslctx.verify_mode = ssl.CERT_NONE
... con = await asyncpg.connect(user='postgres', ssl=sslctx)
... await con.close()
>>> asyncio.run(main())
:param bool direct_tls:
Pass ``True`` to skip PostgreSQL STARTTLS mode and perform a direct
SSL connection. Must be used alongside ``ssl`` param.
:param dict server_settings:
An optional dict of server runtime parameters. Refer to
PostgreSQL documentation for
a `list of supported options <server settings_>`_.
:param type connection_class:
Class of the returned connection object. Must be a subclass of
:class:`~asyncpg.connection.Connection`.
:param type record_class:
If specified, the class to use for records returned by queries on
this connection object. Must be a subclass of
:class:`~asyncpg.Record`.
:param SessionAttribute target_session_attrs:
If specified, check that the host has the correct attribute.
Can be one of:
- ``"any"`` - the first successfully connected host
- ``"primary"`` - the host must NOT be in hot standby mode
- ``"standby"`` - the host must be in hot standby mode
- ``"read-write"`` - the host must allow writes
- ``"read-only"`` - the host most NOT allow writes
- ``"prefer-standby"`` - first try to find a standby host, but if
none of the listed hosts is a standby server,
return any of them.
If not specified, the value parsed from the *dsn* argument is used,
or the value of the ``PGTARGETSESSIONATTRS`` environment variable,
or ``"any"`` if neither is specified.
:param str krbsrvname:
Kerberos service name to use when authenticating with GSSAPI. This
must match the server configuration. Defaults to 'postgres'.
:param str gsslib:
GSS library to use for GSSAPI/SSPI authentication. Can be 'gssapi'
or 'sspi'. Defaults to 'sspi' on Windows and 'gssapi' otherwise.
:return: A :class:`~asyncpg.connection.Connection` instance.
Example:
.. code-block:: pycon
>>> import asyncpg
>>> import asyncio
>>> async def run():
... con = await asyncpg.connect(user='postgres')
... types = await con.fetch('SELECT * FROM pg_type')
... print(types)
...
>>> asyncio.run(run())
[<Record typname='bool' typnamespace=11 ...
.. versionadded:: 0.10.0
Added ``max_cached_statement_use_count`` parameter.
.. versionchanged:: 0.11.0
Removed ability to pass arbitrary keyword arguments to set
server settings. Added a dedicated parameter ``server_settings``
for that.
.. versionadded:: 0.11.0
Added ``connection_class`` parameter.
.. versionadded:: 0.16.0
Added ``passfile`` parameter
(and support for password files in general).
.. versionadded:: 0.18.0
Added ability to specify multiple hosts in the *dsn*
and *host* arguments.
.. versionchanged:: 0.21.0
The *password* argument now accepts a callable or an async function.
.. versionchanged:: 0.22.0
Added the *record_class* parameter.
.. versionchanged:: 0.22.0
The *ssl* argument now defaults to ``'prefer'``.
.. versionchanged:: 0.24.0
The ``sslcert``, ``sslkey``, ``sslrootcert``, and ``sslcrl`` options
are supported in the *dsn* argument.
.. versionchanged:: 0.25.0
The ``sslpassword``, ``ssl_min_protocol_version``,
and ``ssl_max_protocol_version`` options are supported in the *dsn*
argument.
.. versionchanged:: 0.25.0
Default system root CA certificates won't be loaded when specifying a
particular sslmode, following the same behavior in libpq.
.. versionchanged:: 0.25.0
The ``sslcert``, ``sslkey``, ``sslrootcert``, and ``sslcrl`` options
in the *dsn* argument now have consistent default values of files under
``~/.postgresql/`` as libpq.
.. versionchanged:: 0.26.0
Added the *direct_tls* parameter.
.. versionchanged:: 0.28.0
Added the *target_session_attrs* parameter.
.. versionchanged:: 0.30.0
Added the *krbsrvname* and *gsslib* parameters.
.. versionchanged:: 0.31.0
Added the *servicefile* and *service* parameters.
.. _SSLContext: https://docs.python.org/3/library/ssl.html#ssl.SSLContext
.. _create_default_context:
https://docs.python.org/3/library/ssl.html#ssl.create_default_context
.. _server settings:
https://www.postgresql.org/docs/current/static/runtime-config.html
.. _postgres envvars:
https://www.postgresql.org/docs/current/static/libpq-envars.html
.. _libpq connection URI format:
https://www.postgresql.org/docs/current/static/
libpq-connect.html#LIBPQ-CONNSTRING
FILE
c:\users\youse\appdata\local\programs\python\python312\lib\site-packages\asyncpg\connection.py
asyncpg.connresource
Python Library Documentation: module asyncpg.connresource in asyncpg
NAME
asyncpg.connresource
DESCRIPTION
# Copyright (C) 2016-present the asyncpg authors and contributors
# <see AUTHORS file>
#
# This module is part of asyncpg and is released under
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
CLASSES
builtins.object
ConnectionResource
class ConnectionResource(builtins.object)
| ConnectionResource(connection)
|
| Methods defined here:
|
| __init__(self, connection)
| Initialize self. See help(type(self)) for accurate signature.
FUNCTIONS
guarded(meth)
A decorator to add a sanity check to ConnectionResource methods.
FILE
c:\users\youse\appdata\local\programs\python\python312\lib\site-packages\asyncpg\connresource.py
asyncpg.create_pool
Python Library Documentation: function create_pool in module asyncpg.pool
create_pool(dsn=None, *, min_size=10, max_size=10, max_queries=50000, max_inactive_connection_lifetime=300.0, connect=None, setup=None, init=None, reset=None, loop=None, connection_class=<class 'asyncpg.connection.Connection'>, record_class=<class 'asyncpg.protocol.record.Record'>, **connect_kwargs)
Create a connection pool.
Can be used either with an ``async with`` block:
.. code-block:: python
async with asyncpg.create_pool(user='postgres',
command_timeout=60) as pool:
await pool.fetch('SELECT 1')
Or to perform multiple operations on a single connection:
.. code-block:: python
async with asyncpg.create_pool(user='postgres',
command_timeout=60) as pool:
async with pool.acquire() as con:
await con.execute('''
CREATE TABLE names (
id serial PRIMARY KEY,
name VARCHAR (255) NOT NULL)
''')
await con.fetch('SELECT 1')
Or directly with ``await`` (not recommended):
.. code-block:: python
pool = await asyncpg.create_pool(user='postgres', command_timeout=60)
con = await pool.acquire()
try:
await con.fetch('SELECT 1')
finally:
await pool.release(con)
.. warning::
Prepared statements and cursors returned by
:meth:`Connection.prepare() <asyncpg.connection.Connection.prepare>`
and :meth:`Connection.cursor() <asyncpg.connection.Connection.cursor>`
become invalid once the connection is released. Likewise, all
notification and log listeners are removed, and ``asyncpg`` will
issue a warning if there are any listener callbacks registered on a
connection that is being released to the pool.
:param str dsn:
Connection arguments specified using as a single string in
the following format:
``postgres://user:pass@host:port/database?option=value``.
:param \*\*connect_kwargs:
Keyword arguments for the :func:`~asyncpg.connection.connect`
function.
:param Connection connection_class:
The class to use for connections. Must be a subclass of
:class:`~asyncpg.connection.Connection`.
:param type record_class:
If specified, the class to use for records returned by queries on
the connections in this pool. Must be a subclass of
:class:`~asyncpg.Record`.
:param int min_size:
Number of connection the pool will be initialized with.
:param int max_size:
Max number of connections in the pool.
:param int max_queries:
Number of queries after a connection is closed and replaced
with a new connection.
:param float max_inactive_connection_lifetime:
Number of seconds after which inactive connections in the
pool will be closed. Pass ``0`` to disable this mechanism.
:param coroutine connect:
A coroutine that is called instead of
:func:`~asyncpg.connection.connect` whenever the pool needs to make a
new connection. Must return an instance of type specified by
*connection_class* or :class:`~asyncpg.connection.Connection` if
*connection_class* was not specified.
:param coroutine setup:
A coroutine to prepare a connection right before it is returned
from :meth:`Pool.acquire()`. An example use
case would be to automatically set up notifications listeners for
all connections of a pool.
:param coroutine init:
A coroutine to initialize a connection when it is created.
An example use case would be to setup type codecs with
:meth:`Connection.set_builtin_type_codec() <\
asyncpg.connection.Connection.set_builtin_type_codec>`
or :meth:`Connection.set_type_codec() <\
asyncpg.connection.Connection.set_type_codec>`.
:param coroutine reset:
A coroutine to reset a connection before it is returned to the pool by
:meth:`Pool.release()`. The function is supposed
to reset any changes made to the database session so that the next
acquirer gets the connection in a well-defined state.
The default implementation calls :meth:`Connection.reset() <\
asyncpg.connection.Connection.reset>`, which runs the following::
SELECT pg_advisory_unlock_all();
CLOSE ALL;
UNLISTEN *;
RESET ALL;
The exact reset query is determined by detected server capabilities,
and a custom *reset* implementation can obtain the default query
by calling :meth:`Connection.get_reset_query() <\
asyncpg.connection.Connection.get_reset_query>`.
:param loop:
An asyncio event loop instance. If ``None``, the default
event loop will be used.
:return: An instance of :class:`~asyncpg.pool.Pool`.
.. versionchanged:: 0.10.0
An :exc:`~asyncpg.exceptions.InterfaceError` will be raised on any
attempted operation on a released connection.
.. versionchanged:: 0.13.0
An :exc:`~asyncpg.exceptions.InterfaceError` will be raised on any
attempted operation on a prepared statement or a cursor created
on a connection that has been released to the pool.
.. versionchanged:: 0.13.0
An :exc:`~asyncpg.exceptions.InterfaceWarning` will be produced
if there are any active listeners (added via
:meth:`Connection.add_listener()
<asyncpg.connection.Connection.add_listener>`
or :meth:`Connection.add_log_listener()
<asyncpg.connection.Connection.add_log_listener>`) present on the
connection at the moment of its release to the pool.
.. versionchanged:: 0.22.0
Added the *record_class* parameter.
.. versionchanged:: 0.30.0
Added the *connect* and *reset* parameters.
asyncpg.cursor
Python Library Documentation: module asyncpg.cursor in asyncpg
NAME
asyncpg.cursor
DESCRIPTION
# Copyright (C) 2016-present the asyncpg authors and contributors
# <see AUTHORS file>
#
# This module is part of asyncpg and is released under
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
CLASSES
asyncpg.connresource.ConnectionResource(builtins.object)
BaseCursor
Cursor
CursorIterator
CursorFactory
class BaseCursor(asyncpg.connresource.ConnectionResource)
| BaseCursor(connection, query, state, args, record_class)
|
| Method resolution order:
| BaseCursor
| asyncpg.connresource.ConnectionResource
| builtins.object
|
| Methods defined here:
|
| __del__(self)
|
| __init__(self, connection, query, state, args, record_class)
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
class Cursor(BaseCursor)
| Cursor(connection, query, state, args, record_class)
|
| An open *portal* into the results of a query.
|
| Method resolution order:
| Cursor
| BaseCursor
| asyncpg.connresource.ConnectionResource
| builtins.object
|
| Methods defined here:
|
| fetch(self, n, *, timeout=None)
| Return the next *n* rows as a list of :class:`Record` objects.
|
| :param float timeout: Optional timeout value in seconds.
|
| :return: A list of :class:`Record` instances.
|
| fetchrow(self, *, timeout=None)
| Return the next row.
|
| :param float timeout: Optional timeout value in seconds.
|
| :return: A :class:`Record` instance.
|
| forward(self, n, *, timeout=None) -> int
| Skip over the next *n* rows.
|
| :param float timeout: Optional timeout value in seconds.
|
| :return: A number of rows actually skipped over (<= *n*).
|
| ----------------------------------------------------------------------
| Methods inherited from BaseCursor:
|
| __del__(self)
|
| __init__(self, connection, query, state, args, record_class)
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
class CursorFactory(asyncpg.connresource.ConnectionResource)
| CursorFactory(connection, query, state, args, prefetch, timeout, record_class)
|
| A cursor interface for the results of a query.
|
| A cursor interface can be used to initiate efficient traversal of the
| results of a large query.
|
| Method resolution order:
| CursorFactory
| asyncpg.connresource.ConnectionResource
| builtins.object
|
| Methods defined here:
|
| __aiter__(self)
|
| __await__(self)
|
| __del__(self)
|
| __init__(self, connection, query, state, args, prefetch, timeout, record_class)
| Initialize self. See help(type(self)) for accurate signature.
class CursorIterator(BaseCursor)
| CursorIterator(connection, query, state, args, record_class, prefetch, timeout)
|
| Method resolution order:
| CursorIterator
| BaseCursor
| asyncpg.connresource.ConnectionResource
| builtins.object
|
| Methods defined here:
|
| __aiter__(self)
|
| __anext__(self)
|
| __init__(self, connection, query, state, args, record_class, prefetch, timeout)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from BaseCursor:
|
| __del__(self)
|
| __repr__(self)
| Return repr(self).
FILE
c:\users\youse\appdata\local\programs\python\python312\lib\site-packages\asyncpg\cursor.py
asyncpg.exceptions
Python Library Documentation: package asyncpg.exceptions in asyncpg
NAME
asyncpg.exceptions
DESCRIPTION
# GENERATED FROM postgresql/src/backend/utils/errcodes.txt
# DO NOT MODIFY, use tools/generate_exceptions.py to update
PACKAGE CONTENTS
_base
CLASSES
asyncpg.exceptions._base.InterfaceMessage(builtins.object)
asyncpg.exceptions._base.InterfaceError(asyncpg.exceptions._base.InterfaceMessage, builtins.Exception)
asyncpg.exceptions._base.ClientConfigurationError(asyncpg.exceptions._base.InterfaceError, builtins.ValueError)
asyncpg.exceptions._base.UnsupportedClientFeatureError
asyncpg.exceptions._base.UnsupportedServerFeatureError
asyncpg.exceptions._base.InterfaceWarning(asyncpg.exceptions._base.InterfaceMessage, builtins.UserWarning)
asyncpg.exceptions._base.PostgresMessage(builtins.object)
asyncpg.exceptions._base.PostgresError(asyncpg.exceptions._base.PostgresMessage, builtins.Exception)
CardinalityViolationError
CaseNotFoundError
ConfigFileError
LockFileExistsError
DataError
ArraySubscriptError
BadCopyFileFormatError
CharacterNotInRepertoireError
DatetimeFieldOverflowError
DivisionByZeroError
DuplicateJsonObjectKeyValueError
ErrorInAssignmentError
EscapeCharacterConflictError
IndicatorOverflowError
IntervalFieldOverflowError
InvalidArgumentForLogarithmError
InvalidArgumentForNthValueFunctionError
InvalidArgumentForNtileFunctionError
InvalidArgumentForPowerFunctionError
InvalidArgumentForSQLJsonDatetimeFunctionError
InvalidArgumentForWidthBucketFunctionError
InvalidBinaryRepresentationError
InvalidCharacterValueForCastError
InvalidDatetimeFormatError
InvalidEscapeCharacterError
InvalidEscapeOctetError
InvalidEscapeSequenceError
InvalidIndicatorParameterValueError
InvalidJsonTextError
InvalidParameterValueError
InvalidPrecedingOrFollowingSizeError
InvalidRegularExpressionError
InvalidRowCountInLimitClauseError
InvalidRowCountInResultOffsetClauseError
InvalidSQLJsonSubscriptError
InvalidTablesampleArgumentError
InvalidTablesampleRepeatError
InvalidTextRepresentationError
InvalidTimeZoneDisplacementValueError
InvalidUseOfEscapeCharacterError
InvalidXmlCommentError
InvalidXmlContentError
InvalidXmlDocumentError
InvalidXmlProcessingInstructionError
MoreThanOneSQLJsonItemError
MostSpecificTypeMismatchError
NoSQLJsonItemError
NonNumericSQLJsonItemError
NonUniqueKeysInAJsonObjectError
NonstandardUseOfEscapeCharacterError
NotAnXmlDocumentError
NullValueNoIndicatorParameterError
NullValueNotAllowedError
NumericValueOutOfRangeError
PostgresFloatingPointError
SQLJsonArrayNotFoundError
SQLJsonItemCannotBeCastToTargetTypeError
SQLJsonMemberNotFoundError
SQLJsonNumberNotFoundError
SQLJsonObjectNotFoundError
SQLJsonScalarRequiredError
SequenceGeneratorLimitExceededError
SingletonSQLJsonItemRequiredError
StringDataLengthMismatchError
StringDataRightTruncationError
SubstringError
TooManyJsonArrayElementsError
TooManyJsonObjectMembersError
TrimError
UnterminatedCStringError
UntranslatableCharacterError
ZeroLengthCharacterStringError
DependentPrivilegeDescriptorsStillExistError
DependentObjectsStillExistError
DiagnosticsError
StackedDiagnosticsAccessedWithoutActiveHandlerError
ExternalRoutineError
ContainingSQLNotPermittedError
ModifyingExternalRoutineSQLDataNotPermittedError
ProhibitedExternalRoutineSQLStatementAttemptedError
ReadingExternalRoutineSQLDataNotPermittedError
ExternalRoutineInvocationError
EventTriggerProtocolViolatedError
InvalidSqlstateReturnedError
NullValueInExternalRoutineNotAllowedError
SrfProtocolViolatedError
TriggerProtocolViolatedError
FDWError
FDWColumnNameNotFoundError
FDWDynamicParameterValueNeededError
FDWFunctionSequenceError
FDWInconsistentDescriptorInformationError
FDWInvalidAttributeValueError
FDWInvalidColumnNameError
FDWInvalidColumnNumberError
FDWInvalidDataTypeDescriptorsError
FDWInvalidDataTypeError
FDWInvalidDescriptorFieldIdentifierError
FDWInvalidHandleError
FDWInvalidOptionIndexError
FDWInvalidOptionNameError
FDWInvalidStringFormatError
FDWInvalidStringLengthOrBufferLengthError
FDWInvalidUseOfNullPointerError
FDWNoSchemasError
FDWOptionNameNotFoundError
FDWOutOfMemoryError
FDWReplyHandleError
FDWSchemaNotFoundError
FDWTableNotFoundError
FDWTooManyHandlesError
FDWUnableToCreateExecutionError
FDWUnableToCreateReplyError
FDWUnableToEstablishConnectionError
FeatureNotSupportedError
InvalidCachedStatementError
InsufficientResourcesError
ConfigurationLimitExceededError
DiskFullError
OutOfMemoryError
TooManyConnectionsError
IntegrityConstraintViolationError
CheckViolationError
ExclusionViolationError
ForeignKeyViolationError
NotNullViolationError
RestrictViolationError
UniqueViolationError
InternalServerError
DataCorruptedError
IndexCorruptedError
InvalidArgumentForXqueryError
InvalidAuthorizationSpecificationError
InvalidPasswordError
InvalidCatalogNameError
InvalidCursorNameError
InvalidCursorStateError
InvalidGrantorError
InvalidGrantOperationError
InvalidRoleSpecificationError
InvalidSQLStatementNameError
InvalidSchemaNameError
InvalidTransactionInitiationError
InvalidTransactionStateError
ActiveSQLTransactionError
BranchTransactionAlreadyActiveError
HeldCursorRequiresSameIsolationLevelError
IdleInTransactionSessionTimeoutError
InFailedSQLTransactionError
InappropriateAccessModeForBranchTransactionError
InappropriateIsolationLevelForBranchTransactionError
NoActiveSQLTransactionError
NoActiveSQLTransactionForBranchTransactionError
ReadOnlySQLTransactionError
SchemaAndDataStatementMixingNotSupportedError
TransactionTimeoutError
InvalidTransactionTerminationError
LocatorError
InvalidLocatorSpecificationError
ObjectNotInPrerequisiteStateError
CantChangeRuntimeParamError
LockNotAvailableError
ObjectInUseError
UnsafeNewEnumValueUsageError
OperatorInterventionError
AdminShutdownError
CannotConnectNowError
CrashShutdownError
DatabaseDroppedError
IdleSessionTimeoutError
QueryCanceledError
PLPGSQLError
AssertError
NoDataFoundError
RaiseError
TooManyRowsError
PostgresConnectionError
ClientCannotConnectError
ConnectionDoesNotExistError
ConnectionFailureError
ConnectionRejectionError
ProtocolViolationError
TransactionResolutionUnknownError
PostgresSystemError
DuplicateFileError
FileNameTooLongError
PostgresIOError
UndefinedFileError
ProgramLimitExceededError
StatementTooComplexError
TooManyArgumentsError
TooManyColumnsError
SQLRoutineError
FunctionExecutedNoReturnStatementError
ModifyingSQLDataNotPermittedError
ProhibitedSQLStatementAttemptedError
ReadingSQLDataNotPermittedError
SQLStatementNotYetCompleteError
SavepointError
InvalidSavepointSpecificationError
SnapshotTooOldError
SyntaxOrAccessError
AmbiguousAliasError
AmbiguousColumnError
AmbiguousFunctionError
AmbiguousParameterError
CannotCoerceError
CollationMismatchError
DatatypeMismatchError
DuplicateAliasError
DuplicateColumnError
DuplicateCursorError
DuplicateDatabaseError
DuplicateFunctionError
DuplicateObjectError
DuplicatePreparedStatementError
DuplicateSchemaError
DuplicateTableError
GeneratedAlwaysError
GroupingError
IndeterminateCollationError
IndeterminateDatatypeError
InsufficientPrivilegeError
InvalidColumnDefinitionError
InvalidColumnReferenceError
InvalidCursorDefinitionError
InvalidDatabaseDefinitionError
InvalidForeignKeyError
InvalidFunctionDefinitionError
InvalidNameError
InvalidObjectDefinitionError
InvalidPreparedStatementDefinitionError
InvalidRecursionError
InvalidSchemaDefinitionError
InvalidTableDefinitionError
NameTooLongError
PostgresSyntaxError
ReservedNameError
UndefinedColumnError
UndefinedFunctionError
UndefinedObjectError
UndefinedParameterError
UndefinedTableError
WindowingError
WrongObjectTypeError
TransactionRollbackError
DeadlockDetectedError
SerializationError
StatementCompletionUnknownError
TransactionIntegrityConstraintViolationError
TriggeredActionError
TriggeredDataChangeViolationError
WithCheckOptionViolationError
asyncpg.exceptions._base.FatalPostgresError
asyncpg.exceptions._base.UnknownPostgresError
asyncpg.exceptions._base.PostgresLogMessage
PostgresWarning(asyncpg.exceptions._base.PostgresLogMessage, builtins.Warning)
DeprecatedFeature
DynamicResultSetsReturned
ImplicitZeroBitPadding
NoData
NoAdditionalDynamicResultSetsReturned
NullValueEliminatedInSetFunction
PrivilegeNotGranted
PrivilegeNotRevoked
StringDataRightTruncation
builtins.Exception(builtins.BaseException)
asyncpg.exceptions._base.InterfaceError(asyncpg.exceptions._base.InterfaceMessage, builtins.Exception)
asyncpg.exceptions._base.ClientConfigurationError(asyncpg.exceptions._base.InterfaceError, builtins.ValueError)
asyncpg.exceptions._base.UnsupportedClientFeatureError
asyncpg.exceptions._base.UnsupportedServerFeatureError
asyncpg.exceptions._base.InternalClientError
asyncpg.exceptions._base.OutdatedSchemaCacheError
asyncpg.exceptions._base.ProtocolError
asyncpg.exceptions._base.TargetServerAttributeNotMatched
asyncpg.exceptions._base.PostgresError(asyncpg.exceptions._base.PostgresMessage, builtins.Exception)
CardinalityViolationError
CaseNotFoundError
ConfigFileError
LockFileExistsError
DataError
ArraySubscriptError
BadCopyFileFormatError
CharacterNotInRepertoireError
DatetimeFieldOverflowError
DivisionByZeroError
DuplicateJsonObjectKeyValueError
ErrorInAssignmentError
EscapeCharacterConflictError
IndicatorOverflowError
IntervalFieldOverflowError
InvalidArgumentForLogarithmError
InvalidArgumentForNthValueFunctionError
InvalidArgumentForNtileFunctionError
InvalidArgumentForPowerFunctionError
InvalidArgumentForSQLJsonDatetimeFunctionError
InvalidArgumentForWidthBucketFunctionError
InvalidBinaryRepresentationError
InvalidCharacterValueForCastError
InvalidDatetimeFormatError
InvalidEscapeCharacterError
InvalidEscapeOctetError
InvalidEscapeSequenceError
InvalidIndicatorParameterValueError
InvalidJsonTextError
InvalidParameterValueError
InvalidPrecedingOrFollowingSizeError
InvalidRegularExpressionError
InvalidRowCountInLimitClauseError
InvalidRowCountInResultOffsetClauseError
InvalidSQLJsonSubscriptError
InvalidTablesampleArgumentError
InvalidTablesampleRepeatError
InvalidTextRepresentationError
InvalidTimeZoneDisplacementValueError
InvalidUseOfEscapeCharacterError
InvalidXmlCommentError
InvalidXmlContentError
InvalidXmlDocumentError
InvalidXmlProcessingInstructionError
MoreThanOneSQLJsonItemError
MostSpecificTypeMismatchError
NoSQLJsonItemError
NonNumericSQLJsonItemError
NonUniqueKeysInAJsonObjectError
NonstandardUseOfEscapeCharacterError
NotAnXmlDocumentError
NullValueNoIndicatorParameterError
NullValueNotAllowedError
NumericValueOutOfRangeError
PostgresFloatingPointError
SQLJsonArrayNotFoundError
SQLJsonItemCannotBeCastToTargetTypeError
SQLJsonMemberNotFoundError
SQLJsonNumberNotFoundError
SQLJsonObjectNotFoundError
SQLJsonScalarRequiredError
SequenceGeneratorLimitExceededError
SingletonSQLJsonItemRequiredError
StringDataLengthMismatchError
StringDataRightTruncationError
SubstringError
TooManyJsonArrayElementsError
TooManyJsonObjectMembersError
TrimError
UnterminatedCStringError
UntranslatableCharacterError
ZeroLengthCharacterStringError
DependentPrivilegeDescriptorsStillExistError
DependentObjectsStillExistError
DiagnosticsError
StackedDiagnosticsAccessedWithoutActiveHandlerError
ExternalRoutineError
ContainingSQLNotPermittedError
ModifyingExternalRoutineSQLDataNotPermittedError
ProhibitedExternalRoutineSQLStatementAttemptedError
ReadingExternalRoutineSQLDataNotPermittedError
ExternalRoutineInvocationError
EventTriggerProtocolViolatedError
InvalidSqlstateReturnedError
NullValueInExternalRoutineNotAllowedError
SrfProtocolViolatedError
TriggerProtocolViolatedError
FDWError
FDWColumnNameNotFoundError
FDWDynamicParameterValueNeededError
FDWFunctionSequenceError
FDWInconsistentDescriptorInformationError
FDWInvalidAttributeValueError
FDWInvalidColumnNameError
FDWInvalidColumnNumberError
FDWInvalidDataTypeDescriptorsError
FDWInvalidDataTypeError
FDWInvalidDescriptorFieldIdentifierError
FDWInvalidHandleError
FDWInvalidOptionIndexError
FDWInvalidOptionNameError
FDWInvalidStringFormatError
FDWInvalidStringLengthOrBufferLengthError
FDWInvalidUseOfNullPointerError
FDWNoSchemasError
FDWOptionNameNotFoundError
FDWOutOfMemoryError
FDWReplyHandleError
FDWSchemaNotFoundError
FDWTableNotFoundError
FDWTooManyHandlesError
FDWUnableToCreateExecutionError
FDWUnableToCreateReplyError
FDWUnableToEstablishConnectionError
FeatureNotSupportedError
InvalidCachedStatementError
InsufficientResourcesError
ConfigurationLimitExceededError
DiskFullError
OutOfMemoryError
TooManyConnectionsError
IntegrityConstraintViolationError
CheckViolationError
ExclusionViolationError
ForeignKeyViolationError
NotNullViolationError
RestrictViolationError
UniqueViolationError
InternalServerError
DataCorruptedError
IndexCorruptedError
InvalidArgumentForXqueryError
InvalidAuthorizationSpecificationError
InvalidPasswordError
InvalidCatalogNameError
InvalidCursorNameError
InvalidCursorStateError
InvalidGrantorError
InvalidGrantOperationError
InvalidRoleSpecificationError
InvalidSQLStatementNameError
InvalidSchemaNameError
InvalidTransactionInitiationError
InvalidTransactionStateError
ActiveSQLTransactionError
BranchTransactionAlreadyActiveError
HeldCursorRequiresSameIsolationLevelError
IdleInTransactionSessionTimeoutError
InFailedSQLTransactionError
InappropriateAccessModeForBranchTransactionError
InappropriateIsolationLevelForBranchTransactionError
NoActiveSQLTransactionError
NoActiveSQLTransactionForBranchTransactionError
ReadOnlySQLTransactionError
SchemaAndDataStatementMixingNotSupportedError
TransactionTimeoutError
InvalidTransactionTerminationError
LocatorError
InvalidLocatorSpecificationError
ObjectNotInPrerequisiteStateError
CantChangeRuntimeParamError
LockNotAvailableError
ObjectInUseError
UnsafeNewEnumValueUsageError
OperatorInterventionError
AdminShutdownError
CannotConnectNowError
CrashShutdownError
DatabaseDroppedError
IdleSessionTimeoutError
QueryCanceledError
PLPGSQLError
AssertError
NoDataFoundError
RaiseError
TooManyRowsError
PostgresConnectionError
ClientCannotConnectError
ConnectionDoesNotExistError
ConnectionFailureError
ConnectionRejectionError
ProtocolViolationError
TransactionResolutionUnknownError
PostgresSystemError
DuplicateFileError
FileNameTooLongError
PostgresIOError
UndefinedFileError
ProgramLimitExceededError
StatementTooComplexError
TooManyArgumentsError
TooManyColumnsError
SQLRoutineError
FunctionExecutedNoReturnStatementError
ModifyingSQLDataNotPermittedError
ProhibitedSQLStatementAttemptedError
ReadingSQLDataNotPermittedError
SQLStatementNotYetCompleteError
SavepointError
InvalidSavepointSpecificationError
SnapshotTooOldError
SyntaxOrAccessError
AmbiguousAliasError
AmbiguousColumnError
AmbiguousFunctionError
AmbiguousParameterError
CannotCoerceError
CollationMismatchError
DatatypeMismatchError
DuplicateAliasError
DuplicateColumnError
DuplicateCursorError
DuplicateDatabaseError
DuplicateFunctionError
DuplicateObjectError
DuplicatePreparedStatementError
DuplicateSchemaError
DuplicateTableError
GeneratedAlwaysError
GroupingError
IndeterminateCollationError
IndeterminateDatatypeError
InsufficientPrivilegeError
InvalidColumnDefinitionError
InvalidColumnReferenceError
InvalidCursorDefinitionError
InvalidDatabaseDefinitionError
InvalidForeignKeyError
InvalidFunctionDefinitionError
InvalidNameError
InvalidObjectDefinitionError
InvalidPreparedStatementDefinitionError
InvalidRecursionError
InvalidSchemaDefinitionError
InvalidTableDefinitionError
NameTooLongError
PostgresSyntaxError
ReservedNameError
UndefinedColumnError
UndefinedFunctionError
UndefinedObjectError
UndefinedParameterError
UndefinedTableError
WindowingError
WrongObjectTypeError
TransactionRollbackError
DeadlockDetectedError
SerializationError
StatementCompletionUnknownError
TransactionIntegrityConstraintViolationError
TriggeredActionError
TriggeredDataChangeViolationError
WithCheckOptionViolationError
asyncpg.exceptions._base.FatalPostgresError
asyncpg.exceptions._base.UnknownPostgresError
builtins.UserWarning(builtins.Warning)
asyncpg.exceptions._base.InterfaceWarning(asyncpg.exceptions._base.InterfaceMessage, builtins.UserWarning)
class ActiveSQLTransactionError(InvalidTransactionStateError)
| Method resolution order:
| ActiveSQLTransactionError
| InvalidTransactionStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '25001'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class AdminShutdownError(OperatorInterventionError)
| Method resolution order:
| AdminShutdownError
| OperatorInterventionError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '57P01'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class AmbiguousAliasError(SyntaxOrAccessError)
| Method resolution order:
| AmbiguousAliasError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P09'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class AmbiguousColumnError(SyntaxOrAccessError)
| Method resolution order:
| AmbiguousColumnError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42702'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class AmbiguousFunctionError(SyntaxOrAccessError)
| Method resolution order:
| AmbiguousFunctionError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42725'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class AmbiguousParameterError(SyntaxOrAccessError)
| Method resolution order:
| AmbiguousParameterError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P08'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ArraySubscriptError(DataError)
| Method resolution order:
| ArraySubscriptError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2202E'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class AssertError(PLPGSQLError)
| Method resolution order:
| AssertError
| PLPGSQLError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'P0004'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class BadCopyFileFormatError(DataError)
| Method resolution order:
| BadCopyFileFormatError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22P04'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class BranchTransactionAlreadyActiveError(InvalidTransactionStateError)
| Method resolution order:
| BranchTransactionAlreadyActiveError
| InvalidTransactionStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '25002'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class CannotCoerceError(SyntaxOrAccessError)
| Method resolution order:
| CannotCoerceError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42846'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class CannotConnectNowError(OperatorInterventionError)
| Method resolution order:
| CannotConnectNowError
| OperatorInterventionError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '57P03'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class CantChangeRuntimeParamError(ObjectNotInPrerequisiteStateError)
| Method resolution order:
| CantChangeRuntimeParamError
| ObjectNotInPrerequisiteStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '55P02'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class CardinalityViolationError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| CardinalityViolationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '21000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class CaseNotFoundError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| CaseNotFoundError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '20000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class CharacterNotInRepertoireError(DataError)
| Method resolution order:
| CharacterNotInRepertoireError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22021'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class CheckViolationError(IntegrityConstraintViolationError)
| Method resolution order:
| CheckViolationError
| IntegrityConstraintViolationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '23514'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ClientCannotConnectError(PostgresConnectionError)
| Method resolution order:
| ClientCannotConnectError
| PostgresConnectionError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '08001'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ClientConfigurationError(InterfaceError, builtins.ValueError)
| ClientConfigurationError(msg, *, detail=None, hint=None)
|
| An error caused by improper client configuration.
|
| Method resolution order:
| ClientConfigurationError
| InterfaceError
| InterfaceMessage
| builtins.ValueError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Methods inherited from InterfaceError:
|
| __init__(self, msg, *, detail=None, hint=None)
| Initialize self. See help(type(self)) for accurate signature.
|
| with_msg(self, msg)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from InterfaceError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from InterfaceMessage:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Data descriptors inherited from InterfaceMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.ValueError:
|
| __new__(*args, **kwargs) class method of builtins.ValueError
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class CollationMismatchError(SyntaxOrAccessError)
| Method resolution order:
| CollationMismatchError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P21'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ConfigFileError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| ConfigFileError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'F0000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ConfigurationLimitExceededError(InsufficientResourcesError)
| Method resolution order:
| ConfigurationLimitExceededError
| InsufficientResourcesError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '53400'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ConnectionDoesNotExistError(PostgresConnectionError)
| Method resolution order:
| ConnectionDoesNotExistError
| PostgresConnectionError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '08003'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ConnectionFailureError(PostgresConnectionError)
| Method resolution order:
| ConnectionFailureError
| PostgresConnectionError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '08006'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ConnectionRejectionError(PostgresConnectionError)
| Method resolution order:
| ConnectionRejectionError
| PostgresConnectionError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '08004'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ContainingSQLNotPermittedError(ExternalRoutineError)
| Method resolution order:
| ContainingSQLNotPermittedError
| ExternalRoutineError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '38001'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class CrashShutdownError(OperatorInterventionError)
| Method resolution order:
| CrashShutdownError
| OperatorInterventionError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '57P02'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DataCorruptedError(InternalServerError)
| Method resolution order:
| DataCorruptedError
| InternalServerError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'XX001'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DataError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DatabaseDroppedError(OperatorInterventionError)
| Method resolution order:
| DatabaseDroppedError
| OperatorInterventionError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '57P04'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DatatypeMismatchError(SyntaxOrAccessError)
| Method resolution order:
| DatatypeMismatchError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42804'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DatetimeFieldOverflowError(DataError)
| Method resolution order:
| DatetimeFieldOverflowError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22008'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DeadlockDetectedError(TransactionRollbackError)
| Method resolution order:
| DeadlockDetectedError
| TransactionRollbackError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '40P01'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DependentObjectsStillExistError(DependentPrivilegeDescriptorsStillExistError)
| Method resolution order:
| DependentObjectsStillExistError
| DependentPrivilegeDescriptorsStillExistError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2BP01'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DependentPrivilegeDescriptorsStillExistError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| DependentPrivilegeDescriptorsStillExistError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2B000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DeprecatedFeature(PostgresWarning)
| Method resolution order:
| DeprecatedFeature
| PostgresWarning
| asyncpg.exceptions._base.PostgresLogMessage
| asyncpg.exceptions._base.PostgresMessage
| builtins.Warning
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '01P01'
|
| ----------------------------------------------------------------------
| Data descriptors inherited from PostgresWarning:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| __setattr__(self, name, val)
| Implement setattr(self, name, value).
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Warning:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Warning:
|
| __new__(*args, **kwargs) class method of builtins.Warning
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DiagnosticsError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| DiagnosticsError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '0Z000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DiskFullError(InsufficientResourcesError)
| Method resolution order:
| DiskFullError
| InsufficientResourcesError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '53100'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DivisionByZeroError(DataError)
| Method resolution order:
| DivisionByZeroError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22012'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DuplicateAliasError(SyntaxOrAccessError)
| Method resolution order:
| DuplicateAliasError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42712'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DuplicateColumnError(SyntaxOrAccessError)
| Method resolution order:
| DuplicateColumnError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42701'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DuplicateCursorError(SyntaxOrAccessError)
| Method resolution order:
| DuplicateCursorError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P03'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DuplicateDatabaseError(SyntaxOrAccessError)
| Method resolution order:
| DuplicateDatabaseError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P04'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DuplicateFileError(PostgresSystemError)
| Method resolution order:
| DuplicateFileError
| PostgresSystemError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '58P02'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DuplicateFunctionError(SyntaxOrAccessError)
| Method resolution order:
| DuplicateFunctionError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42723'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DuplicateJsonObjectKeyValueError(DataError)
| Method resolution order:
| DuplicateJsonObjectKeyValueError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22030'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DuplicateObjectError(SyntaxOrAccessError)
| Method resolution order:
| DuplicateObjectError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42710'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DuplicatePreparedStatementError(SyntaxOrAccessError)
| Method resolution order:
| DuplicatePreparedStatementError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P05'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DuplicateSchemaError(SyntaxOrAccessError)
| Method resolution order:
| DuplicateSchemaError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P06'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DuplicateTableError(SyntaxOrAccessError)
| Method resolution order:
| DuplicateTableError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P07'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class DynamicResultSetsReturned(PostgresWarning)
| Method resolution order:
| DynamicResultSetsReturned
| PostgresWarning
| asyncpg.exceptions._base.PostgresLogMessage
| asyncpg.exceptions._base.PostgresMessage
| builtins.Warning
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '0100C'
|
| ----------------------------------------------------------------------
| Data descriptors inherited from PostgresWarning:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| __setattr__(self, name, val)
| Implement setattr(self, name, value).
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Warning:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Warning:
|
| __new__(*args, **kwargs) class method of builtins.Warning
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ErrorInAssignmentError(DataError)
| Method resolution order:
| ErrorInAssignmentError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22005'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class EscapeCharacterConflictError(DataError)
| Method resolution order:
| EscapeCharacterConflictError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2200B'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class EventTriggerProtocolViolatedError(ExternalRoutineInvocationError)
| Method resolution order:
| EventTriggerProtocolViolatedError
| ExternalRoutineInvocationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '39P03'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ExclusionViolationError(IntegrityConstraintViolationError)
| Method resolution order:
| ExclusionViolationError
| IntegrityConstraintViolationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '23P01'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ExternalRoutineError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| ExternalRoutineError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '38000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ExternalRoutineInvocationError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| ExternalRoutineInvocationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '39000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWColumnNameNotFoundError(FDWError)
| Method resolution order:
| FDWColumnNameNotFoundError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV005'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWDynamicParameterValueNeededError(FDWError)
| Method resolution order:
| FDWDynamicParameterValueNeededError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV002'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWFunctionSequenceError(FDWError)
| Method resolution order:
| FDWFunctionSequenceError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV010'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWInconsistentDescriptorInformationError(FDWError)
| Method resolution order:
| FDWInconsistentDescriptorInformationError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV021'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWInvalidAttributeValueError(FDWError)
| Method resolution order:
| FDWInvalidAttributeValueError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV024'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWInvalidColumnNameError(FDWError)
| Method resolution order:
| FDWInvalidColumnNameError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV007'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWInvalidColumnNumberError(FDWError)
| Method resolution order:
| FDWInvalidColumnNumberError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV008'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWInvalidDataTypeDescriptorsError(FDWError)
| Method resolution order:
| FDWInvalidDataTypeDescriptorsError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV006'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWInvalidDataTypeError(FDWError)
| Method resolution order:
| FDWInvalidDataTypeError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV004'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWInvalidDescriptorFieldIdentifierError(FDWError)
| Method resolution order:
| FDWInvalidDescriptorFieldIdentifierError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV091'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWInvalidHandleError(FDWError)
| Method resolution order:
| FDWInvalidHandleError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV00B'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWInvalidOptionIndexError(FDWError)
| Method resolution order:
| FDWInvalidOptionIndexError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV00C'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWInvalidOptionNameError(FDWError)
| Method resolution order:
| FDWInvalidOptionNameError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV00D'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWInvalidStringFormatError(FDWError)
| Method resolution order:
| FDWInvalidStringFormatError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV00A'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWInvalidStringLengthOrBufferLengthError(FDWError)
| Method resolution order:
| FDWInvalidStringLengthOrBufferLengthError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV090'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWInvalidUseOfNullPointerError(FDWError)
| Method resolution order:
| FDWInvalidUseOfNullPointerError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV009'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWNoSchemasError(FDWError)
| Method resolution order:
| FDWNoSchemasError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV00P'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWOptionNameNotFoundError(FDWError)
| Method resolution order:
| FDWOptionNameNotFoundError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV00J'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWOutOfMemoryError(FDWError)
| Method resolution order:
| FDWOutOfMemoryError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV001'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWReplyHandleError(FDWError)
| Method resolution order:
| FDWReplyHandleError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV00K'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWSchemaNotFoundError(FDWError)
| Method resolution order:
| FDWSchemaNotFoundError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV00Q'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWTableNotFoundError(FDWError)
| Method resolution order:
| FDWTableNotFoundError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV00R'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWTooManyHandlesError(FDWError)
| Method resolution order:
| FDWTooManyHandlesError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV014'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWUnableToCreateExecutionError(FDWError)
| Method resolution order:
| FDWUnableToCreateExecutionError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV00L'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWUnableToCreateReplyError(FDWError)
| Method resolution order:
| FDWUnableToCreateReplyError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV00M'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FDWUnableToEstablishConnectionError(FDWError)
| Method resolution order:
| FDWUnableToEstablishConnectionError
| FDWError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'HV00N'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FatalPostgresError(PostgresError)
| A fatal error that should result in server disconnection.
|
| Method resolution order:
| FatalPostgresError
| PostgresError
| PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Methods inherited from PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| sqlstate = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FeatureNotSupportedError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| FeatureNotSupportedError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '0A000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FileNameTooLongError(PostgresSystemError)
| Method resolution order:
| FileNameTooLongError
| PostgresSystemError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '58P03'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ForeignKeyViolationError(IntegrityConstraintViolationError)
| Method resolution order:
| ForeignKeyViolationError
| IntegrityConstraintViolationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '23503'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class FunctionExecutedNoReturnStatementError(SQLRoutineError)
| Method resolution order:
| FunctionExecutedNoReturnStatementError
| SQLRoutineError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2F005'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class GeneratedAlwaysError(SyntaxOrAccessError)
| Method resolution order:
| GeneratedAlwaysError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '428C9'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class GroupingError(SyntaxOrAccessError)
| Method resolution order:
| GroupingError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42803'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class HeldCursorRequiresSameIsolationLevelError(InvalidTransactionStateError)
| Method resolution order:
| HeldCursorRequiresSameIsolationLevelError
| InvalidTransactionStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '25008'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class IdleInTransactionSessionTimeoutError(InvalidTransactionStateError)
| Method resolution order:
| IdleInTransactionSessionTimeoutError
| InvalidTransactionStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '25P03'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class IdleSessionTimeoutError(OperatorInterventionError)
| Method resolution order:
| IdleSessionTimeoutError
| OperatorInterventionError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '57P05'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ImplicitZeroBitPadding(PostgresWarning)
| Method resolution order:
| ImplicitZeroBitPadding
| PostgresWarning
| asyncpg.exceptions._base.PostgresLogMessage
| asyncpg.exceptions._base.PostgresMessage
| builtins.Warning
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '01008'
|
| ----------------------------------------------------------------------
| Data descriptors inherited from PostgresWarning:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| __setattr__(self, name, val)
| Implement setattr(self, name, value).
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Warning:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Warning:
|
| __new__(*args, **kwargs) class method of builtins.Warning
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InFailedSQLTransactionError(InvalidTransactionStateError)
| Method resolution order:
| InFailedSQLTransactionError
| InvalidTransactionStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '25P02'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InappropriateAccessModeForBranchTransactionError(InvalidTransactionStateError)
| Method resolution order:
| InappropriateAccessModeForBranchTransactionError
| InvalidTransactionStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '25003'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InappropriateIsolationLevelForBranchTransactionError(InvalidTransactionStateError)
| Method resolution order:
| InappropriateIsolationLevelForBranchTransactionError
| InvalidTransactionStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '25004'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class IndeterminateCollationError(SyntaxOrAccessError)
| Method resolution order:
| IndeterminateCollationError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P22'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class IndeterminateDatatypeError(SyntaxOrAccessError)
| Method resolution order:
| IndeterminateDatatypeError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P18'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class IndexCorruptedError(InternalServerError)
| Method resolution order:
| IndexCorruptedError
| InternalServerError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'XX002'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class IndicatorOverflowError(DataError)
| Method resolution order:
| IndicatorOverflowError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22022'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InsufficientPrivilegeError(SyntaxOrAccessError)
| Method resolution order:
| InsufficientPrivilegeError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42501'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InsufficientResourcesError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| InsufficientResourcesError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '53000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class IntegrityConstraintViolationError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| IntegrityConstraintViolationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '23000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InterfaceError(InterfaceMessage, builtins.Exception)
| InterfaceError(msg, *, detail=None, hint=None)
|
| An error caused by improper use of asyncpg API.
|
| Method resolution order:
| InterfaceError
| InterfaceMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Methods defined here:
|
| __init__(self, msg, *, detail=None, hint=None)
| Initialize self. See help(type(self)) for accurate signature.
|
| with_msg(self, msg)
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from InterfaceMessage:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Data descriptors inherited from InterfaceMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InterfaceWarning(InterfaceMessage, builtins.UserWarning)
| InterfaceWarning(msg, *, detail=None, hint=None)
|
| A warning caused by an improper use of asyncpg API.
|
| Method resolution order:
| InterfaceWarning
| InterfaceMessage
| builtins.UserWarning
| builtins.Warning
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Methods defined here:
|
| __init__(self, msg, *, detail=None, hint=None)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from InterfaceMessage:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Data descriptors inherited from InterfaceMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.UserWarning:
|
| __new__(*args, **kwargs) class method of builtins.UserWarning
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InternalClientError(builtins.Exception)
| All unexpected errors not classified otherwise.
|
| Method resolution order:
| InternalClientError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data descriptors defined here:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class InternalServerError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| InternalServerError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'XX000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class IntervalFieldOverflowError(DataError)
| Method resolution order:
| IntervalFieldOverflowError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22015'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidArgumentForLogarithmError(DataError)
| Method resolution order:
| InvalidArgumentForLogarithmError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2201E'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidArgumentForNthValueFunctionError(DataError)
| Method resolution order:
| InvalidArgumentForNthValueFunctionError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22016'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidArgumentForNtileFunctionError(DataError)
| Method resolution order:
| InvalidArgumentForNtileFunctionError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22014'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidArgumentForPowerFunctionError(DataError)
| Method resolution order:
| InvalidArgumentForPowerFunctionError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2201F'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidArgumentForSQLJsonDatetimeFunctionError(DataError)
| Method resolution order:
| InvalidArgumentForSQLJsonDatetimeFunctionError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22031'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidArgumentForWidthBucketFunctionError(DataError)
| Method resolution order:
| InvalidArgumentForWidthBucketFunctionError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2201G'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidArgumentForXqueryError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| InvalidArgumentForXqueryError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '10608'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidAuthorizationSpecificationError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| InvalidAuthorizationSpecificationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '28000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidBinaryRepresentationError(DataError)
| Method resolution order:
| InvalidBinaryRepresentationError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22P03'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidCachedStatementError(FeatureNotSupportedError)
| Method resolution order:
| InvalidCachedStatementError
| FeatureNotSupportedError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes inherited from FeatureNotSupportedError:
|
| sqlstate = '0A000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidCatalogNameError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| InvalidCatalogNameError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '3D000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidCharacterValueForCastError(DataError)
| Method resolution order:
| InvalidCharacterValueForCastError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22018'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidColumnDefinitionError(SyntaxOrAccessError)
| Method resolution order:
| InvalidColumnDefinitionError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42611'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidColumnReferenceError(SyntaxOrAccessError)
| Method resolution order:
| InvalidColumnReferenceError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P10'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidCursorDefinitionError(SyntaxOrAccessError)
| Method resolution order:
| InvalidCursorDefinitionError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P11'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidCursorNameError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| InvalidCursorNameError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '34000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidCursorStateError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| InvalidCursorStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '24000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidDatabaseDefinitionError(SyntaxOrAccessError)
| Method resolution order:
| InvalidDatabaseDefinitionError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P12'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidDatetimeFormatError(DataError)
| Method resolution order:
| InvalidDatetimeFormatError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22007'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidEscapeCharacterError(DataError)
| Method resolution order:
| InvalidEscapeCharacterError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22019'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidEscapeOctetError(DataError)
| Method resolution order:
| InvalidEscapeOctetError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2200D'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidEscapeSequenceError(DataError)
| Method resolution order:
| InvalidEscapeSequenceError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22025'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidForeignKeyError(SyntaxOrAccessError)
| Method resolution order:
| InvalidForeignKeyError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42830'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidFunctionDefinitionError(SyntaxOrAccessError)
| Method resolution order:
| InvalidFunctionDefinitionError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P13'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidGrantOperationError(InvalidGrantorError)
| Method resolution order:
| InvalidGrantOperationError
| InvalidGrantorError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '0LP01'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidGrantorError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| InvalidGrantorError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '0L000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidIndicatorParameterValueError(DataError)
| Method resolution order:
| InvalidIndicatorParameterValueError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22010'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidJsonTextError(DataError)
| Method resolution order:
| InvalidJsonTextError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22032'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidLocatorSpecificationError(LocatorError)
| Method resolution order:
| InvalidLocatorSpecificationError
| LocatorError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '0F001'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidNameError(SyntaxOrAccessError)
| Method resolution order:
| InvalidNameError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42602'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidObjectDefinitionError(SyntaxOrAccessError)
| Method resolution order:
| InvalidObjectDefinitionError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P17'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidParameterValueError(DataError)
| Method resolution order:
| InvalidParameterValueError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22023'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidPasswordError(InvalidAuthorizationSpecificationError)
| Method resolution order:
| InvalidPasswordError
| InvalidAuthorizationSpecificationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '28P01'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidPrecedingOrFollowingSizeError(DataError)
| Method resolution order:
| InvalidPrecedingOrFollowingSizeError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22013'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidPreparedStatementDefinitionError(SyntaxOrAccessError)
| Method resolution order:
| InvalidPreparedStatementDefinitionError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P14'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidRecursionError(SyntaxOrAccessError)
| Method resolution order:
| InvalidRecursionError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P19'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidRegularExpressionError(DataError)
| Method resolution order:
| InvalidRegularExpressionError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2201B'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidRoleSpecificationError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| InvalidRoleSpecificationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '0P000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidRowCountInLimitClauseError(DataError)
| Method resolution order:
| InvalidRowCountInLimitClauseError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2201W'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidRowCountInResultOffsetClauseError(DataError)
| Method resolution order:
| InvalidRowCountInResultOffsetClauseError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2201X'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidSQLJsonSubscriptError(DataError)
| Method resolution order:
| InvalidSQLJsonSubscriptError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22033'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidSQLStatementNameError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| InvalidSQLStatementNameError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '26000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidSavepointSpecificationError(SavepointError)
| Method resolution order:
| InvalidSavepointSpecificationError
| SavepointError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '3B001'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidSchemaDefinitionError(SyntaxOrAccessError)
| Method resolution order:
| InvalidSchemaDefinitionError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P15'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidSchemaNameError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| InvalidSchemaNameError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '3F000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidSqlstateReturnedError(ExternalRoutineInvocationError)
| Method resolution order:
| InvalidSqlstateReturnedError
| ExternalRoutineInvocationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '39001'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidTableDefinitionError(SyntaxOrAccessError)
| Method resolution order:
| InvalidTableDefinitionError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P16'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidTablesampleArgumentError(DataError)
| Method resolution order:
| InvalidTablesampleArgumentError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2202H'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidTablesampleRepeatError(DataError)
| Method resolution order:
| InvalidTablesampleRepeatError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2202G'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidTextRepresentationError(DataError)
| Method resolution order:
| InvalidTextRepresentationError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22P02'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidTimeZoneDisplacementValueError(DataError)
| Method resolution order:
| InvalidTimeZoneDisplacementValueError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22009'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidTransactionInitiationError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| InvalidTransactionInitiationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '0B000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidTransactionStateError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| InvalidTransactionStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '25000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidTransactionTerminationError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| InvalidTransactionTerminationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2D000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidUseOfEscapeCharacterError(DataError)
| Method resolution order:
| InvalidUseOfEscapeCharacterError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2200C'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidXmlCommentError(DataError)
| Method resolution order:
| InvalidXmlCommentError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2200S'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidXmlContentError(DataError)
| Method resolution order:
| InvalidXmlContentError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2200N'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidXmlDocumentError(DataError)
| Method resolution order:
| InvalidXmlDocumentError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2200M'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class InvalidXmlProcessingInstructionError(DataError)
| Method resolution order:
| InvalidXmlProcessingInstructionError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2200T'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class LocatorError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| LocatorError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '0F000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class LockFileExistsError(ConfigFileError)
| Method resolution order:
| LockFileExistsError
| ConfigFileError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'F0001'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class LockNotAvailableError(ObjectNotInPrerequisiteStateError)
| Method resolution order:
| LockNotAvailableError
| ObjectNotInPrerequisiteStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '55P03'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ModifyingExternalRoutineSQLDataNotPermittedError(ExternalRoutineError)
| Method resolution order:
| ModifyingExternalRoutineSQLDataNotPermittedError
| ExternalRoutineError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '38002'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ModifyingSQLDataNotPermittedError(SQLRoutineError)
| Method resolution order:
| ModifyingSQLDataNotPermittedError
| SQLRoutineError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2F002'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class MoreThanOneSQLJsonItemError(DataError)
| Method resolution order:
| MoreThanOneSQLJsonItemError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22034'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class MostSpecificTypeMismatchError(DataError)
| Method resolution order:
| MostSpecificTypeMismatchError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2200G'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class NameTooLongError(SyntaxOrAccessError)
| Method resolution order:
| NameTooLongError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42622'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class NoActiveSQLTransactionError(InvalidTransactionStateError)
| Method resolution order:
| NoActiveSQLTransactionError
| InvalidTransactionStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '25P01'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class NoActiveSQLTransactionForBranchTransactionError(InvalidTransactionStateError)
| Method resolution order:
| NoActiveSQLTransactionForBranchTransactionError
| InvalidTransactionStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '25005'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class NoAdditionalDynamicResultSetsReturned(NoData)
| Method resolution order:
| NoAdditionalDynamicResultSetsReturned
| NoData
| PostgresWarning
| asyncpg.exceptions._base.PostgresLogMessage
| asyncpg.exceptions._base.PostgresMessage
| builtins.Warning
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '02001'
|
| ----------------------------------------------------------------------
| Data descriptors inherited from PostgresWarning:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| __setattr__(self, name, val)
| Implement setattr(self, name, value).
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Warning:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Warning:
|
| __new__(*args, **kwargs) class method of builtins.Warning
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class NoData(PostgresWarning)
| Method resolution order:
| NoData
| PostgresWarning
| asyncpg.exceptions._base.PostgresLogMessage
| asyncpg.exceptions._base.PostgresMessage
| builtins.Warning
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '02000'
|
| ----------------------------------------------------------------------
| Data descriptors inherited from PostgresWarning:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| __setattr__(self, name, val)
| Implement setattr(self, name, value).
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Warning:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Warning:
|
| __new__(*args, **kwargs) class method of builtins.Warning
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class NoDataFoundError(PLPGSQLError)
| Method resolution order:
| NoDataFoundError
| PLPGSQLError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'P0002'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class NoSQLJsonItemError(DataError)
| Method resolution order:
| NoSQLJsonItemError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22035'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class NonNumericSQLJsonItemError(DataError)
| Method resolution order:
| NonNumericSQLJsonItemError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22036'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class NonUniqueKeysInAJsonObjectError(DataError)
| Method resolution order:
| NonUniqueKeysInAJsonObjectError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22037'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class NonstandardUseOfEscapeCharacterError(DataError)
| Method resolution order:
| NonstandardUseOfEscapeCharacterError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22P06'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class NotAnXmlDocumentError(DataError)
| Method resolution order:
| NotAnXmlDocumentError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2200L'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class NotNullViolationError(IntegrityConstraintViolationError)
| Method resolution order:
| NotNullViolationError
| IntegrityConstraintViolationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '23502'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class NullValueEliminatedInSetFunction(PostgresWarning)
| Method resolution order:
| NullValueEliminatedInSetFunction
| PostgresWarning
| asyncpg.exceptions._base.PostgresLogMessage
| asyncpg.exceptions._base.PostgresMessage
| builtins.Warning
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '01003'
|
| ----------------------------------------------------------------------
| Data descriptors inherited from PostgresWarning:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| __setattr__(self, name, val)
| Implement setattr(self, name, value).
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Warning:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Warning:
|
| __new__(*args, **kwargs) class method of builtins.Warning
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class NullValueInExternalRoutineNotAllowedError(ExternalRoutineInvocationError)
| Method resolution order:
| NullValueInExternalRoutineNotAllowedError
| ExternalRoutineInvocationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '39004'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class NullValueNoIndicatorParameterError(DataError)
| Method resolution order:
| NullValueNoIndicatorParameterError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22002'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class NullValueNotAllowedError(DataError)
| Method resolution order:
| NullValueNotAllowedError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22004'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class NumericValueOutOfRangeError(DataError)
| Method resolution order:
| NumericValueOutOfRangeError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22003'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ObjectInUseError(ObjectNotInPrerequisiteStateError)
| Method resolution order:
| ObjectInUseError
| ObjectNotInPrerequisiteStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '55006'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ObjectNotInPrerequisiteStateError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| ObjectNotInPrerequisiteStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '55000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class OperatorInterventionError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| OperatorInterventionError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '57000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class OutOfMemoryError(InsufficientResourcesError)
| Method resolution order:
| OutOfMemoryError
| InsufficientResourcesError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '53200'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class OutdatedSchemaCacheError(InternalClientError)
| OutdatedSchemaCacheError(msg, *, schema=None, data_type=None, position=None)
|
| A value decoding error caused by a schema change before row fetching.
|
| Method resolution order:
| OutdatedSchemaCacheError
| InternalClientError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Methods defined here:
|
| __init__(self, msg, *, schema=None, data_type=None, position=None)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from InternalClientError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class PLPGSQLError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| PLPGSQLError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'P0000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class PostgresConnectionError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| PostgresConnectionError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '08000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class PostgresError(PostgresMessage, builtins.Exception)
| Base class for all Postgres errors.
|
| Method resolution order:
| PostgresError
| PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Methods defined here:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| sqlstate = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class PostgresFloatingPointError(DataError)
| Method resolution order:
| PostgresFloatingPointError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22P01'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class PostgresIOError(PostgresSystemError)
| Method resolution order:
| PostgresIOError
| PostgresSystemError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '58030'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class PostgresLogMessage(PostgresMessage)
| A base class for non-error server messages.
|
| Method resolution order:
| PostgresLogMessage
| PostgresMessage
| builtins.object
|
| Methods defined here:
|
| __setattr__(self, name, val)
| Implement setattr(self, name, value).
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Methods inherited from PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| sqlstate = None
|
| table_name = None
class PostgresSyntaxError(SyntaxOrAccessError)
| Method resolution order:
| PostgresSyntaxError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42601'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class PostgresSystemError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| PostgresSystemError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '58000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class PostgresWarning(asyncpg.exceptions._base.PostgresLogMessage, builtins.Warning)
| Method resolution order:
| PostgresWarning
| asyncpg.exceptions._base.PostgresLogMessage
| asyncpg.exceptions._base.PostgresMessage
| builtins.Warning
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data descriptors defined here:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| sqlstate = '01000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| __setattr__(self, name, val)
| Implement setattr(self, name, value).
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Warning:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Warning:
|
| __new__(*args, **kwargs) class method of builtins.Warning
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class PrivilegeNotGranted(PostgresWarning)
| Method resolution order:
| PrivilegeNotGranted
| PostgresWarning
| asyncpg.exceptions._base.PostgresLogMessage
| asyncpg.exceptions._base.PostgresMessage
| builtins.Warning
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '01007'
|
| ----------------------------------------------------------------------
| Data descriptors inherited from PostgresWarning:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| __setattr__(self, name, val)
| Implement setattr(self, name, value).
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Warning:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Warning:
|
| __new__(*args, **kwargs) class method of builtins.Warning
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class PrivilegeNotRevoked(PostgresWarning)
| Method resolution order:
| PrivilegeNotRevoked
| PostgresWarning
| asyncpg.exceptions._base.PostgresLogMessage
| asyncpg.exceptions._base.PostgresMessage
| builtins.Warning
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '01006'
|
| ----------------------------------------------------------------------
| Data descriptors inherited from PostgresWarning:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| __setattr__(self, name, val)
| Implement setattr(self, name, value).
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Warning:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Warning:
|
| __new__(*args, **kwargs) class method of builtins.Warning
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ProgramLimitExceededError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| ProgramLimitExceededError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '54000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ProhibitedExternalRoutineSQLStatementAttemptedError(ExternalRoutineError)
| Method resolution order:
| ProhibitedExternalRoutineSQLStatementAttemptedError
| ExternalRoutineError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '38003'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ProhibitedSQLStatementAttemptedError(SQLRoutineError)
| Method resolution order:
| ProhibitedSQLStatementAttemptedError
| SQLRoutineError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2F003'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ProtocolError(InternalClientError)
| Unexpected condition in the handling of PostgreSQL protocol input.
|
| Method resolution order:
| ProtocolError
| InternalClientError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data descriptors inherited from InternalClientError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class ProtocolViolationError(PostgresConnectionError)
| Method resolution order:
| ProtocolViolationError
| PostgresConnectionError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '08P01'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class QueryCanceledError(OperatorInterventionError)
| Method resolution order:
| QueryCanceledError
| OperatorInterventionError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '57014'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class RaiseError(PLPGSQLError)
| Method resolution order:
| RaiseError
| PLPGSQLError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'P0001'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ReadOnlySQLTransactionError(InvalidTransactionStateError)
| Method resolution order:
| ReadOnlySQLTransactionError
| InvalidTransactionStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '25006'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ReadingExternalRoutineSQLDataNotPermittedError(ExternalRoutineError)
| Method resolution order:
| ReadingExternalRoutineSQLDataNotPermittedError
| ExternalRoutineError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '38004'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ReadingSQLDataNotPermittedError(SQLRoutineError)
| Method resolution order:
| ReadingSQLDataNotPermittedError
| SQLRoutineError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2F004'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ReservedNameError(SyntaxOrAccessError)
| Method resolution order:
| ReservedNameError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42939'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class RestrictViolationError(IntegrityConstraintViolationError)
| Method resolution order:
| RestrictViolationError
| IntegrityConstraintViolationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '23001'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class SQLJsonArrayNotFoundError(DataError)
| Method resolution order:
| SQLJsonArrayNotFoundError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22039'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class SQLJsonItemCannotBeCastToTargetTypeError(DataError)
| Method resolution order:
| SQLJsonItemCannotBeCastToTargetTypeError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2203G'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class SQLJsonMemberNotFoundError(DataError)
| Method resolution order:
| SQLJsonMemberNotFoundError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2203A'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class SQLJsonNumberNotFoundError(DataError)
| Method resolution order:
| SQLJsonNumberNotFoundError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2203B'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class SQLJsonObjectNotFoundError(DataError)
| Method resolution order:
| SQLJsonObjectNotFoundError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2203C'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class SQLJsonScalarRequiredError(DataError)
| Method resolution order:
| SQLJsonScalarRequiredError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2203F'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class SQLRoutineError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| SQLRoutineError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2F000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class SQLStatementNotYetCompleteError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| SQLStatementNotYetCompleteError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '03000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class SavepointError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| SavepointError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '3B000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class SchemaAndDataStatementMixingNotSupportedError(InvalidTransactionStateError)
| Method resolution order:
| SchemaAndDataStatementMixingNotSupportedError
| InvalidTransactionStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '25007'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class SequenceGeneratorLimitExceededError(DataError)
| Method resolution order:
| SequenceGeneratorLimitExceededError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2200H'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class SerializationError(TransactionRollbackError)
| Method resolution order:
| SerializationError
| TransactionRollbackError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '40001'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class SingletonSQLJsonItemRequiredError(DataError)
| Method resolution order:
| SingletonSQLJsonItemRequiredError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22038'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class SnapshotTooOldError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| SnapshotTooOldError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '72000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class SrfProtocolViolatedError(ExternalRoutineInvocationError)
| Method resolution order:
| SrfProtocolViolatedError
| ExternalRoutineInvocationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '39P02'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class StackedDiagnosticsAccessedWithoutActiveHandlerError(DiagnosticsError)
| Method resolution order:
| StackedDiagnosticsAccessedWithoutActiveHandlerError
| DiagnosticsError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '0Z002'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class StatementCompletionUnknownError(TransactionRollbackError)
| Method resolution order:
| StatementCompletionUnknownError
| TransactionRollbackError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '40003'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class StatementTooComplexError(ProgramLimitExceededError)
| Method resolution order:
| StatementTooComplexError
| ProgramLimitExceededError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '54001'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class StringDataLengthMismatchError(DataError)
| Method resolution order:
| StringDataLengthMismatchError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22026'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class StringDataRightTruncation(PostgresWarning)
| Method resolution order:
| StringDataRightTruncation
| PostgresWarning
| asyncpg.exceptions._base.PostgresLogMessage
| asyncpg.exceptions._base.PostgresMessage
| builtins.Warning
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '01004'
|
| ----------------------------------------------------------------------
| Data descriptors inherited from PostgresWarning:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| __setattr__(self, name, val)
| Implement setattr(self, name, value).
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresLogMessage:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Warning:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Warning:
|
| __new__(*args, **kwargs) class method of builtins.Warning
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class StringDataRightTruncationError(DataError)
| Method resolution order:
| StringDataRightTruncationError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22001'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class SubstringError(DataError)
| Method resolution order:
| SubstringError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22011'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class SyntaxOrAccessError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class TargetServerAttributeNotMatched(InternalClientError)
| Could not find a host that satisfies the target attribute requirement
|
| Method resolution order:
| TargetServerAttributeNotMatched
| InternalClientError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data descriptors inherited from InternalClientError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class TooManyArgumentsError(ProgramLimitExceededError)
| Method resolution order:
| TooManyArgumentsError
| ProgramLimitExceededError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '54023'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class TooManyColumnsError(ProgramLimitExceededError)
| Method resolution order:
| TooManyColumnsError
| ProgramLimitExceededError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '54011'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class TooManyConnectionsError(InsufficientResourcesError)
| Method resolution order:
| TooManyConnectionsError
| InsufficientResourcesError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '53300'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class TooManyJsonArrayElementsError(DataError)
| Method resolution order:
| TooManyJsonArrayElementsError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2203D'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class TooManyJsonObjectMembersError(DataError)
| Method resolution order:
| TooManyJsonObjectMembersError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2203E'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class TooManyRowsError(PLPGSQLError)
| Method resolution order:
| TooManyRowsError
| PLPGSQLError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = 'P0003'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class TransactionIntegrityConstraintViolationError(TransactionRollbackError)
| Method resolution order:
| TransactionIntegrityConstraintViolationError
| TransactionRollbackError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '40002'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class TransactionResolutionUnknownError(PostgresConnectionError)
| Method resolution order:
| TransactionResolutionUnknownError
| PostgresConnectionError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '08007'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class TransactionRollbackError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| TransactionRollbackError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '40000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class TransactionTimeoutError(InvalidTransactionStateError)
| Method resolution order:
| TransactionTimeoutError
| InvalidTransactionStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '25P04'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class TriggerProtocolViolatedError(ExternalRoutineInvocationError)
| Method resolution order:
| TriggerProtocolViolatedError
| ExternalRoutineInvocationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '39P01'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class TriggeredActionError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| TriggeredActionError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '09000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class TriggeredDataChangeViolationError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| TriggeredDataChangeViolationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '27000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class TrimError(DataError)
| Method resolution order:
| TrimError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22027'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class UndefinedColumnError(SyntaxOrAccessError)
| Method resolution order:
| UndefinedColumnError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42703'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class UndefinedFileError(PostgresSystemError)
| Method resolution order:
| UndefinedFileError
| PostgresSystemError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '58P01'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class UndefinedFunctionError(SyntaxOrAccessError)
| Method resolution order:
| UndefinedFunctionError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42883'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class UndefinedObjectError(SyntaxOrAccessError)
| Method resolution order:
| UndefinedObjectError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42704'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class UndefinedParameterError(SyntaxOrAccessError)
| Method resolution order:
| UndefinedParameterError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P02'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class UndefinedTableError(SyntaxOrAccessError)
| Method resolution order:
| UndefinedTableError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P01'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class UniqueViolationError(IntegrityConstraintViolationError)
| Method resolution order:
| UniqueViolationError
| IntegrityConstraintViolationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '23505'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class UnknownPostgresError(FatalPostgresError)
| An error with an unknown SQLSTATE code.
|
| Method resolution order:
| UnknownPostgresError
| FatalPostgresError
| PostgresError
| PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Methods inherited from PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| sqlstate = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class UnsafeNewEnumValueUsageError(ObjectNotInPrerequisiteStateError)
| Method resolution order:
| UnsafeNewEnumValueUsageError
| ObjectNotInPrerequisiteStateError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '55P04'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class UnsupportedClientFeatureError(InterfaceError)
| UnsupportedClientFeatureError(msg, *, detail=None, hint=None)
|
| Requested feature is unsupported by asyncpg.
|
| Method resolution order:
| UnsupportedClientFeatureError
| InterfaceError
| InterfaceMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Methods inherited from InterfaceError:
|
| __init__(self, msg, *, detail=None, hint=None)
| Initialize self. See help(type(self)) for accurate signature.
|
| with_msg(self, msg)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from InterfaceError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from InterfaceMessage:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Data descriptors inherited from InterfaceMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class UnsupportedServerFeatureError(InterfaceError)
| UnsupportedServerFeatureError(msg, *, detail=None, hint=None)
|
| Requested feature is unsupported by PostgreSQL server.
|
| Method resolution order:
| UnsupportedServerFeatureError
| InterfaceError
| InterfaceMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Methods inherited from InterfaceError:
|
| __init__(self, msg, *, detail=None, hint=None)
| Initialize self. See help(type(self)) for accurate signature.
|
| with_msg(self, msg)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from InterfaceError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from InterfaceMessage:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Data descriptors inherited from InterfaceMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class UnterminatedCStringError(DataError)
| Method resolution order:
| UnterminatedCStringError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22024'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class UntranslatableCharacterError(DataError)
| Method resolution order:
| UntranslatableCharacterError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '22P05'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class WindowingError(SyntaxOrAccessError)
| Method resolution order:
| WindowingError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42P20'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class WithCheckOptionViolationError(asyncpg.exceptions._base.PostgresError)
| Method resolution order:
| WithCheckOptionViolationError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '44000'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class WrongObjectTypeError(SyntaxOrAccessError)
| Method resolution order:
| WrongObjectTypeError
| SyntaxOrAccessError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '42809'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
class ZeroLengthCharacterStringError(DataError)
| Method resolution order:
| ZeroLengthCharacterStringError
| DataError
| asyncpg.exceptions._base.PostgresError
| asyncpg.exceptions._base.PostgresMessage
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data and other attributes defined here:
|
| sqlstate = '2200F'
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresError:
|
| __str__(self)
| Return str(self).
|
| ----------------------------------------------------------------------
| Class methods inherited from asyncpg.exceptions._base.PostgresError:
|
| new(fields, query=None)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from asyncpg.exceptions._base.PostgresMessage:
|
| as_dict(self)
|
| ----------------------------------------------------------------------
| Data descriptors inherited from asyncpg.exceptions._base.PostgresMessage:
|
| __dict__
| dictionary for instance variables
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from asyncpg.exceptions._base.PostgresMessage:
|
| column_name = None
|
| constraint_name = None
|
| context = None
|
| data_type_name = None
|
| detail = None
|
| hint = None
|
| internal_position = None
|
| internal_query = None
|
| message = None
|
| position = None
|
| schema_name = None
|
| server_source_filename = None
|
| server_source_function = None
|
| server_source_line = None
|
| severity = None
|
| severity_en = None
|
| table_name = None
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __suppress_context__
|
| __traceback__
|
| args
DATA
__all__ = ('ActiveSQLTransactionError', 'AdminShutdownError', 'Ambiguo...
FILE
c:\users\youse\appdata\local\programs\python\python312\lib\site-packages\asyncpg\exceptions\__init__.py
asyncpg.introspection
Python Library Documentation: module asyncpg.introspection in asyncpg
NAME
asyncpg.introspection
DESCRIPTION
# Copyright (C) 2016-present the asyncpg authors and contributors
# <see AUTHORS file>
#
# This module is part of asyncpg and is released under
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
FUNCTIONS
TypeRecord(rec: 'typing.Tuple[int, typing.Optional[int], bytes]') -> 'protocol.Record'
is_composite_type(typeinfo: 'protocol.Record') -> 'bool'
is_domain_type(typeinfo: 'protocol.Record') -> 'bool'
is_scalar_type(typeinfo: 'protocol.Record') -> 'bool'
DATA
INTRO_LOOKUP_TYPES = 'WITH RECURSIVE typeinfo_tree(\n oid, ns, name...
INTRO_LOOKUP_TYPES_13 = 'WITH RECURSIVE typeinfo_tree(\n oid, ns, n...
SCALAR_TYPE_KINDS = (b'b', b'd', b'e')
TYPE_BY_NAME = 'SELECT\n t.oid,\n t.typelem AS elemtype,...c...
__annotations__ = {'TYPE_BY_NAME': 'typing.Final', '_TYPEINFO': 'typin...
FILE
c:\users\youse\appdata\local\programs\python\python312\lib\site-packages\asyncpg\introspection.py
asyncpg.pgproto
Python Library Documentation: package asyncpg.pgproto in asyncpg
NAME
asyncpg.pgproto
DESCRIPTION
# Copyright (C) 2016-present the asyncpg authors and contributors
# <see AUTHORS file>
#
# This module is part of asyncpg and is released under
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
PACKAGE CONTENTS
pgproto
types
FILE
c:\users\youse\appdata\local\programs\python\python312\lib\site-packages\asyncpg\pgproto\__init__.py
asyncpg.pool
Python Library Documentation: module asyncpg.pool in asyncpg
NAME
asyncpg.pool
DESCRIPTION
# Copyright (C) 2016-present the asyncpg authors and contributors
# <see AUTHORS file>
#
# This module is part of asyncpg and is released under
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
CLASSES
asyncpg.connection._ConnectionProxy(builtins.object)
PoolConnectionProxy
builtins.object
Pool
PoolAcquireContext
PoolConnectionHolder
builtins.type(builtins.object)
PoolConnectionProxyMeta
class Pool(builtins.object)
| Pool(*connect_args, min_size, max_size, max_queries, max_inactive_connection_lifetime, connect=None, setup=None, init=None, reset=None, loop, connection_class, record_class, **connect_kwargs)
|
| A connection pool.
|
| Connection pool can be used to manage a set of connections to the database.
| Connections are first acquired from the pool, then used, and then released
| back to the pool. Once a connection is released, it's reset to close all
| open cursors and other resources *except* prepared statements.
|
| Pools are created by calling :func:`~asyncpg.pool.create_pool`.
|
| Methods defined here:
|
| async __aenter__(self)
|
| async __aexit__(self, *exc)
|
| __await__(self)
|
| __init__(self, *connect_args, min_size, max_size, max_queries, max_inactive_connection_lifetime, connect=None, setup=None, init=None, reset=None, loop, connection_class, record_class, **connect_kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| acquire(self, *, timeout=None)
| Acquire a database connection from the pool.
|
| :param float timeout: A timeout for acquiring a Connection.
| :return: An instance of :class:`~asyncpg.connection.Connection`.
|
| Can be used in an ``await`` expression or with an ``async with`` block.
|
| .. code-block:: python
|
| async with pool.acquire() as con:
| await con.execute(...)
|
| Or:
|
| .. code-block:: python
|
| con = await pool.acquire()
| try:
| await con.execute(...)
| finally:
| await pool.release(con)
|
| async close(self)
| Attempt to gracefully close all connections in the pool.
|
| Wait until all pool connections are released, close them and
| shut down the pool. If any error (including cancellation) occurs
| in ``close()`` the pool will terminate by calling
| :meth:`Pool.terminate() <pool.Pool.terminate>`.
|
| It is advisable to use :func:`python:asyncio.wait_for` to set
| a timeout.
|
| .. versionchanged:: 0.16.0
| ``close()`` now waits until all pool connections are released
| before closing them and the pool. Errors raised in ``close()``
| will cause immediate pool termination.
|
| async copy_from_query(self, query, *args, output, timeout=None, format=None, oids=None, delimiter=None, null=None, header=None, quote=None, escape=None, force_quote=None, encoding=None)
| Copy the results of a query to a file or file-like object.
|
| Pool performs this operation using one of its connections. Other than
| that, it behaves identically to
| :meth:`Connection.copy_from_query()
| <asyncpg.connection.Connection.copy_from_query>`.
|
| .. versionadded:: 0.24.0
|
| async copy_from_table(self, table_name, *, output, columns=None, schema_name=None, timeout=None, format=None, oids=None, delimiter=None, null=None, header=None, quote=None, escape=None, force_quote=None, encoding=None)
| Copy table contents to a file or file-like object.
|
| Pool performs this operation using one of its connections. Other than
| that, it behaves identically to
| :meth:`Connection.copy_from_table()
| <asyncpg.connection.Connection.copy_from_table>`.
|
| .. versionadded:: 0.24.0
|
| async copy_records_to_table(self, table_name, *, records, columns=None, schema_name=None, timeout=None, where=None)
| Copy a list of records to the specified table using binary COPY.
|
| Pool performs this operation using one of its connections. Other than
| that, it behaves identically to
| :meth:`Connection.copy_records_to_table()
| <asyncpg.connection.Connection.copy_records_to_table>`.
|
| .. versionadded:: 0.24.0
|
| async copy_to_table(self, table_name, *, source, columns=None, schema_name=None, timeout=None, format=None, oids=None, freeze=None, delimiter=None, null=None, header=None, quote=None, escape=None, force_quote=None, force_not_null=None, force_null=None, encoding=None, where=None)
| Copy data to the specified table.
|
| Pool performs this operation using one of its connections. Other than
| that, it behaves identically to
| :meth:`Connection.copy_to_table()
| <asyncpg.connection.Connection.copy_to_table>`.
|
| .. versionadded:: 0.24.0
|
| async execute(self, query: 'str', *args, timeout: 'Optional[float]' = None) -> 'str'
| Execute an SQL command (or commands).
|
| Pool performs this operation using one of its connections. Other than
| that, it behaves identically to
| :meth:`Connection.execute() <asyncpg.connection.Connection.execute>`.
|
| .. versionadded:: 0.10.0
|
| async executemany(self, command: 'str', args, *, timeout: 'Optional[float]' = None)
| Execute an SQL *command* for each sequence of arguments in *args*.
|
| Pool performs this operation using one of its connections. Other than
| that, it behaves identically to
| :meth:`Connection.executemany()
| <asyncpg.connection.Connection.executemany>`.
|
| .. versionadded:: 0.10.0
|
| async expire_connections(self)
| Expire all currently open connections.
|
| Cause all currently open connections to get replaced on the
| next :meth:`~asyncpg.pool.Pool.acquire()` call.
|
| .. versionadded:: 0.16.0
|
| async fetch(self, query, *args, timeout=None, record_class=None) -> 'list'
| Run a query and return the results as a list of :class:`Record`.
|
| Pool performs this operation using one of its connections. Other than
| that, it behaves identically to
| :meth:`Connection.fetch() <asyncpg.connection.Connection.fetch>`.
|
| .. versionadded:: 0.10.0
|
| async fetchmany(self, query, args, *, timeout=None, record_class=None)
| Run a query for each sequence of arguments in *args*
| and return the results as a list of :class:`Record`.
|
| Pool performs this operation using one of its connections. Other than
| that, it behaves identically to
| :meth:`Connection.fetchmany()
| <asyncpg.connection.Connection.fetchmany>`.
|
| .. versionadded:: 0.30.0
|
| async fetchrow(self, query, *args, timeout=None, record_class=None)
| Run a query and return the first row.
|
| Pool performs this operation using one of its connections. Other than
| that, it behaves identically to
| :meth:`Connection.fetchrow() <asyncpg.connection.Connection.fetchrow>`.
|
| .. versionadded:: 0.10.0
|
| async fetchval(self, query, *args, column=0, timeout=None)
| Run a query and return a value in the first row.
|
| Pool performs this operation using one of its connections. Other than
| that, it behaves identically to
| :meth:`Connection.fetchval()
| <asyncpg.connection.Connection.fetchval>`.
|
| .. versionadded:: 0.10.0
|
| get_idle_size(self)
| Return the current number of idle connections in this pool.
|
| .. versionadded:: 0.25.0
|
| get_max_size(self)
| Return the maximum allowed number of connections in this pool.
|
| .. versionadded:: 0.25.0
|
| get_min_size(self)
| Return the minimum number of connections in this pool.
|
| .. versionadded:: 0.25.0
|
| get_size(self)
| Return the current number of connections in this pool.
|
| .. versionadded:: 0.25.0
|
| is_closing(self)
| Return ``True`` if the pool is closing or is closed.
|
| .. versionadded:: 0.28.0
|
| async release(self, connection, *, timeout=None)
| Release a database connection back to the pool.
|
| :param Connection connection:
| A :class:`~asyncpg.connection.Connection` object to release.
| :param float timeout:
| A timeout for releasing the connection. If not specified, defaults
| to the timeout provided in the corresponding call to the
| :meth:`Pool.acquire() <asyncpg.pool.Pool.acquire>` method.
|
| .. versionchanged:: 0.14.0
| Added the *timeout* parameter.
|
| set_connect_args(self, dsn=None, **connect_kwargs)
| Set the new connection arguments for this pool.
|
| The new connection arguments will be used for all subsequent
| new connection attempts. Existing connections will remain until
| they expire. Use :meth:`Pool.expire_connections()
| <asyncpg.pool.Pool.expire_connections>` to expedite the connection
| expiry.
|
| :param str dsn:
| Connection arguments specified using as a single string in
| the following format:
| ``postgres://user:pass@host:port/database?option=value``.
|
| :param \*\*connect_kwargs:
| Keyword arguments for the :func:`~asyncpg.connection.connect`
| function.
|
| .. versionadded:: 0.16.0
|
| terminate(self)
| Terminate all connections in the pool.
class PoolAcquireContext(builtins.object)
| PoolAcquireContext(pool: 'Pool', timeout: 'Optional[float]') -> 'None'
|
| Methods defined here:
|
| async __aenter__(self)
|
| async __aexit__(self, exc_type: 'Optional[Type[BaseException]]' = None, exc_val: 'Optional[BaseException]' = None, exc_tb: 'Optional[TracebackType]' = None) -> 'None'
|
| __await__(self)
|
| __init__(self, pool: 'Pool', timeout: 'Optional[float]') -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| connection
|
| done
|
| pool
|
| timeout
class PoolConnectionHolder(builtins.object)
| PoolConnectionHolder(pool: "'Pool'", *, max_queries: 'float', setup: 'Optional[Callable[[PoolConnectionProxy], Awaitable[None]]]', max_inactive_time: 'float') -> 'None'
|
| Methods defined here:
|
| __init__(self, pool: "'Pool'", *, max_queries: 'float', setup: 'Optional[Callable[[PoolConnectionProxy], Awaitable[None]]]', max_inactive_time: 'float') -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| async acquire(self) -> 'PoolConnectionProxy'
|
| async close(self) -> 'None'
|
| async connect(self) -> 'None'
|
| is_connected(self) -> 'bool'
|
| is_idle(self) -> 'bool'
|
| async release(self, timeout: 'Optional[float]') -> 'None'
|
| terminate(self) -> 'None'
|
| async wait_until_released(self) -> 'None'
class PoolConnectionProxy(asyncpg.connection._ConnectionProxy)
| PoolConnectionProxy(holder: 'PoolConnectionHolder', con: 'connection.Connection') -> 'None'
|
| A representation of a database session.
|
| Connections are created by calling :func:`~asyncpg.connection.connect`.
|
| Method resolution order:
| PoolConnectionProxy
| asyncpg.connection._ConnectionProxy
| builtins.object
|
| Methods defined here:
|
| __getattr__(self, attr: 'str') -> 'Any'
|
| __init__(self, holder: 'PoolConnectionHolder', con: 'connection.Connection') -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| async add_listener(self, channel, callback) from asyncpg.connection.Connection
| Add a listener for Postgres notifications.
|
| :param str channel: Channel to listen on.
|
| :param callable callback:
| A callable or a coroutine function receiving the following
| arguments:
| **connection**: a Connection the callback is registered with;
| **pid**: PID of the Postgres server that sent the notification;
| **channel**: name of the channel the notification was sent to;
| **payload**: the payload.
|
| .. versionchanged:: 0.24.0
| The ``callback`` argument may be a coroutine function.
|
| add_log_listener(self, callback) from asyncpg.connection.Connection
| Add a listener for Postgres log messages.
|
| It will be called when asyncronous NoticeResponse is received
| from the connection. Possible message types are: WARNING, NOTICE,
| DEBUG, INFO, or LOG.
|
| :param callable callback:
| A callable or a coroutine function receiving the following
| arguments:
| **connection**: a Connection the callback is registered with;
| **message**: the `exceptions.PostgresLogMessage` message.
|
| .. versionadded:: 0.12.0
|
| .. versionchanged:: 0.24.0
| The ``callback`` argument may be a coroutine function.
|
| add_query_logger(self, callback) from asyncpg.connection.Connection
| Add a logger that will be called when queries are executed.
|
| :param callable callback:
| A callable or a coroutine function receiving one argument:
| **record**, a LoggedQuery containing `query`, `args`, `timeout`,
| `elapsed`, `exception`, `conn_addr`, and `conn_params`.
|
| .. versionadded:: 0.29.0
|
| add_termination_listener(self, callback) from asyncpg.connection.Connection
| Add a listener that will be called when the connection is closed.
|
| :param callable callback:
| A callable or a coroutine function receiving one argument:
| **connection**: a Connection the callback is registered with.
|
| .. versionadded:: 0.21.0
|
| .. versionchanged:: 0.24.0
| The ``callback`` argument may be a coroutine function.
|
| async close(self, *, timeout=None) from asyncpg.connection.Connection
| Close the connection gracefully.
|
| :param float timeout:
| Optional timeout value in seconds.
|
| .. versionchanged:: 0.14.0
| Added the *timeout* parameter.
|
| async copy_from_query(self, query, *args, output, timeout=None, format=None, oids=None, delimiter=None, null=None, header=None, quote=None, escape=None, force_quote=None, encoding=None) from asyncpg.connection.Connection
| Copy the results of a query to a file or file-like object.
|
| :param str query:
| The query to copy the results of.
|
| :param args:
| Query arguments.
|
| :param output:
| A :term:`path-like object <python:path-like object>`,
| or a :term:`file-like object <python:file-like object>`, or
| a :term:`coroutine function <python:coroutine function>`
| that takes a ``bytes`` instance as a sole argument.
|
| :param float timeout:
| Optional timeout value in seconds.
|
| The remaining keyword arguments are ``COPY`` statement options,
| see `COPY statement documentation`_ for details.
|
| :return: The status string of the COPY command.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... result = await con.copy_from_query(
| ... 'SELECT foo, bar FROM mytable WHERE foo > $1', 10,
| ... output='file.csv', format='csv')
| ... print(result)
| ...
| >>> asyncio.run(run())
| 'COPY 10'
|
| .. _`COPY statement documentation`:
| https://www.postgresql.org/docs/current/static/sql-copy.html
|
| .. versionadded:: 0.11.0
|
| async copy_from_table(self, table_name, *, output, columns=None, schema_name=None, timeout=None, format=None, oids=None, delimiter=None, null=None, header=None, quote=None, escape=None, force_quote=None, encoding=None) from asyncpg.connection.Connection
| Copy table contents to a file or file-like object.
|
| :param str table_name:
| The name of the table to copy data from.
|
| :param output:
| A :term:`path-like object <python:path-like object>`,
| or a :term:`file-like object <python:file-like object>`, or
| a :term:`coroutine function <python:coroutine function>`
| that takes a ``bytes`` instance as a sole argument.
|
| :param list columns:
| An optional list of column names to copy.
|
| :param str schema_name:
| An optional schema name to qualify the table.
|
| :param float timeout:
| Optional timeout value in seconds.
|
| The remaining keyword arguments are ``COPY`` statement options,
| see `COPY statement documentation`_ for details.
|
| :return: The status string of the COPY command.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... result = await con.copy_from_table(
| ... 'mytable', columns=('foo', 'bar'),
| ... output='file.csv', format='csv')
| ... print(result)
| ...
| >>> asyncio.run(run())
| 'COPY 100'
|
| .. _`COPY statement documentation`:
| https://www.postgresql.org/docs/current/static/sql-copy.html
|
| .. versionadded:: 0.11.0
|
| async copy_records_to_table(self, table_name, *, records, columns=None, schema_name=None, timeout=None, where=None) from asyncpg.connection.Connection
| Copy a list of records to the specified table using binary COPY.
|
| :param str table_name:
| The name of the table to copy data to.
|
| :param records:
| An iterable returning row tuples to copy into the table.
| :term:`Asynchronous iterables <python:asynchronous iterable>`
| are also supported.
|
| :param list columns:
| An optional list of column names to copy.
|
| :param str schema_name:
| An optional schema name to qualify the table.
|
| :param str where:
| An optional SQL expression used to filter rows when copying.
|
| .. note::
|
| Usage of this parameter requires support for the
| ``COPY FROM ... WHERE`` syntax, introduced in
| PostgreSQL version 12.
|
|
| :param float timeout:
| Optional timeout value in seconds.
|
| :return: The status string of the COPY command.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... result = await con.copy_records_to_table(
| ... 'mytable', records=[
| ... (1, 'foo', 'bar'),
| ... (2, 'ham', 'spam')])
| ... print(result)
| ...
| >>> asyncio.run(run())
| 'COPY 2'
|
| Asynchronous record iterables are also supported:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... async def record_gen(size):
| ... for i in range(size):
| ... yield (i,)
| ... result = await con.copy_records_to_table(
| ... 'mytable', records=record_gen(100))
| ... print(result)
| ...
| >>> asyncio.run(run())
| 'COPY 100'
|
| .. versionadded:: 0.11.0
|
| .. versionchanged:: 0.24.0
| The ``records`` argument may be an asynchronous iterable.
|
| .. versionadded:: 0.29.0
| Added the *where* parameter.
|
| async copy_to_table(self, table_name, *, source, columns=None, schema_name=None, timeout=None, format=None, oids=None, freeze=None, delimiter=None, null=None, header=None, quote=None, escape=None, force_quote=None, force_not_null=None, force_null=None, encoding=None, where=None) from asyncpg.connection.Connection
| Copy data to the specified table.
|
| :param str table_name:
| The name of the table to copy data to.
|
| :param source:
| A :term:`path-like object <python:path-like object>`,
| or a :term:`file-like object <python:file-like object>`, or
| an :term:`asynchronous iterable <python:asynchronous iterable>`
| that returns ``bytes``, or an object supporting the
| :ref:`buffer protocol <python:bufferobjects>`.
|
| :param list columns:
| An optional list of column names to copy.
|
| :param str schema_name:
| An optional schema name to qualify the table.
|
| :param str where:
| An optional SQL expression used to filter rows when copying.
|
| .. note::
|
| Usage of this parameter requires support for the
| ``COPY FROM ... WHERE`` syntax, introduced in
| PostgreSQL version 12.
|
| :param float timeout:
| Optional timeout value in seconds.
|
| The remaining keyword arguments are ``COPY`` statement options,
| see `COPY statement documentation`_ for details.
|
| :return: The status string of the COPY command.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... result = await con.copy_to_table(
| ... 'mytable', source='datafile.tbl')
| ... print(result)
| ...
| >>> asyncio.run(run())
| 'COPY 140000'
|
| .. _`COPY statement documentation`:
| https://www.postgresql.org/docs/current/static/sql-copy.html
|
| .. versionadded:: 0.11.0
|
| .. versionadded:: 0.29.0
| Added the *where* parameter.
|
| cursor(self, query, *args, prefetch=None, timeout=None, record_class=None) from asyncpg.connection.Connection
| Return a *cursor factory* for the specified query.
|
| :param args:
| Query arguments.
| :param int prefetch:
| The number of rows the *cursor iterator*
| will prefetch (defaults to ``50``.)
| :param float timeout:
| Optional timeout in seconds.
| :param type record_class:
| If specified, the class to use for records returned by this cursor.
| Must be a subclass of :class:`~asyncpg.Record`. If not specified,
| a per-connection *record_class* is used.
|
| :return:
| A :class:`~cursor.CursorFactory` object.
|
| .. versionchanged:: 0.22.0
| Added the *record_class* parameter.
|
| async execute(self, query: str, *args, timeout: Optional[float] = None) -> str from asyncpg.connection.Connection
| Execute an SQL command (or commands).
|
| This method can execute many SQL commands at once, when no arguments
| are provided.
|
| Example:
|
| .. code-block:: pycon
|
| >>> await con.execute('''
| ... CREATE TABLE mytab (a int);
| ... INSERT INTO mytab (a) VALUES (100), (200), (300);
| ... ''')
| INSERT 0 3
|
| >>> await con.execute('''
| ... INSERT INTO mytab (a) VALUES ($1), ($2)
| ... ''', 10, 20)
| INSERT 0 2
|
| :param args: Query arguments.
| :param float timeout: Optional timeout value in seconds.
| :return str: Status of the last SQL command.
|
| .. versionchanged:: 0.5.4
| Made it possible to pass query arguments.
|
| async executemany(self, command: str, args, *, timeout: Optional[float] = None) from asyncpg.connection.Connection
| Execute an SQL *command* for each sequence of arguments in *args*.
|
| Example:
|
| .. code-block:: pycon
|
| >>> await con.executemany('''
| ... INSERT INTO mytab (a) VALUES ($1, $2, $3);
| ... ''', [(1, 2, 3), (4, 5, 6)])
|
| :param command: Command to execute.
| :param args: An iterable containing sequences of arguments.
| :param float timeout: Optional timeout value in seconds.
| :return None: This method discards the results of the operations.
|
| .. versionadded:: 0.7.0
|
| .. versionchanged:: 0.11.0
| `timeout` became a keyword-only parameter.
|
| .. versionchanged:: 0.22.0
| ``executemany()`` is now an atomic operation, which means that
| either all executions succeed, or none at all. This is in contrast
| to prior versions, where the effect of already-processed iterations
| would remain in place when an error has occurred, unless
| ``executemany()`` was called in a transaction.
|
| async fetch(self, query, *args, timeout=None, record_class=None) -> list from asyncpg.connection.Connection
| Run a query and return the results as a list of :class:`Record`.
|
| :param str query:
| Query text.
| :param args:
| Query arguments.
| :param float timeout:
| Optional timeout value in seconds.
| :param type record_class:
| If specified, the class to use for records returned by this method.
| Must be a subclass of :class:`~asyncpg.Record`. If not specified,
| a per-connection *record_class* is used.
|
| :return list:
| A list of :class:`~asyncpg.Record` instances. If specified, the
| actual type of list elements would be *record_class*.
|
| .. versionchanged:: 0.22.0
| Added the *record_class* parameter.
|
| async fetchmany(self, query, args, *, timeout: Optional[float] = None, record_class=None) from asyncpg.connection.Connection
| Run a query for each sequence of arguments in *args*
| and return the results as a list of :class:`Record`.
|
| :param query:
| Query to execute.
| :param args:
| An iterable containing sequences of arguments for the query.
| :param float timeout:
| Optional timeout value in seconds.
| :param type record_class:
| If specified, the class to use for records returned by this method.
| Must be a subclass of :class:`~asyncpg.Record`. If not specified,
| a per-connection *record_class* is used.
|
| :return list:
| A list of :class:`~asyncpg.Record` instances. If specified, the
| actual type of list elements would be *record_class*.
|
| Example:
|
| .. code-block:: pycon
|
| >>> rows = await con.fetchmany('''
| ... INSERT INTO mytab (a, b) VALUES ($1, $2) RETURNING a;
| ... ''', [('x', 1), ('y', 2), ('z', 3)])
| >>> rows
| [<Record row=('x',)>, <Record row=('y',)>, <Record row=('z',)>]
|
| .. versionadded:: 0.30.0
|
| async fetchrow(self, query, *args, timeout=None, record_class=None) from asyncpg.connection.Connection
| Run a query and return the first row.
|
| :param str query:
| Query text
| :param args:
| Query arguments
| :param float timeout:
| Optional timeout value in seconds.
| :param type record_class:
| If specified, the class to use for the value returned by this
| method. Must be a subclass of :class:`~asyncpg.Record`.
| If not specified, a per-connection *record_class* is used.
|
| :return:
| The first row as a :class:`~asyncpg.Record` instance, or None if
| no records were returned by the query. If specified,
| *record_class* is used as the type for the result value.
|
| .. versionchanged:: 0.22.0
| Added the *record_class* parameter.
|
| async fetchval(self, query, *args, column=0, timeout=None) from asyncpg.connection.Connection
| Run a query and return a value in the first row.
|
| :param str query: Query text.
| :param args: Query arguments.
| :param int column: Numeric index within the record of the value to
| return (defaults to 0).
| :param float timeout: Optional timeout value in seconds.
| If not specified, defaults to the value of
| ``command_timeout`` argument to the ``Connection``
| instance constructor.
|
| :return: The value of the specified column of the first record, or
| None if no records were returned by the query.
|
| get_reset_query(self) from asyncpg.connection.Connection
| Return the query sent to server on connection release.
|
| The query returned by this method is used by :meth:`Connection.reset`,
| which is, in turn, used by :class:`~asyncpg.pool.Pool` before making
| the connection available to another acquirer.
|
| .. versionadded:: 0.30.0
|
| get_server_pid(self) from asyncpg.connection.Connection
| Return the PID of the Postgres server the connection is bound to.
|
| get_server_version(self) from asyncpg.connection.Connection
| Return the version of the connected PostgreSQL server.
|
| The returned value is a named tuple similar to that in
| ``sys.version_info``:
|
| .. code-block:: pycon
|
| >>> con.get_server_version()
| ServerVersion(major=9, minor=6, micro=1,
| releaselevel='final', serial=0)
|
| .. versionadded:: 0.8.0
|
| get_settings(self) from asyncpg.connection.Connection
| Return connection settings.
|
| :return: :class:`~asyncpg.ConnectionSettings`.
|
| is_closed(self) from asyncpg.connection.Connection
| Return ``True`` if the connection is closed, ``False`` otherwise.
|
| :return bool: ``True`` if the connection is closed, ``False``
| otherwise.
|
| is_in_transaction(self) from asyncpg.connection.Connection
| Return True if Connection is currently inside a transaction.
|
| :return bool: True if inside transaction, False otherwise.
|
| .. versionadded:: 0.16.0
|
| async prepare(self, query, *, name=None, timeout=None, record_class=None) from asyncpg.connection.Connection
| Create a *prepared statement* for the specified query.
|
| :param str query:
| Text of the query to create a prepared statement for.
| :param str name:
| Optional name of the returned prepared statement. If not
| specified, the name is auto-generated.
| :param float timeout:
| Optional timeout value in seconds.
| :param type record_class:
| If specified, the class to use for records returned by the
| prepared statement. Must be a subclass of
| :class:`~asyncpg.Record`. If not specified, a per-connection
| *record_class* is used.
|
| :return:
| A :class:`~prepared_stmt.PreparedStatement` instance.
|
| .. versionchanged:: 0.22.0
| Added the *record_class* parameter.
|
| .. versionchanged:: 0.25.0
| Added the *name* parameter.
|
| query_logger(self, callback) from asyncpg.connection.Connection
| Context manager that adds `callback` to the list of query loggers,
| and removes it upon exit.
|
| :param callable callback:
| A callable or a coroutine function receiving one argument:
| **record**, a LoggedQuery containing `query`, `args`, `timeout`,
| `elapsed`, `exception`, `conn_addr`, and `conn_params`.
|
| Example:
|
| .. code-block:: pycon
|
| >>> class QuerySaver:
| def __init__(self):
| self.queries = []
| def __call__(self, record):
| self.queries.append(record.query)
| >>> with con.query_logger(QuerySaver()):
| >>> await con.execute("SELECT 1")
| >>> print(log.queries)
| ['SELECT 1']
|
| .. versionadded:: 0.29.0
|
| async reload_schema_state(self) from asyncpg.connection.Connection
| Indicate that the database schema information must be reloaded.
|
| For performance reasons, asyncpg caches certain aspects of the
| database schema, such as the layout of composite types. Consequently,
| when the database schema changes, and asyncpg is not able to
| gracefully recover from an error caused by outdated schema
| assumptions, an :exc:`~asyncpg.exceptions.OutdatedSchemaCacheError`
| is raised. To prevent the exception, this method may be used to inform
| asyncpg that the database schema has changed.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> async def change_type(con):
| ... result = await con.fetch('SELECT id, info FROM tbl')
| ... # Change composite's attribute type "int"=>"text"
| ... await con.execute('ALTER TYPE custom DROP ATTRIBUTE y')
| ... await con.execute('ALTER TYPE custom ADD ATTRIBUTE y text')
| ... await con.reload_schema_state()
| ... for id_, info in result:
| ... new = (info['x'], str(info['y']))
| ... await con.execute(
| ... 'UPDATE tbl SET info=$2 WHERE id=$1', id_, new)
| ...
| >>> async def run():
| ... # Initial schema:
| ... # CREATE TYPE custom AS (x int, y int);
| ... # CREATE TABLE tbl(id int, info custom);
| ... con = await asyncpg.connect(user='postgres')
| ... async with con.transaction():
| ... # Prevent concurrent changes in the table
| ... await con.execute('LOCK TABLE tbl')
| ... await change_type(con)
| ...
| >>> asyncio.run(run())
|
| .. versionadded:: 0.14.0
|
| async remove_listener(self, channel, callback) from asyncpg.connection.Connection
| Remove a listening callback on the specified channel.
|
| remove_log_listener(self, callback) from asyncpg.connection.Connection
| Remove a listening callback for log messages.
|
| .. versionadded:: 0.12.0
|
| remove_query_logger(self, callback) from asyncpg.connection.Connection
| Remove a query logger callback.
|
| :param callable callback:
| The callable or coroutine function that was passed to
| :meth:`Connection.add_query_logger`.
|
| .. versionadded:: 0.29.0
|
| remove_termination_listener(self, callback) from asyncpg.connection.Connection
| Remove a listening callback for connection termination.
|
| :param callable callback:
| The callable or coroutine function that was passed to
| :meth:`Connection.add_termination_listener`.
|
| .. versionadded:: 0.21.0
|
| async reset(self, *, timeout=None) from asyncpg.connection.Connection
| Reset the connection state.
|
| Calling this will reset the connection session state to a state
| resembling that of a newly obtained connection. Namely, an open
| transaction (if any) is rolled back, open cursors are closed,
| all `LISTEN <https://www.postgresql.org/docs/current/sql-listen.html>`_
| registrations are removed, all session configuration
| variables are reset to their default values, and all advisory locks
| are released.
|
| Note that the above describes the default query returned by
| :meth:`Connection.get_reset_query`. If one overloads the method
| by subclassing ``Connection``, then this method will do whatever
| the overloaded method returns, except open transactions are always
| terminated and any callbacks registered by
| :meth:`Connection.add_listener` or :meth:`Connection.add_log_listener`
| are removed.
|
| :param float timeout:
| A timeout for resetting the connection. If not specified, defaults
| to no timeout.
|
| async reset_type_codec(self, typename, *, schema='public') from asyncpg.connection.Connection
| Reset *typename* codec to the default implementation.
|
| :param typename:
| Name of the data type the codec is for.
|
| :param schema:
| Schema name of the data type the codec is for
| (defaults to ``'public'``)
|
| .. versionadded:: 0.12.0
|
| async set_builtin_type_codec(self, typename, *, schema='public', codec_name, format=None) from asyncpg.connection.Connection
| Set a builtin codec for the specified scalar data type.
|
| This method has two uses. The first is to register a builtin
| codec for an extension type without a stable OID, such as 'hstore'.
| The second use is to declare that an extension type or a
| user-defined type is wire-compatible with a certain builtin
| data type and should be exchanged as such.
|
| :param typename:
| Name of the data type the codec is for.
|
| :param schema:
| Schema name of the data type the codec is for
| (defaults to ``'public'``).
|
| :param codec_name:
| The name of the builtin codec to use for the type.
| This should be either the name of a known core type
| (such as ``"int"``), or the name of a supported extension
| type. Currently, the only supported extension type is
| ``"pg_contrib.hstore"``.
|
| :param format:
| If *format* is ``None`` (the default), all formats supported
| by the target codec are declared to be supported for *typename*.
| If *format* is ``'text'`` or ``'binary'``, then only the
| specified format is declared to be supported for *typename*.
|
| .. versionchanged:: 0.18.0
| The *codec_name* argument can be the name of any known
| core data type. Added the *format* keyword argument.
|
| async set_type_codec(self, typename, *, schema='public', encoder, decoder, format='text') from asyncpg.connection.Connection
| Set an encoder/decoder pair for the specified data type.
|
| :param typename:
| Name of the data type the codec is for.
|
| :param schema:
| Schema name of the data type the codec is for
| (defaults to ``'public'``)
|
| :param format:
| The type of the argument received by the *decoder* callback,
| and the type of the *encoder* callback return value.
|
| If *format* is ``'text'`` (the default), the exchange datum is a
| ``str`` instance containing valid text representation of the
| data type.
|
| If *format* is ``'binary'``, the exchange datum is a ``bytes``
| instance containing valid _binary_ representation of the
| data type.
|
| If *format* is ``'tuple'``, the exchange datum is a type-specific
| ``tuple`` of values. The table below lists supported data
| types and their format for this mode.
|
| +-----------------+---------------------------------------------+
| | Type | Tuple layout |
| +=================+=============================================+
| | ``interval`` | (``months``, ``days``, ``microseconds``) |
| +-----------------+---------------------------------------------+
| | ``date`` | (``date ordinal relative to Jan 1 2000``,) |
| | | ``-2^31`` for negative infinity timestamp |
| | | ``2^31-1`` for positive infinity timestamp. |
| +-----------------+---------------------------------------------+
| | ``timestamp`` | (``microseconds relative to Jan 1 2000``,) |
| | | ``-2^63`` for negative infinity timestamp |
| | | ``2^63-1`` for positive infinity timestamp. |
| +-----------------+---------------------------------------------+
| | ``timestamp | (``microseconds relative to Jan 1 2000 |
| | with time zone``| UTC``,) |
| | | ``-2^63`` for negative infinity timestamp |
| | | ``2^63-1`` for positive infinity timestamp. |
| +-----------------+---------------------------------------------+
| | ``time`` | (``microseconds``,) |
| +-----------------+---------------------------------------------+
| | ``time with | (``microseconds``, |
| | time zone`` | ``time zone offset in seconds``) |
| +-----------------+---------------------------------------------+
| | any composite | Composite value elements |
| | type | |
| +-----------------+---------------------------------------------+
|
| :param encoder:
| Callable accepting a Python object as a single argument and
| returning a value encoded according to *format*.
|
| :param decoder:
| Callable accepting a single argument encoded according to *format*
| and returning a decoded Python object.
|
| Example:
|
| .. code-block:: pycon
|
| >>> import asyncpg
| >>> import asyncio
| >>> import datetime
| >>> from dateutil.relativedelta import relativedelta
| >>> async def run():
| ... con = await asyncpg.connect(user='postgres')
| ... def encoder(delta):
| ... ndelta = delta.normalized()
| ... return (ndelta.years * 12 + ndelta.months,
| ... ndelta.days,
| ... ((ndelta.hours * 3600 +
| ... ndelta.minutes * 60 +
| ... ndelta.seconds) * 1000000 +
| ... ndelta.microseconds))
| ... def decoder(tup):
| ... return relativedelta(months=tup[0], days=tup[1],
| ... microseconds=tup[2])
| ... await con.set_type_codec(
| ... 'interval', schema='pg_catalog', encoder=encoder,
| ... decoder=decoder, format='tuple')
| ... result = await con.fetchval(
| ... "SELECT '2 years 3 mons 1 day'::interval")
| ... print(result)
| ... print(datetime.datetime(2002, 1, 1) + result)
| ...
| >>> asyncio.run(run())
| relativedelta(years=+2, months=+3, days=+1)
| 2004-04-02 00:00:00
|
| .. versionadded:: 0.12.0
| Added the ``format`` keyword argument and support for 'tuple'
| format.
|
| .. versionchanged:: 0.12.0
| The ``binary`` keyword argument is deprecated in favor of
| ``format``.
|
| .. versionchanged:: 0.13.0
| The ``binary`` keyword argument was removed in favor of
| ``format``.
|
| .. versionchanged:: 0.29.0
| Custom codecs for composite types are now supported with
| ``format='tuple'``.
|
| .. note::
|
| It is recommended to use the ``'binary'`` or ``'tuple'`` *format*
| whenever possible and if the underlying type supports it. Asyncpg
| currently does not support text I/O for composite and range types,
| and some other functionality, such as
| :meth:`Connection.copy_to_table`, does not support types with text
| codecs.
|
| terminate(self) from asyncpg.connection.Connection
| Terminate the connection without waiting for pending data.
|
| transaction(self, *, isolation=None, readonly=False, deferrable=False) from asyncpg.connection.Connection
| Create a :class:`~transaction.Transaction` object.
|
| Refer to `PostgreSQL documentation`_ on the meaning of transaction
| parameters.
|
| :param isolation: Transaction isolation mode, can be one of:
| `'serializable'`, `'repeatable_read'`,
| `'read_uncommitted'`, `'read_committed'`. If not
| specified, the behavior is up to the server and
| session, which is usually ``read_committed``.
|
| :param readonly: Specifies whether or not this transaction is
| read-only.
|
| :param deferrable: Specifies whether or not this transaction is
| deferrable.
|
| .. _`PostgreSQL documentation`:
| https://www.postgresql.org/docs/
| current/static/sql-set-transaction.html
class PoolConnectionProxyMeta(builtins.type)
| PoolConnectionProxyMeta(name: 'str', bases: 'tuple[Type[Any], ...]', dct: 'dict[str, Any]', *, wrap: 'bool' = False) -> 'PoolConnectionProxyMeta'
|
| Method resolution order:
| PoolConnectionProxyMeta
| builtins.type
| builtins.object
|
| Static methods defined here:
|
| __new__(mcls, name: 'str', bases: 'tuple[Type[Any], ...]', dct: 'dict[str, Any]', *, wrap: 'bool' = False) -> 'PoolConnectionProxyMeta'
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {}
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.type:
|
| __call__(self, /, *args, **kwargs)
| Call self as a function.
|
| __delattr__(self, name, /)
| Implement delattr(self, name).
|
| __dir__(self, /)
| Specialized __dir__ implementation for types.
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| __instancecheck__(self, instance, /)
| Check if an object is an instance.
|
| __or__(self, value, /)
| Return self|value.
|
| __repr__(self, /)
| Return repr(self).
|
| __ror__(self, value, /)
| Return value|self.
|
| __setattr__(self, name, value, /)
| Implement setattr(self, name, value).
|
| __sizeof__(self, /)
| Return memory consumption of the type object.
|
| __subclasscheck__(self, subclass, /)
| Check if a class is a subclass.
|
| __subclasses__(self, /)
| Return a list of immediate subclasses.
|
| mro(self, /)
| Return a type's method resolution order.
|
| ----------------------------------------------------------------------
| Class methods inherited from builtins.type:
|
| __prepare__(...)
| __prepare__() -> dict
| used to create the namespace for the class statement
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.type:
|
| __abstractmethods__
|
| __dict__
|
| __text_signature__
|
| ----------------------------------------------------------------------
| Data and other attributes inherited from builtins.type:
|
| __base__ = <class 'type'>
| type(object) -> the object's type
| type(name, bases, dict, **kwds) -> a new type
|
|
| __bases__ = (<class 'type'>,)
|
| __basicsize__ = 920
|
| __dictoffset__ = 264
|
| __flags__ = 2156420608
|
| __itemsize__ = 40
|
| __mro__ = (<class 'asyncpg.pool.PoolConnectionProxyMeta'>, <class 'typ...
|
| __type_params__ = ()
|
| __weakrefoffset__ = 368
FUNCTIONS
create_pool(dsn=None, *, min_size=10, max_size=10, max_queries=50000, max_inactive_connection_lifetime=300.0, connect=None, setup=None, init=None, reset=None, loop=None, connection_class=<class 'asyncpg.connection.Connection'>, record_class=<class 'asyncpg.protocol.record.Record'>, **connect_kwargs)
Create a connection pool.
Can be used either with an ``async with`` block:
.. code-block:: python
async with asyncpg.create_pool(user='postgres',
command_timeout=60) as pool:
await pool.fetch('SELECT 1')
Or to perform multiple operations on a single connection:
.. code-block:: python
async with asyncpg.create_pool(user='postgres',
command_timeout=60) as pool:
async with pool.acquire() as con:
await con.execute('''
CREATE TABLE names (
id serial PRIMARY KEY,
name VARCHAR (255) NOT NULL)
''')
await con.fetch('SELECT 1')
Or directly with ``await`` (not recommended):
.. code-block:: python
pool = await asyncpg.create_pool(user='postgres', command_timeout=60)
con = await pool.acquire()
try:
await con.fetch('SELECT 1')
finally:
await pool.release(con)
.. warning::
Prepared statements and cursors returned by
:meth:`Connection.prepare() <asyncpg.connection.Connection.prepare>`
and :meth:`Connection.cursor() <asyncpg.connection.Connection.cursor>`
become invalid once the connection is released. Likewise, all
notification and log listeners are removed, and ``asyncpg`` will
issue a warning if there are any listener callbacks registered on a
connection that is being released to the pool.
:param str dsn:
Connection arguments specified using as a single string in
the following format:
``postgres://user:pass@host:port/database?option=value``.
:param \*\*connect_kwargs:
Keyword arguments for the :func:`~asyncpg.connection.connect`
function.
:param Connection connection_class:
The class to use for connections. Must be a subclass of
:class:`~asyncpg.connection.Connection`.
:param type record_class:
If specified, the class to use for records returned by queries on
the connections in this pool. Must be a subclass of
:class:`~asyncpg.Record`.
:param int min_size:
Number of connection the pool will be initialized with.
:param int max_size:
Max number of connections in the pool.
:param int max_queries:
Number of queries after a connection is closed and replaced
with a new connection.
:param float max_inactive_connection_lifetime:
Number of seconds after which inactive connections in the
pool will be closed. Pass ``0`` to disable this mechanism.
:param coroutine connect:
A coroutine that is called instead of
:func:`~asyncpg.connection.connect` whenever the pool needs to make a
new connection. Must return an instance of type specified by
*connection_class* or :class:`~asyncpg.connection.Connection` if
*connection_class* was not specified.
:param coroutine setup:
A coroutine to prepare a connection right before it is returned
from :meth:`Pool.acquire()`. An example use
case would be to automatically set up notifications listeners for
all connections of a pool.
:param coroutine init:
A coroutine to initialize a connection when it is created.
An example use case would be to setup type codecs with
:meth:`Connection.set_builtin_type_codec() <\
asyncpg.connection.Connection.set_builtin_type_codec>`
or :meth:`Connection.set_type_codec() <\
asyncpg.connection.Connection.set_type_codec>`.
:param coroutine reset:
A coroutine to reset a connection before it is returned to the pool by
:meth:`Pool.release()`. The function is supposed
to reset any changes made to the database session so that the next
acquirer gets the connection in a well-defined state.
The default implementation calls :meth:`Connection.reset() <\
asyncpg.connection.Connection.reset>`, which runs the following::
SELECT pg_advisory_unlock_all();
CLOSE ALL;
UNLISTEN *;
RESET ALL;
The exact reset query is determined by detected server capabilities,
and a custom *reset* implementation can obtain the default query
by calling :meth:`Connection.get_reset_query() <\
asyncpg.connection.Connection.get_reset_query>`.
:param loop:
An asyncio event loop instance. If ``None``, the default
event loop will be used.
:return: An instance of :class:`~asyncpg.pool.Pool`.
.. versionchanged:: 0.10.0
An :exc:`~asyncpg.exceptions.InterfaceError` will be raised on any
attempted operation on a released connection.
.. versionchanged:: 0.13.0
An :exc:`~asyncpg.exceptions.InterfaceError` will be raised on any
attempted operation on a prepared statement or a cursor created
on a connection that has been released to the pool.
.. versionchanged:: 0.13.0
An :exc:`~asyncpg.exceptions.InterfaceWarning` will be produced
if there are any active listeners (added via
:meth:`Connection.add_listener()
<asyncpg.connection.Connection.add_listener>`
or :meth:`Connection.add_log_listener()
<asyncpg.connection.Connection.add_log_listener>`) present on the
connection at the moment of its release to the pool.
.. versionchanged:: 0.22.0
Added the *record_class* parameter.
.. versionchanged:: 0.30.0
Added the *connect* and *reset* parameters.
DATA
Optional = typing.Optional
Optional[X] is equivalent to Union[X, None].
Type = typing.Type
Deprecated alias to builtins.type.
builtins.type or typing.Type can be used to annotate class objects.
For example, suppose we have the following classes::
class User: ... # Abstract base for User classes
class BasicUser(User): ...
class ProUser(User): ...
class TeamUser(User): ...
And a function that takes a class argument that's a subclass of
User and returns an instance of the corresponding class::
def new_user[U](user_class: Type[U]) -> U:
user = user_class()
# (Here we could write the user object to a database)
return user
joe = new_user(BasicUser)
At this point the type checker knows that joe has type BasicUser.
logger = <Logger asyncpg.pool (WARNING)>
FILE
c:\users\youse\appdata\local\programs\python\python312\lib\site-packages\asyncpg\pool.py
asyncpg.prepared_stmt
Python Library Documentation: module asyncpg.prepared_stmt in asyncpg
NAME
asyncpg.prepared_stmt
DESCRIPTION
# Copyright (C) 2016-present the asyncpg authors and contributors
# <see AUTHORS file>
#
# This module is part of asyncpg and is released under
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
CLASSES
asyncpg.connresource.ConnectionResource(builtins.object)
PreparedStatement
class PreparedStatement(asyncpg.connresource.ConnectionResource)
| PreparedStatement(connection, query, state)
|
| A representation of a prepared statement.
|
| Method resolution order:
| PreparedStatement
| asyncpg.connresource.ConnectionResource
| builtins.object
|
| Methods defined here:
|
| __del__(self)
|
| __init__(self, connection, query, state)
| Initialize self. See help(type(self)) for accurate signature.
|
| cursor(self, *args, prefetch=None, timeout=None) -> asyncpg.cursor.CursorFactory
| Return a *cursor factory* for the prepared statement.
|
| :param args: Query arguments.
| :param int prefetch: The number of rows the *cursor iterator*
| will prefetch (defaults to ``50``.)
| :param float timeout: Optional timeout in seconds.
|
| :return: A :class:`~cursor.CursorFactory` object.
|
| executemany(self, args, *, timeout: Optional[float] = None)
| Execute the statement for each sequence of arguments in *args*.
|
| :param args: An iterable containing sequences of arguments.
| :param float timeout: Optional timeout value in seconds.
| :return None: This method discards the results of the operations.
|
| .. versionadded:: 0.22.0
|
| explain(self, *args, analyze=False)
| Return the execution plan of the statement.
|
| :param args: Query arguments.
| :param analyze: If ``True``, the statement will be executed and
| the run time statitics added to the return value.
|
| :return: An object representing the execution plan. This value
| is actually a deserialized JSON output of the SQL
| ``EXPLAIN`` command.
|
| fetch(self, *args, timeout=None)
| Execute the statement and return a list of :class:`Record` objects.
|
| :param str query: Query text
| :param args: Query arguments
| :param float timeout: Optional timeout value in seconds.
|
| :return: A list of :class:`Record` instances.
|
| fetchmany(self, args, *, timeout=None)
| Execute the statement and return a list of :class:`Record` objects.
|
| :param args: Query arguments.
| :param float timeout: Optional timeout value in seconds.
|
| :return: A list of :class:`Record` instances.
|
| .. versionadded:: 0.30.0
|
| fetchrow(self, *args, timeout=None)
| Execute the statement and return the first row.
|
| :param str query: Query text
| :param args: Query arguments
| :param float timeout: Optional timeout value in seconds.
|
| :return: The first row as a :class:`Record` instance.
|
| fetchval(self, *args, column=0, timeout=None)
| Execute the statement and return a value in the first row.
|
| :param args: Query arguments.
| :param int column: Numeric index within the record of the value to
| return (defaults to 0).
| :param float timeout: Optional timeout value in seconds.
| If not specified, defaults to the value of
| ``command_timeout`` argument to the ``Connection``
| instance constructor.
|
| :return: The value of the specified column of the first record.
|
| get_attributes(self)
| Return a description of relation attributes (columns).
|
| :return: A tuple of :class:`asyncpg.types.Attribute`.
|
| Example::
|
| st = await self.con.prepare('''
| SELECT typname, typnamespace FROM pg_type
| ''')
| print(st.get_attributes())
|
| # Will print:
| # (Attribute(
| # name='typname',
| # type=Type(oid=19, name='name', kind='scalar',
| # schema='pg_catalog')),
| # Attribute(
| # name='typnamespace',
| # type=Type(oid=26, name='oid', kind='scalar',
| # schema='pg_catalog')))
|
| get_name(self) -> str
| Return the name of this prepared statement.
|
| .. versionadded:: 0.25.0
|
| get_parameters(self)
| Return a description of statement parameters types.
|
| :return: A tuple of :class:`asyncpg.types.Type`.
|
| Example::
|
| stmt = await connection.prepare('SELECT ($1::int, $2::text)')
| print(stmt.get_parameters())
|
| # Will print:
| # (Type(oid=23, name='int4', kind='scalar', schema='pg_catalog'),
| # Type(oid=25, name='text', kind='scalar', schema='pg_catalog'))
|
| get_query(self) -> str
| Return the text of the query for this prepared statement.
|
| Example::
|
| stmt = await connection.prepare('SELECT $1::int')
| assert stmt.get_query() == "SELECT $1::int"
|
| get_statusmsg(self) -> str
| Return the status of the executed command.
|
| Example::
|
| stmt = await connection.prepare('CREATE TABLE mytab (a int)')
| await stmt.fetch()
| assert stmt.get_statusmsg() == "CREATE TABLE"
FILE
c:\users\youse\appdata\local\programs\python\python312\lib\site-packages\asyncpg\prepared_stmt.py
asyncpg.protocol
Python Library Documentation: package asyncpg.protocol in asyncpg
NAME
asyncpg.protocol
DESCRIPTION
# Copyright (C) 2016-present the asyncpg authors and contributors
# <see AUTHORS file>
#
# This module is part of asyncpg and is released under
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
PACKAGE CONTENTS
codecs (package)
protocol
record
DATA
BUILTIN_TYPE_NAME_MAP = {'abstime': 702, 'aclitem': 1033, 'any': 2276,...
NO_TIMEOUT = <object object>
FILE
c:\users\youse\appdata\local\programs\python\python312\lib\site-packages\asyncpg\protocol\__init__.py
asyncpg.serverversion
Python Library Documentation: module asyncpg.serverversion in asyncpg
NAME
asyncpg.serverversion
DESCRIPTION
# Copyright (C) 2016-present the asyncpg authors and contributors
# <see AUTHORS file>
#
# This module is part of asyncpg and is released under
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
FUNCTIONS
split_server_version_string(version_string: 'str') -> 'ServerVersion'
DATA
__annotations__ = {'version_regex': 'typing.Final'}
version_regex = re.compile('(Postgre[^\\s]*)?\\s*(?P<major>[0-9]...+)?...
FILE
c:\users\youse\appdata\local\programs\python\python312\lib\site-packages\asyncpg\serverversion.py
asyncpg.transaction
Python Library Documentation: module asyncpg.transaction in asyncpg
NAME
asyncpg.transaction
DESCRIPTION
# Copyright (C) 2016-present the asyncpg authors and contributors
# <see AUTHORS file>
#
# This module is part of asyncpg and is released under
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
CLASSES
asyncpg.connresource.ConnectionResource(builtins.object)
Transaction
enum.Enum(builtins.object)
TransactionState
class Transaction(asyncpg.connresource.ConnectionResource)
| Transaction(connection, isolation, readonly, deferrable)
|
| Represents a transaction or savepoint block.
|
| Transactions are created by calling the
| :meth:`Connection.transaction() <connection.Connection.transaction>`
| function.
|
| Method resolution order:
| Transaction
| asyncpg.connresource.ConnectionResource
| builtins.object
|
| Methods defined here:
|
| async __aenter__(self)
|
| async __aexit__(self, extype, ex, tb)
|
| __init__(self, connection, isolation, readonly, deferrable)
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| commit(self)
| Exit the transaction or savepoint block and commit changes.
|
| rollback(self)
| Exit the transaction or savepoint block and rollback changes.
|
| start(self)
| Enter the transaction or savepoint block.
class TransactionState(enum.Enum)
| TransactionState(*values)
|
| Method resolution order:
| TransactionState
| enum.Enum
| builtins.object
|
| Data and other attributes defined here:
|
| COMMITTED = <TransactionState.COMMITTED: 2>
|
| FAILED = <TransactionState.FAILED: 4>
|
| NEW = <TransactionState.NEW: 0>
|
| ROLLEDBACK = <TransactionState.ROLLEDBACK: 3>
|
| STARTED = <TransactionState.STARTED: 1>
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Static methods inherited from enum.EnumType:
|
| __contains__(value)
| Return True if `value` is in `cls`.
|
| `value` is in `cls` if:
| 1) `value` is a member of `cls`, or
| 2) `value` is the value of one of the `cls`'s members.
|
| __getitem__(name)
| Return the member matching `name`.
|
| __iter__()
| Return members in definition order.
|
| __len__()
| Return the number of members (no aliases)
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
DATA
ISOLATION_LEVELS = {'read_committed', 'read_uncommitted', 'repeatable_...
ISOLATION_LEVELS_BY_VALUE = {'read committed': 'read_committed', 'read...
FILE
c:\users\youse\appdata\local\programs\python\python312\lib\site-packages\asyncpg\transaction.py
asyncpg.types
Python Library Documentation: module asyncpg.types in asyncpg
NAME
asyncpg.types
DESCRIPTION
# Copyright (C) 2016-present the asyncpg authors and contributors
# <see AUTHORS file>
#
# This module is part of asyncpg and is released under
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
CLASSES
builtins.object
asyncpg.pgproto.types.BitString
asyncpg.pgproto.types.Path
asyncpg.pgproto.types.Polygon
builtins.tuple(builtins.object)
asyncpg.pgproto.types.Box(builtins.tuple, typing.Generic)
asyncpg.pgproto.types.Circle(builtins.tuple, typing.Generic)
asyncpg.pgproto.types.Line(builtins.tuple, typing.Generic)
asyncpg.pgproto.types.LineSegment(builtins.tuple, typing.Generic)
asyncpg.pgproto.types.Point(builtins.tuple, typing.Generic)
Attribute
ServerVersion
Type
typing.Generic(builtins.object)
asyncpg.pgproto.types.Box(builtins.tuple, typing.Generic)
asyncpg.pgproto.types.Circle(builtins.tuple, typing.Generic)
asyncpg.pgproto.types.Line(builtins.tuple, typing.Generic)
asyncpg.pgproto.types.LineSegment(builtins.tuple, typing.Generic)
asyncpg.pgproto.types.Point(builtins.tuple, typing.Generic)
Range
class Attribute(builtins.tuple)
| Attribute(name: ForwardRef('str'), type: ForwardRef('Type'))
|
| Database relation attribute.
|
| Method resolution order:
| Attribute
| builtins.tuple
| builtins.object
|
| Methods defined here:
|
| __getnewargs__(self) from collections.Attribute
| Return self as a plain tuple. Used by copy and pickle.
|
| __repr__(self) from collections.Attribute
| Return a nicely formatted representation string
|
| _asdict(self) from collections.Attribute
| Return a new dict which maps field names to their values.
|
| _replace(self, /, **kwds) from collections.Attribute
| Return a new Attribute object replacing specified fields with new values
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| _make(iterable) from collections.Attribute
| Make a new Attribute object from a sequence or iterable
|
| ----------------------------------------------------------------------
| Static methods defined here:
|
| __new__(_cls, name: ForwardRef('str'), type: ForwardRef('Type')) from namedtuple_Attribute.Attribute
| Create new instance of Attribute(name, type)
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| name
| Attribute name.
|
| type
| Attribute data type :class:`asyncpg.types.Type`.
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'name': ForwardRef('str'), 'type': ForwardRef('Type...
|
| __match_args__ = ('name', 'type')
|
| __orig_bases__ = (<function NamedTuple>,)
|
| _field_defaults = {}
|
| _fields = ('name', 'type')
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.tuple:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __getitem__(self, key, /)
| Return self[key].
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmul__(self, value, /)
| Return value*self.
|
| count(self, value, /)
| Return number of occurrences of value.
|
| index(self, value, start=0, stop=9223372036854775807, /)
| Return first index of value.
|
| Raises ValueError if the value is not present.
|
| ----------------------------------------------------------------------
| Class methods inherited from builtins.tuple:
|
| __class_getitem__(...)
| See PEP 585
class BitString(builtins.object)
| BitString(bitstring: 'builtins.bytes | None' = None) -> 'None'
|
| Immutable representation of PostgreSQL `bit` and `varbit` types.
|
| Methods defined here:
|
| __eq__(self, other: 'object') -> 'bool'
| Return self==value.
|
| __getitem__(self, i: 'int') -> 'int'
|
| __hash__(self) -> 'int'
| Return hash(self).
|
| __init__(self, bitstring: 'builtins.bytes | None' = None) -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| __len__(self) -> 'int'
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| __str__ = __repr__(self) -> 'str'
|
| as_string(self) -> 'str'
|
| to_int(self, bitorder: '_BitOrderType' = 'big', *, signed: 'bool' = False) -> 'int'
| Interpret the BitString as a Python int.
| Acts similarly to int.from_bytes.
|
| :param bitorder:
| Determines the bit order used to interpret the BitString. By
| default, this function uses Postgres conventions for casting bits
| to ints. If bitorder is 'big', the most significant bit is at the
| start of the string (this is the same as the default). If bitorder
| is 'little', the most significant bit is at the end of the string.
|
| :param bool signed:
| Determines whether two's complement is used to interpret the
| BitString. If signed is False, the returned value is always
| non-negative.
|
| :return int: An integer representing the BitString. Information about
| the BitString's exact length is lost.
|
| .. versionadded:: 0.18.0
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| from_int(x: 'int', length: 'int', bitorder: '_BitOrderType' = 'big', *, signed: 'bool' = False) -> 'Self'
| Represent the Python int x as a BitString.
| Acts similarly to int.to_bytes.
|
| :param int x:
| An integer to represent. Negative integers are represented in two's
| complement form, unless the argument signed is False, in which case
| negative integers raise an OverflowError.
|
| :param int length:
| The length of the resulting BitString. An OverflowError is raised
| if the integer is not representable in this many bits.
|
| :param bitorder:
| Determines the bit order used in the BitString representation. By
| default, this function uses Postgres conventions for casting ints
| to bits. If bitorder is 'big', the most significant bit is at the
| start of the string (this is the same as the default). If bitorder
| is 'little', the most significant bit is at the end of the string.
|
| :param bool signed:
| Determines whether two's complement is used in the BitString
| representation. If signed is False and a negative integer is given,
| an OverflowError is raised.
|
| :return BitString: A BitString representing the input integer, in the
| form specified by the other input args.
|
| .. versionadded:: 0.18.0
|
| frombytes(bytes_: 'builtins.bytes | None' = None, bitlength: 'int | None' = None) -> 'Self'
|
| ----------------------------------------------------------------------
| Readonly properties defined here:
|
| bytes
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'__str__': "typing.Callable[['BitString'], str]", '...
class Box(builtins.tuple, typing.Generic)
| Box(high: 'typing.Sequence[float]', low: 'typing.Sequence[float]') -> 'Self'
|
| Immutable representation of PostgreSQL `box` type.
|
| Method resolution order:
| Box
| builtins.tuple
| typing.Generic
| builtins.object
|
| Methods defined here:
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| ----------------------------------------------------------------------
| Static methods defined here:
|
| __new__(cls, high: 'typing.Sequence[float]', low: 'typing.Sequence[float]') -> 'Self'
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Readonly properties defined here:
|
| high
|
| low
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {}
|
| __orig_bases__ = (typing.Tuple[asyncpg.pgproto.types.Point, asyncpg.pg...
|
| __parameters__ = ()
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.tuple:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(self, /)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmul__(self, value, /)
| Return value*self.
|
| count(self, value, /)
| Return number of occurrences of value.
|
| index(self, value, start=0, stop=9223372036854775807, /)
| Return first index of value.
|
| Raises ValueError if the value is not present.
|
| ----------------------------------------------------------------------
| Class methods inherited from builtins.tuple:
|
| __class_getitem__(...)
| See PEP 585
|
| ----------------------------------------------------------------------
| Class methods inherited from typing.Generic:
|
| __init_subclass__(...)
| Function to initialize subclasses.
class Circle(builtins.tuple, typing.Generic)
| Circle(center: 'Point', radius: 'float') -> 'Self'
|
| Immutable representation of PostgreSQL `circle` type.
|
| Method resolution order:
| Circle
| builtins.tuple
| typing.Generic
| builtins.object
|
| Static methods defined here:
|
| __new__(cls, center: 'Point', radius: 'float') -> 'Self'
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Readonly properties defined here:
|
| center
|
| radius
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {}
|
| __orig_bases__ = (typing.Tuple[asyncpg.pgproto.types.Point, float],)
|
| __parameters__ = ()
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.tuple:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(self, /)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __repr__(self, /)
| Return repr(self).
|
| __rmul__(self, value, /)
| Return value*self.
|
| count(self, value, /)
| Return number of occurrences of value.
|
| index(self, value, start=0, stop=9223372036854775807, /)
| Return first index of value.
|
| Raises ValueError if the value is not present.
|
| ----------------------------------------------------------------------
| Class methods inherited from builtins.tuple:
|
| __class_getitem__(...)
| See PEP 585
|
| ----------------------------------------------------------------------
| Class methods inherited from typing.Generic:
|
| __init_subclass__(...)
| Function to initialize subclasses.
class Line(builtins.tuple, typing.Generic)
| Line(A: 'float', B: 'float', C: 'float') -> 'Self'
|
| Immutable representation of PostgreSQL `line` type.
|
| Method resolution order:
| Line
| builtins.tuple
| typing.Generic
| builtins.object
|
| Static methods defined here:
|
| __new__(cls, A: 'float', B: 'float', C: 'float') -> 'Self'
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Readonly properties defined here:
|
| A
|
| B
|
| C
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {}
|
| __orig_bases__ = (typing.Tuple[float, float, float],)
|
| __parameters__ = ()
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.tuple:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(self, /)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __repr__(self, /)
| Return repr(self).
|
| __rmul__(self, value, /)
| Return value*self.
|
| count(self, value, /)
| Return number of occurrences of value.
|
| index(self, value, start=0, stop=9223372036854775807, /)
| Return first index of value.
|
| Raises ValueError if the value is not present.
|
| ----------------------------------------------------------------------
| Class methods inherited from builtins.tuple:
|
| __class_getitem__(...)
| See PEP 585
|
| ----------------------------------------------------------------------
| Class methods inherited from typing.Generic:
|
| __init_subclass__(...)
| Function to initialize subclasses.
class LineSegment(builtins.tuple, typing.Generic)
| LineSegment(p1: 'typing.Sequence[float]', p2: 'typing.Sequence[float]') -> 'Self'
|
| Immutable representation of PostgreSQL `lseg` type.
|
| Method resolution order:
| LineSegment
| builtins.tuple
| typing.Generic
| builtins.object
|
| Methods defined here:
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| ----------------------------------------------------------------------
| Static methods defined here:
|
| __new__(cls, p1: 'typing.Sequence[float]', p2: 'typing.Sequence[float]') -> 'Self'
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Readonly properties defined here:
|
| p1
|
| p2
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {}
|
| __orig_bases__ = (typing.Tuple[asyncpg.pgproto.types.Point, asyncpg.pg...
|
| __parameters__ = ()
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.tuple:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(self, /)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmul__(self, value, /)
| Return value*self.
|
| count(self, value, /)
| Return number of occurrences of value.
|
| index(self, value, start=0, stop=9223372036854775807, /)
| Return first index of value.
|
| Raises ValueError if the value is not present.
|
| ----------------------------------------------------------------------
| Class methods inherited from builtins.tuple:
|
| __class_getitem__(...)
| See PEP 585
|
| ----------------------------------------------------------------------
| Class methods inherited from typing.Generic:
|
| __init_subclass__(...)
| Function to initialize subclasses.
class Path(builtins.object)
| Path(*points: 'typing.Sequence[float]', is_closed: 'bool' = False) -> 'None'
|
| Immutable representation of PostgreSQL `path` type.
|
| Methods defined here:
|
| __contains__(self, point: 'object') -> 'bool'
|
| __eq__(self, other: 'object') -> 'bool'
| Return self==value.
|
| __getitem__(self, i: 'int | slice') -> 'Point | typing.Tuple[Point, ...]'
|
| __hash__(self) -> 'int'
| Return hash(self).
|
| __init__(self, *points: 'typing.Sequence[float]', is_closed: 'bool' = False) -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| __iter__(self) -> 'typing.Iterator[Point]'
|
| __len__(self) -> 'int'
|
| ----------------------------------------------------------------------
| Readonly properties defined here:
|
| is_closed
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| points
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'points': 'typing.Tuple[Point, ...]'}
class Point(builtins.tuple, typing.Generic)
| Point(x: 'typing.SupportsFloat | typing.SupportsIndex | str | builtins.bytes | builtins.bytearray', y: 'typing.SupportsFloat | typing.SupportsIndex | str | builtins.bytes | builtins.bytearray') -> 'Self'
|
| Immutable representation of PostgreSQL `point` type.
|
| Method resolution order:
| Point
| builtins.tuple
| typing.Generic
| builtins.object
|
| Methods defined here:
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| ----------------------------------------------------------------------
| Static methods defined here:
|
| __new__(cls, x: 'typing.SupportsFloat | typing.SupportsIndex | str | builtins.bytes | builtins.bytearray', y: 'typing.SupportsFloat | typing.SupportsIndex | str | builtins.bytes | builtins.bytearray') -> 'Self'
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Readonly properties defined here:
|
| x
|
| y
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {}
|
| __orig_bases__ = (typing.Tuple[float, float],)
|
| __parameters__ = ()
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.tuple:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(self, /)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmul__(self, value, /)
| Return value*self.
|
| count(self, value, /)
| Return number of occurrences of value.
|
| index(self, value, start=0, stop=9223372036854775807, /)
| Return first index of value.
|
| Raises ValueError if the value is not present.
|
| ----------------------------------------------------------------------
| Class methods inherited from builtins.tuple:
|
| __class_getitem__(...)
| See PEP 585
|
| ----------------------------------------------------------------------
| Class methods inherited from typing.Generic:
|
| __init_subclass__(...)
| Function to initialize subclasses.
class Polygon(Path)
| Polygon(*points: 'typing.Sequence[float]') -> 'None'
|
| Immutable representation of PostgreSQL `polygon` type.
|
| Method resolution order:
| Polygon
| Path
| builtins.object
|
| Methods defined here:
|
| __init__(self, *points: 'typing.Sequence[float]') -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {}
|
| ----------------------------------------------------------------------
| Methods inherited from Path:
|
| __contains__(self, point: 'object') -> 'bool'
|
| __eq__(self, other: 'object') -> 'bool'
| Return self==value.
|
| __getitem__(self, i: 'int | slice') -> 'Point | typing.Tuple[Point, ...]'
|
| __hash__(self) -> 'int'
| Return hash(self).
|
| __iter__(self) -> 'typing.Iterator[Point]'
|
| __len__(self) -> 'int'
|
| ----------------------------------------------------------------------
| Readonly properties inherited from Path:
|
| is_closed
|
| ----------------------------------------------------------------------
| Data descriptors inherited from Path:
|
| points
class Range(typing.Generic)
| Range(lower: '_RV | None' = None, upper: '_RV | None' = None, *, lower_inc: 'bool' = True, upper_inc: 'bool' = False, empty: 'bool' = False) -> 'None'
|
| Immutable representation of PostgreSQL `range` type.
|
| Method resolution order:
| Range
| typing.Generic
| builtins.object
|
| Methods defined here:
|
| __bool__(self) -> 'bool'
|
| __eq__(self, other: 'object') -> 'bool'
| Return self==value.
|
| __hash__(self) -> 'int'
| Return hash(self).
|
| __init__(self, lower: '_RV | None' = None, upper: '_RV | None' = None, *, lower_inc: 'bool' = True, upper_inc: 'bool' = False, empty: 'bool' = False) -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| __str__ = __repr__(self) -> 'str'
|
| issubset(self, other: 'Self') -> 'bool'
|
| issuperset(self, other: 'Self') -> 'bool'
|
| ----------------------------------------------------------------------
| Readonly properties defined here:
|
| isempty
|
| lower
|
| lower_inc
|
| lower_inf
|
| upper
|
| upper_inc
|
| upper_inf
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'_empty': 'bool', '_lower': '_RV | None', '_lower_i...
|
| __orig_bases__ = (typing.Generic[~_RV],)
|
| __parameters__ = (~_RV,)
|
| ----------------------------------------------------------------------
| Class methods inherited from typing.Generic:
|
| __class_getitem__(...)
| Parameterizes a generic class.
|
| At least, parameterizing a generic class is the *main* thing this
| method does. For example, for some generic class `Foo`, this is called
| when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
|
| However, note that this method is also called when defining generic
| classes in the first place with `class Foo[T]: ...`.
|
| __init_subclass__(...)
| Function to initialize subclasses.
class ServerVersion(builtins.tuple)
| ServerVersion(major: ForwardRef('int'), minor: ForwardRef('int'), micro: ForwardRef('int'), releaselevel: ForwardRef('str'), serial: ForwardRef('int'))
|
| PostgreSQL server version tuple.
|
| Method resolution order:
| ServerVersion
| builtins.tuple
| builtins.object
|
| Methods defined here:
|
| __getnewargs__(self) from collections.ServerVersion
| Return self as a plain tuple. Used by copy and pickle.
|
| __repr__(self) from collections.ServerVersion
| Return a nicely formatted representation string
|
| _asdict(self) from collections.ServerVersion
| Return a new dict which maps field names to their values.
|
| _replace(self, /, **kwds) from collections.ServerVersion
| Return a new ServerVersion object replacing specified fields with new values
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| _make(iterable) from collections.ServerVersion
| Make a new ServerVersion object from a sequence or iterable
|
| ----------------------------------------------------------------------
| Static methods defined here:
|
| __new__(_cls, major: ForwardRef('int'), minor: ForwardRef('int'), micro: ForwardRef('int'), releaselevel: ForwardRef('str'), serial: ForwardRef('int')) from namedtuple_ServerVersion.ServerVersion
| Create new instance of ServerVersion(major, minor, micro, releaselevel, serial)
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| major
| Alias for field number 0
|
| minor
| Alias for field number 1
|
| micro
| Alias for field number 2
|
| releaselevel
| Alias for field number 3
|
| serial
| Alias for field number 4
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'major': ForwardRef('int'), 'micro': ForwardRef('in...
|
| __match_args__ = ('major', 'minor', 'micro', 'releaselevel', 'serial')
|
| __orig_bases__ = (<function NamedTuple>,)
|
| _field_defaults = {}
|
| _fields = ('major', 'minor', 'micro', 'releaselevel', 'serial')
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.tuple:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __getitem__(self, key, /)
| Return self[key].
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmul__(self, value, /)
| Return value*self.
|
| count(self, value, /)
| Return number of occurrences of value.
|
| index(self, value, start=0, stop=9223372036854775807, /)
| Return first index of value.
|
| Raises ValueError if the value is not present.
|
| ----------------------------------------------------------------------
| Class methods inherited from builtins.tuple:
|
| __class_getitem__(...)
| See PEP 585
class Type(builtins.tuple)
| Type(oid: ForwardRef('int'), name: ForwardRef('str'), kind: ForwardRef('str'), schema: ForwardRef('str'))
|
| Database data type.
|
| Method resolution order:
| Type
| builtins.tuple
| builtins.object
|
| Methods defined here:
|
| __getnewargs__(self) from collections.Type
| Return self as a plain tuple. Used by copy and pickle.
|
| __repr__(self) from collections.Type
| Return a nicely formatted representation string
|
| _asdict(self) from collections.Type
| Return a new dict which maps field names to their values.
|
| _replace(self, /, **kwds) from collections.Type
| Return a new Type object replacing specified fields with new values
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| _make(iterable) from collections.Type
| Make a new Type object from a sequence or iterable
|
| ----------------------------------------------------------------------
| Static methods defined here:
|
| __new__(_cls, oid: ForwardRef('int'), name: ForwardRef('str'), kind: ForwardRef('str'), schema: ForwardRef('str')) from namedtuple_Type.Type
| Create new instance of Type(oid, name, kind, schema)
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| oid
| OID of the type.
|
| name
| Type name. For example "int2".
|
| kind
| Type kind. Can be "scalar", "array", "composite" or "range".
|
| schema
| Name of the database schema that defines the type.
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'kind': ForwardRef('str'), 'name': ForwardRef('str'...
|
| __match_args__ = ('oid', 'name', 'kind', 'schema')
|
| __orig_bases__ = (<function NamedTuple>,)
|
| _field_defaults = {}
|
| _fields = ('oid', 'name', 'kind', 'schema')
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.tuple:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __getitem__(self, key, /)
| Return self[key].
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmul__(self, value, /)
| Return value*self.
|
| count(self, value, /)
| Return number of occurrences of value.
|
| index(self, value, start=0, stop=9223372036854775807, /)
| Return first index of value.
|
| Raises ValueError if the value is not present.
|
| ----------------------------------------------------------------------
| Class methods inherited from builtins.tuple:
|
| __class_getitem__(...)
| See PEP 585
DATA
__all__ = ('Type', 'Attribute', 'Range', 'BitString', 'Point', 'Path',...
FILE
c:\users\youse\appdata\local\programs\python\python312\lib\site-packages\asyncpg\types.py
asyncpg.utils
Python Library Documentation: module asyncpg.utils in asyncpg
NAME
asyncpg.utils
DESCRIPTION
# Copyright (C) 2016-present the ayncpg authors and contributors
# <see AUTHORS file>
#
# This module is part of asyncpg and is released under
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
FILE
c:\users\youse\appdata\local\programs\python\python312\lib\site-packages\asyncpg\utils.py