Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion param/parameterized.py
Original file line number Diff line number Diff line change
Expand Up @@ -5172,6 +5172,15 @@ def script_repr(
configuration. It captures only the state of the object's parameters, not
its internal (non-parameter) attributes.

By default, script_repr prints only parameter values that have changed from
their defaults; for the complete set of parameter values, including
all defaults, first run:

param.parameterized.script_repr_suppress_defaults=False

For more details on this, see:
https://param.holoviz.org/en/docs/latest/user_guide/Serialization_and_Persistence.html#script-repr-limitations-and-workarounds

Parameters
----------
val : Parameterized
Expand Down Expand Up @@ -5215,7 +5224,6 @@ def script_repr(
References
----------
See https://param.holoviz.org/user_guide/Serialization_and_Persistence.html#script-repr.

Examples
--------
Create a Python script representation of a Parameterized object:
Expand Down
Loading