hololinked.td.base.Schema
Bases: BaseModel
Base pydantic model for all WoT schema components (as in, parts within the schema).
Call model_dump or json method to get the JSON representation of the schema.
Source code in hololinked/hololinked/td/base.py
Functions
format_doc
classmethod
strip tabs, newlines, whitespaces etc. to format the docstring nicely
Source code in hololinked/hololinked/td/base.py
json
model_dump
Return the JSON representation of the schema