MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __ior__

Function __ior__

lib/sqlalchemy/orm/collections.py:1401–1410  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

1399 return update
1400
1401 def __ior__(fn):
1402 def __ior__(self, value):
1403 if not _set_binops_check_strict(self, value):
1404 return NotImplemented
1405 for item in value:
1406 self.add(item)
1407 return self
1408
1409 _tidy(__ior__)
1410 return __ior__
1411
1412 def difference_update(fn):
1413 def difference_update(self, value):

Callers

nothing calls this directly

Calls 3

_set_binops_check_strictFunction · 0.85
_tidyFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected