streamlit-octostar-utils 0.6.5.dev1__tar.gz → 0.6.5.dev2__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.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/PKG-INFO +1 -1
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/pyproject.toml +1 -1
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/api_crafter/nifi.py +12 -5
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/LICENSE +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/README.md +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/__init__.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/api_crafter/__init__.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/api_crafter/celery.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/api_crafter/contents.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/api_crafter/fastapi.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/api_crafter/parallelism.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/api_crafter/parser/__init__.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/api_crafter/parser/combine_fields.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/api_crafter/parser/entities_parser.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/api_crafter/parser/generics.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/api_crafter/parser/info.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/api_crafter/parser/linkchart_functions.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/api_crafter/parser/matches.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/api_crafter/parser/parameters.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/api_crafter/parser/rules.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/api_crafter/parser/signals.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/core/__init__.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/core/dict.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/core/filetypes.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/core/opensearch_conversion.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/core/threading/__init__.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/core/threading/key_queue.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/core/timestamp.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/nlp/__init__.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/nlp/custom_recognizers.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/nlp/language.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/nlp/ner.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/octostar/__init__.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/octostar/client.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/octostar/context.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/octostar/permissions.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/ontology/__init__.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/ontology/inheritance.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/ontology/relationships.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/ontology/validation.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/style/__init__.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/style/common.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/threading/__init__.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/threading/async_task_manager.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/threading/session_callback_manager.py +0 -0
- {streamlit_octostar_utils-0.6.5.dev1 → streamlit_octostar_utils-0.6.5.dev2}/streamlit_octostar_utils/threading/session_state_hot_swapper.py +0 -0
|
@@ -1069,12 +1069,19 @@ class NifiContextManager(object):
|
|
|
1069
1069
|
if statuses:
|
|
1070
1070
|
update_processing_status.sync(statuses, client=self.client)
|
|
1071
1071
|
|
|
1072
|
-
def sync_entities(self, allowed_flags=None):
|
|
1072
|
+
def sync_entities(self, allowed_flags=None, entities=None):
|
|
1073
|
+
"""Run sync for ``entities`` (defaults to ``self.out_entities`` honoring
|
|
1074
|
+
``lazy_sync``/``nonlazy_sync_ids``). Passing ``entities`` explicitly
|
|
1075
|
+
bypasses the ``out_entities`` filter — useful for routes that want to
|
|
1076
|
+
trigger a sync from inside their task body (i.e. before ``send_output``
|
|
1077
|
+
has populated ``out_entities``) and catch failures locally.
|
|
1078
|
+
"""
|
|
1073
1079
|
effective_flags = allowed_flags if allowed_flags is not None else self.sync_allowed_flags
|
|
1074
|
-
if
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1080
|
+
if entities is None:
|
|
1081
|
+
if not self.lazy_sync:
|
|
1082
|
+
entities = self.out_entities
|
|
1083
|
+
else:
|
|
1084
|
+
entities = [e for e in self.out_entities if e.record["entity_id"] in self.nonlazy_sync_ids]
|
|
1078
1085
|
if not entities:
|
|
1079
1086
|
return
|
|
1080
1087
|
|
|
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
|
|
File without changes
|
|
File without changes
|