streamlit-octostar-utils 0.4.2.dev7__tar.gz → 0.4.2.dev9__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.dev7 → streamlit_octostar_utils-0.4.2.dev9}/PKG-INFO +1 -1
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/pyproject.toml +1 -1
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/api_crafter/contents.py +8 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/api_crafter/nifi.py +1 -1
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/LICENSE +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/README.md +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/api_crafter/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/api_crafter/celery.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/api_crafter/fastapi.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/api_crafter/parallelism.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/api_crafter/parser/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/api_crafter/parser/combine_fields.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/api_crafter/parser/entities_parser.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/api_crafter/parser/generics.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/api_crafter/parser/info.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/api_crafter/parser/linkchart_functions.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/api_crafter/parser/matches.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/api_crafter/parser/parameters.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/api_crafter/parser/rules.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/api_crafter/parser/signals.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/core/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/core/dict.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/core/filetypes.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/core/threading/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/core/threading/key_queue.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/core/timestamp.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/nlp/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/nlp/custom_recognizers.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/nlp/language.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/nlp/ner.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/octostar/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/octostar/client.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/octostar/context.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/octostar/permissions.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/ontology/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/ontology/inheritance.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/ontology/relationships.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/ontology/validation.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/style/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/style/common.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/threading/__init__.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/threading/async_task_manager.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/threading/session_callback_manager.py +0 -0
- {streamlit_octostar_utils-0.4.2.dev7 → streamlit_octostar_utils-0.4.2.dev9}/streamlit_octostar_utils/threading/session_state_hot_swapper.py +0 -0
|
@@ -316,6 +316,9 @@ class Contents(ABC):
|
|
|
316
316
|
self.write(data)
|
|
317
317
|
self.flush()
|
|
318
318
|
|
|
319
|
+
def __bool__(self) -> bool:
|
|
320
|
+
return True
|
|
321
|
+
|
|
319
322
|
def __len__(self) -> int:
|
|
320
323
|
"""
|
|
321
324
|
Return the length of the contents.
|
|
@@ -671,6 +674,11 @@ class WorkspaceAttachmentContents(Contents):
|
|
|
671
674
|
client=self._client
|
|
672
675
|
)
|
|
673
676
|
self._modified = False
|
|
677
|
+
self._buffer.close()
|
|
678
|
+
self._buffer = None
|
|
679
|
+
self._fully_loaded = False
|
|
680
|
+
self._position = 0
|
|
681
|
+
self._presigned_url = None # force refresh on next remote read
|
|
674
682
|
|
|
675
683
|
def close(self):
|
|
676
684
|
if not self._closed:
|
|
@@ -821,7 +821,7 @@ class NifiEntity(object):
|
|
|
821
821
|
"record": self.record,
|
|
822
822
|
"children": children,
|
|
823
823
|
"annotations": self.annotations,
|
|
824
|
-
"contents": self._contents.to_locator() if self._contents else None,
|
|
824
|
+
"contents": self._contents.to_locator() if self._contents is not None else None,
|
|
825
825
|
}
|
|
826
826
|
|
|
827
827
|
def _add_entity(self, os_workspace, entity_type, fields, os_entity_uid=None):
|
|
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
|