streamlit-octostar-utils 0.4.2.dev22__tar.gz → 0.4.2.dev23__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.
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/PKG-INFO +1 -1
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/pyproject.toml +1 -1
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/api_crafter/contents.py +14 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/api_crafter/nifi.py +1 -0
- streamlit_octostar_utils-0.4.2.dev22/streamlit_octostar_utils/octostar/constants.py +0 -1
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/LICENSE +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/README.md +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/api_crafter/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/api_crafter/celery.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/api_crafter/fastapi.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/api_crafter/parallelism.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/api_crafter/parser/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/api_crafter/parser/combine_fields.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/api_crafter/parser/entities_parser.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/api_crafter/parser/generics.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/api_crafter/parser/info.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/api_crafter/parser/linkchart_functions.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/api_crafter/parser/matches.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/api_crafter/parser/parameters.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/api_crafter/parser/rules.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/api_crafter/parser/signals.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/core/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/core/dict.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/core/filetypes.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/core/threading/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/core/threading/key_queue.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/core/timestamp.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/nlp/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/nlp/custom_recognizers.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/nlp/language.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/nlp/ner.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/octostar/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/octostar/client.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/octostar/context.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/octostar/permissions.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/ontology/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/ontology/inheritance.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/ontology/relationships.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/ontology/validation.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/style/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/style/common.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/threading/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/threading/async_task_manager.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/threading/session_callback_manager.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev22 → streamlit_octostar_utils-0.4.2.dev23}/streamlit_octostar_utils/threading/session_state_hot_swapper.py +0 -0
|
@@ -628,6 +628,13 @@ class WorkspaceAttachmentContents(Contents):
|
|
|
628
628
|
super().close()
|
|
629
629
|
|
|
630
630
|
def truncate(self, size: Optional[int] = None) -> int:
|
|
631
|
+
if not self._buffer and (size == 0 or (size is None and self._position == 0)):
|
|
632
|
+
self._buffer = BytesIO()
|
|
633
|
+
self._fully_loaded = True
|
|
634
|
+
self._size = 0
|
|
635
|
+
self._position = 0
|
|
636
|
+
self._modified = True
|
|
637
|
+
return 0
|
|
631
638
|
self._modified = True
|
|
632
639
|
return self._ensure_buffer().truncate(size)
|
|
633
640
|
|
|
@@ -902,6 +909,13 @@ class TemporaryAttachmentContents(Contents):
|
|
|
902
909
|
super().close()
|
|
903
910
|
|
|
904
911
|
def truncate(self, size: Optional[int] = None) -> int:
|
|
912
|
+
if not self._buffer and (size == 0 or (size is None and self._position == 0)):
|
|
913
|
+
self._buffer = BytesIO()
|
|
914
|
+
self._fully_loaded = True
|
|
915
|
+
self._size = 0
|
|
916
|
+
self._position = 0
|
|
917
|
+
self._modified = True
|
|
918
|
+
return 0
|
|
905
919
|
self._modified = True
|
|
906
920
|
return self._ensure_buffer().truncate(size)
|
|
907
921
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
OS_XMP_NAMESPACE = "http://octostar.io/ns/1.0/"
|
|
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
|
|
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
|