API Documentation¶
This reference is generated from docstrings for the public API exposed in
ipywidgets_jsonschema/__init__.py.
- class ipywidgets_jsonschema.Form(schema, vertically_place_labels=False, use_sliders=False, preconstruct_array_items=0, sorter=<built-in function sorted>, date_time_fmt_func=<function Form.<lambda>>, date_time_parse_func=<built-in method fromisoformat of type object>, date_fmt_func=<function Form.<lambda>>, date_parse_func=<built-in method fromisoformat of type object>, time_fmt_func=<function Form.<lambda>>, time_parse_func=<built-in method fromisoformat of type object>, show_descriptions=False)¶
Bases:
object- observe(handler, names=traitlets.All, type='change')¶
Register a change handler with all the widgets that support it
- property widget¶
Return the resulting widget for further use
- show(width='100%')¶
Show the resulting combined widget in the Jupyter notebook
- property data¶
Get a (non-updating) snapshot of the current form data
- Returns:
A dictionary that reflects the current state of the widget and conforms to the given schema.
- class ipywidgets_jsonschema.PydanticEditorMixin¶
Bases:
objectMixin providing an interactive form for editing pydantic model attributes.