MCPcopy Create free account
hub / github.com/mongodb/motor / CollectionSubclass

Class CollectionSubclass

test/tornado_tests/test_motor_basic.py:133–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 @gen_test
132 async def test_inheritance(self):
133 class CollectionSubclass(motor.MotorCollection):
134 pass
135
136 class DatabaseSubclass(motor.MotorDatabase):
137 def __getitem__(self, name):

Callers 1

__getitem__Method · 0.70

Calls

no outgoing calls

Tested by 1

__getitem__Method · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…