MCPcopy Create free account
hub / github.com/OpenBMB/ChatDev / collect_schema

Method collect_schema

entity/configs/base.py:185–186  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

183
184 @classmethod
185 def collect_schema(cls) -> SchemaNode:
186 return SchemaNode(node=cls.__name__, fields=list(cls.field_specs().values()), constraints=list(cls.constraints()))
187
188 @classmethod
189 def example(cls) -> Dict[str, Any]:

Callers 1

build_schema_responseFunction · 0.80

Calls 3

SchemaNodeClass · 0.85
constraintsMethod · 0.80
field_specsMethod · 0.45

Tested by

no test coverage detected