Skip to content

Update script_repr docstring to mention existence of script_repr_suppress_defaults#1162

Open
Coderambling wants to merge 2 commits into
holoviz:mainfrom
Coderambling:patch-10
Open

Update script_repr docstring to mention existence of script_repr_suppress_defaults#1162
Coderambling wants to merge 2 commits into
holoviz:mainfrom
Coderambling:patch-10

Conversation

@Coderambling

@Coderambling Coderambling commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Added mention of suppress flag (or is it a global config variable?) to the script_repr docstring, for awareness, clarification and completeness.

See also #1159 .

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

…ress_defaults

Added mention of suppress flag (or is it a global config variable?) to the script_repr docstring, for awareness, clarification and completeness.

See also holoviz#1159 .


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
…press_defaults


Added mention of suppress flag (or is it a global config variable?) to the docstring of script_repr docstring, for awareness, clarification and completeness.

See also holoviz#1159 .


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

<!-- Using AI? READ FIRST: https://holoviz.org/contribute.html#ai-readme -->

## Description
<!-- Summarize the change and which issue is fixed. Be sure to include relevant motivation and context. Describe the tests run to verify these changes and how to reproduce them (copy-pastable minimal, reproducible example). Include visuals when possible (e.g. before/after screenshots). -->

Fixes #{issue}


## AI Disclosure
<!-- Delete this section if AI was not used, else specify the tool/model (e.g. Cursor + Sonnet 4.6, Claude Code + Opus 4.6, ChatGPT) and briefly describe how it was used. Failure to disclose AI usage may result in a ban. -->

Tool & Model:
Usage:

- [ ] I have tested all AI-generated content in my PR.
- [ ] I take responsibility for all AI-generated content in my PR.


## Checklist
<!-- Remove the non relevant items. -->

- [ ] Tests added and are passing
- [ ] Added documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant