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

Class Parameter

tests/document/test_instance.py:3302–3306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3300 value = DynamicField(default="UNDEFINED")
3301
3302 class Parameter(EmbeddedDocument):
3303 macros = MapField(EmbeddedDocumentField(Macro))
3304
3305 def expand(self):
3306 self.macros["test"] = Macro()
3307
3308 class Node(Document):
3309 parameters = MapField(EmbeddedDocumentField(Parameter))

Calls 2

MapFieldClass · 0.85