Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/MongoEngine/mongoengine
/ A
Class
A
tests/document/test_inheritance.py:267–270 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
265
""
"
266
267
class
A(Document):
268
a = StringField()
269
270
meta = {
"allow_inheritance"
: True,
"indexes"
: [
"a"
]}
271
272
class
B(Document):
273
b = StringField()
Callers
nothing calls this directly
Calls
1
StringField
Class · 0.90
Tested by
no test coverage detected