MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / __contains__

Method __contains__

tests/test_codecs.py:902–903  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

900 # A pure container is _not_ OK for array input.
901 class SomeContainer:
902 def __contains__(self, item):
903 return False
904
905 with self.assertRaisesRegex(asyncpg.DataError,
906 'sized iterable container expected'):

Callers 1

test_record_containsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected