MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / unlink

Method unlink

lib/sqlalchemy/orm/attributes.py:1701–1702  ·  view source on GitHub ↗
(target, collection, collection_adapter)

Source from the content-addressed store, hash-verified

1699
1700 @event.listens_for(self, "dispose_collection")
1701 def unlink(target, collection, collection_adapter):
1702 collection._sa_linker(None)
1703
1704 def __copy(self, item):
1705 return [y for y in collections.collection_adapter(item)]

Callers 8

_testsFunction · 0.80
test_pep8Function · 0.80
apply_pytest_optsFunction · 0.80

Calls

no outgoing calls

Tested by 5

test_pep8Function · 0.64