Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicStack/asyncpg
/ __new__
Method
__new__
tests/test_record.py:553–554 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
551
552
class
MyRecord2(asyncpg.Record):
553
def
__new__(cls):
554
raise
AssertionError(
'this is not supposed to be called'
)
555
556
class
MyRecordBad:
557
pass
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected