mightstone.services.wotc.models.Glossary
- pydantic model mightstone.services.wotc.models.Glossary
Show JSON schema
{ "title": "Glossary", "type": "object", "properties": { "terms": { "additionalProperties": { "$ref": "#/$defs/Term" }, "default": {}, "title": "Terms", "type": "object" } }, "$defs": { "Term": { "properties": { "term": { "title": "Term", "type": "string" }, "description": { "title": "Description", "type": "string" } }, "required": [ "term", "description" ], "title": "Term", "type": "object" } } }
- field terms: Dict[str, Term] = {}
- add(term, text)
- index()
- search(string)