MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / City

Class City

tests/document/test_inheritance.py:420–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418
419 def test_abstract_handle_ids_in_metaclass_properly(self):
420 class City(Document):
421 continent = StringField()
422 meta = {"abstract": True, "allow_inheritance": False}
423
424 class EuropeanCity(City):
425 name = StringField()

Calls 2

StringFieldClass · 0.90
IntFieldClass · 0.90

Used in the wild real call sites across dependent graphs

searching dependent graphs…