streambricks 0.0.1__tar.gz → 0.1.1__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.
Files changed (26) hide show
  1. {streambricks-0.0.1 → streambricks-0.1.1}/PKG-INFO +1 -1
  2. streambricks-0.1.1/src/streambricks/__init__.py +8 -0
  3. {streambricks-0.0.1 → streambricks-0.1.1}/src/streambricks/widgets/model_widget.py +3 -3
  4. streambricks-0.0.1/src/streambricks/__init__.py +0 -8
  5. {streambricks-0.0.1 → streambricks-0.1.1}/.copier-answers.yml +0 -0
  6. {streambricks-0.0.1 → streambricks-0.1.1}/.github/FUNDING.yml +0 -0
  7. {streambricks-0.0.1 → streambricks-0.1.1}/.github/copilot-instructions.md +0 -0
  8. {streambricks-0.0.1 → streambricks-0.1.1}/.github/dependabot.yml +0 -0
  9. {streambricks-0.0.1 → streambricks-0.1.1}/.github/workflows/build.yml +0 -0
  10. {streambricks-0.0.1 → streambricks-0.1.1}/.github/workflows/documentation.yml +0 -0
  11. {streambricks-0.0.1 → streambricks-0.1.1}/.gitignore +0 -0
  12. {streambricks-0.0.1 → streambricks-0.1.1}/.pre-commit-config.yaml +0 -0
  13. {streambricks-0.0.1 → streambricks-0.1.1}/LICENSE +0 -0
  14. {streambricks-0.0.1 → streambricks-0.1.1}/README.md +0 -0
  15. {streambricks-0.0.1 → streambricks-0.1.1}/docs/.empty +0 -0
  16. {streambricks-0.0.1 → streambricks-0.1.1}/duties.py +0 -0
  17. {streambricks-0.0.1 → streambricks-0.1.1}/mkdocs.yml +0 -0
  18. {streambricks-0.0.1 → streambricks-0.1.1}/overrides/_dummy.txt +0 -0
  19. {streambricks-0.0.1 → streambricks-0.1.1}/pyproject.toml +0 -0
  20. {streambricks-0.0.1 → streambricks-0.1.1}/src/streambricks/helpers.py +0 -0
  21. {streambricks-0.0.1 → streambricks-0.1.1}/src/streambricks/py.typed +0 -0
  22. {streambricks-0.0.1 → streambricks-0.1.1}/src/streambricks/widgets/__init__.py +0 -0
  23. {streambricks-0.0.1 → streambricks-0.1.1}/src/streambricks/widgets/multi_select.py +0 -0
  24. {streambricks-0.0.1 → streambricks-0.1.1}/tests/__init__.py +0 -0
  25. {streambricks-0.0.1 → streambricks-0.1.1}/tests/conftest.py +0 -0
  26. {streambricks-0.0.1 → streambricks-0.1.1}/tests/test_widgets.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: streambricks
3
- Version: 0.0.1
3
+ Version: 0.1.1
4
4
  Summary: Streamlit widgets and helpers
5
5
  Project-URL: Documentation, https://phil65.github.io/streambricks/
6
6
  Project-URL: Source, https://github.com/phil65/streambricks
@@ -0,0 +1,8 @@
1
+ __version__ = "0.1.1"
2
+
3
+
4
+ from streambricks.widgets.model_widget import render_model_form
5
+ from streambricks.widgets.multi_select import multiselect, MultiSelectItem
6
+ from streambricks.helpers import run
7
+
8
+ __all__ = ["MultiSelectItem", "multiselect", "render_model_form", "run"]
@@ -683,7 +683,7 @@ def render_model_instance_field(
683
683
  container = st.container()
684
684
  container.divider()
685
685
  else:
686
- container = st
686
+ container = st # type: ignore
687
687
 
688
688
  # Render each field of the nested model
689
689
  updated_value = {}
@@ -982,7 +982,7 @@ def render_model_field(model_class, field_name, value=None):
982
982
  if hasattr(field, "native_field") and hasattr(
983
983
  field.native_field, "json_schema_extra"
984
984
  ):
985
- field_info.update(field.native_field.json_schema_extra or {}) # pyright: ignore
985
+ field_info.update(field.native_field.json_schema_extra or {}) # type: ignore
986
986
 
987
987
  # Get description for the label
988
988
  label = field_name.replace("_", " ").title()
@@ -990,7 +990,7 @@ def render_model_field(model_class, field_name, value=None):
990
990
  description = field.metadata["description"]
991
991
  field_info["description"] = description
992
992
  elif hasattr(field, "native_field") and hasattr(field.native_field, "description"):
993
- description = field.native_field.description # pyright: ignore
993
+ description = field.native_field.description # type: ignore
994
994
  field_info["description"] = description
995
995
 
996
996
  # Get renderer and render the field
@@ -1,8 +0,0 @@
1
- __version__ = "0.0.1"
2
-
3
-
4
- from streambricks.widgets.model_widget import render_model_form
5
- from streambricks.widgets.multi_select import multiselect
6
- from streambricks.helpers import run
7
-
8
- __all__ = ["multiselect", "render_model_form", "run"]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes