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.119.0.207
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 : sync.py
# orm/sync.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 """private module containing functions used for copying data between instances based on join conditions. """ from . import exc, util as orm_util, attributes def populate(source, source_mapper, dest, dest_mapper, synchronize_pairs, uowcommit, flag_cascaded_pks): source_dict = source.dict dest_dict = dest.dict for l, r in synchronize_pairs: try: # inline of source_mapper._get_state_attr_by_column prop = source_mapper._columntoproperty[l] value = source.manager[prop.key].impl.get(source, source_dict, attributes.PASSIVE_OFF) except exc.UnmappedColumnError: _raise_col_to_prop(False, source_mapper, l, dest_mapper, r) try: # inline of dest_mapper._set_state_attr_by_column prop = dest_mapper._columntoproperty[r] dest.manager[prop.key].impl.set(dest, dest_dict, value, None) except exc.UnmappedColumnError: _raise_col_to_prop(True, source_mapper, l, dest_mapper, r) # technically the "r.primary_key" check isn't # needed here, but we check for this condition to limit # how often this logic is invoked for memory/performance # reasons, since we only need this info for a primary key # destination. if flag_cascaded_pks and l.primary_key and \ r.primary_key and \ r.references(l): uowcommit.attributes[("pk_cascaded", dest, r)] = True def clear(dest, dest_mapper, synchronize_pairs): for l, r in synchronize_pairs: if r.primary_key and \ dest_mapper._get_state_attr_by_column( dest, dest.dict, r) is not None: raise AssertionError( "Dependency rule tried to blank-out primary key " "column '%s' on instance '%s'" % (r, orm_util.state_str(dest)) ) try: dest_mapper._set_state_attr_by_column(dest, dest.dict, r, None) except exc.UnmappedColumnError: _raise_col_to_prop(True, None, l, dest_mapper, r) def update(source, source_mapper, dest, old_prefix, synchronize_pairs): for l, r in synchronize_pairs: try: oldvalue = source_mapper._get_committed_attr_by_column( source.obj(), l) value = source_mapper._get_state_attr_by_column( source, source.dict, l) except exc.UnmappedColumnError: _raise_col_to_prop(False, source_mapper, l, None, r) dest[r.key] = value dest[old_prefix + r.key] = oldvalue def populate_dict(source, source_mapper, dict_, synchronize_pairs): for l, r in synchronize_pairs: try: value = source_mapper._get_state_attr_by_column( source, source.dict, l) except exc.UnmappedColumnError: _raise_col_to_prop(False, source_mapper, l, None, r) dict_[r.key] = value def source_modified(uowcommit, source, source_mapper, synchronize_pairs): """return true if the source object has changes from an old to a new value on the given synchronize pairs """ for l, r in synchronize_pairs: try: prop = source_mapper._columntoproperty[l] except exc.UnmappedColumnError: _raise_col_to_prop(False, source_mapper, l, None, r) history = uowcommit.get_attribute_history( source, prop.key, attributes.PASSIVE_NO_INITIALIZE) if bool(history.deleted): return True else: return False def _raise_col_to_prop(isdest, source_mapper, source_column, dest_mapper, dest_column): if isdest: raise exc.UnmappedColumnError( "Can't execute sync rule for " "destination column '%s'; mapper '%s' does not map " "this column. Try using an explicit `foreign_keys` " "collection which does not include this column (or use " "a viewonly=True relation)." % (dest_column, dest_mapper)) else: raise exc.UnmappedColumnError( "Can't execute sync rule for " "source column '%s'; mapper '%s' does not map this " "column. Try using an explicit `foreign_keys` " "collection which does not include destination column " "'%s' (or use a viewonly=True relation)." % (source_column, source_mapper, dest_column))
Close