MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / maybe_zark

Method maybe_zark

test/orm/test_collection.py:1727–1730  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

1725
1726 @collection.removes_return()
1727 def maybe_zark(self, item):
1728 if item in self.data:
1729 self.data.remove(item)
1730 return item
1731
1732 @collection.iterator
1733 def __iter__(self):

Callers 1

_test_objectMethod · 0.45

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected