Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicStack/asyncpg
/ SomeContainer
Class
SomeContainer
tests/test_codecs.py:901–903 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
899
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_arrays
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_arrays
Method · 0.68