buffalo_panel.config.schema_tree

buffalo_panel.config.schema_tree(cls)[source]

Return a nested tree description for one schema dataclass.

The returned object gives GUI and editor code one machine-readable structure containing:

  • ordered field descriptions

  • nested dataclass children

  • optionality

  • display-friendly type names

  • field-level documentation text

  • the structured field metadata used for validation and presentation

Return type:

SchemaClassTree