streambricks 0.2.7__tar.gz → 0.2.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {streambricks-0.2.7 → streambricks-0.2.8}/PKG-INFO +1 -1
- {streambricks-0.2.7 → streambricks-0.2.8}/src/streambricks/__init__.py +1 -1
- {streambricks-0.2.7 → streambricks-0.2.8}/src/streambricks/widgets/model_widget.py +2 -2
- {streambricks-0.2.7 → streambricks-0.2.8}/.copier-answers.yml +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/.github/FUNDING.yml +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/.github/copilot-instructions.md +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/.github/dependabot.yml +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/.github/workflows/build.yml +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/.github/workflows/documentation.yml +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/.gitignore +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/.pre-commit-config.yaml +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/LICENSE +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/README.md +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/docs/.empty +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/duties.py +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/mkdocs.yml +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/overrides/_dummy.txt +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/pyproject.toml +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/src/streambricks/helpers.py +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/src/streambricks/py.typed +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/src/streambricks/state.py +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/src/streambricks/widgets/__init__.py +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/src/streambricks/widgets/model_selector.py +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/src/streambricks/widgets/multi_select.py +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/src/streambricks/widgets/type_helpers.py +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/tests/__init__.py +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/tests/conftest.py +0 -0
- {streambricks-0.2.7 → streambricks-0.2.8}/tests/test_widgets.py +0 -0
|
@@ -242,7 +242,7 @@ def render_enum_field(
|
|
|
242
242
|
def render_secret_str_field(
|
|
243
243
|
*,
|
|
244
244
|
key: str,
|
|
245
|
-
value:
|
|
245
|
+
value: SecretStr | None = None,
|
|
246
246
|
label: str | None = None,
|
|
247
247
|
disabled: bool = False,
|
|
248
248
|
help: str | None = None, # noqa: A002
|
|
@@ -251,7 +251,7 @@ def render_secret_str_field(
|
|
|
251
251
|
"""Render a SecretStr field using a password input."""
|
|
252
252
|
text = st.text_input(
|
|
253
253
|
label=label or key,
|
|
254
|
-
value=value
|
|
254
|
+
value=value.get_secret_value() if value else "",
|
|
255
255
|
disabled=disabled,
|
|
256
256
|
key=key,
|
|
257
257
|
help=help,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|