hololinked.td.base.Schema
Bases: BaseModel
Base dataclass for all WoT schema; Implements a custom asdict method which replaces dataclasses' asdict utility function
Source code in .venv/lib/python3.13/site-packages/hololinked/td/base.py
Functions
format_doc
classmethod
strip tabs, newlines, whitespaces etc. to format the docstring nicely
Source code in .venv/lib/python3.13/site-packages/hololinked/td/base.py
json
Return the JSON representation of the schema