streamlit-octostar-utils 0.2.3a2__tar.gz → 0.2.4__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.2.3a2 → streamlit_octostar_utils-0.2.4}/PKG-INFO +1 -1
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/pyproject.toml +1 -1
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/api_crafter/nifi.py +1 -7
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/LICENSE +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/README.md +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/__init__.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/api_crafter/__init__.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/api_crafter/celery.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/api_crafter/fastapi.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/api_crafter/parser/__init__.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/api_crafter/parser/combine_fields.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/api_crafter/parser/entities_parser.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/api_crafter/parser/generics.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/api_crafter/parser/info.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/api_crafter/parser/linkchart_functions.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/api_crafter/parser/matches.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/api_crafter/parser/parameters.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/api_crafter/parser/rules.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/api_crafter/parser/signals.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/core/__init__.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/core/dict.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/core/filetypes.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/core/threading/__init__.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/core/threading/key_queue.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/core/timestamp.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/nlp/__init__.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/nlp/language.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/nlp/ner.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/octostar/__init__.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/octostar/client.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/octostar/context.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/octostar/permissions.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/ontology/__init__.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/ontology/expand_entities.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/ontology/inheritance.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/ontology/validation.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/style/__init__.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/style/common.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/threading/__init__.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/threading/async_task_manager.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/threading/session_callback_manager.py +0 -0
- {streamlit_octostar_utils-0.2.3a2 → streamlit_octostar_utils-0.2.4}/streamlit_octostar_utils/threading/session_state_hot_swapper.py +0 -0
@@ -13,9 +13,6 @@ from typing import Dict, Any
|
|
13
13
|
from fastapi import Request
|
14
14
|
from fastapi.responses import JSONResponse
|
15
15
|
from starlette.exceptions import HTTPException as StarletteHTTPException
|
16
|
-
import logging
|
17
|
-
|
18
|
-
logger = logging.getLogger(__name__)
|
19
16
|
|
20
17
|
from octostar.utils.workspace import read_file, upsert_entities, write_file
|
21
18
|
from octostar.utils.ontology import fetch_ontology_data
|
@@ -407,9 +404,7 @@ class NifiContextManager(object):
|
|
407
404
|
{e.record["entity_id"]: e for e in all_entities}.values()
|
408
405
|
)
|
409
406
|
self.sync_entities()
|
410
|
-
|
411
|
-
raise Exception(output)
|
412
|
-
return output
|
407
|
+
return [entity for entity in self.jsonify(self.out_entities)["content"]]
|
413
408
|
|
414
409
|
def raise_exception(self, entity, exc):
|
415
410
|
error_response = DefaultErrorRoute.format_error(exc)
|
@@ -638,7 +633,6 @@ class NifiEntity(object):
|
|
638
633
|
):
|
639
634
|
self.context = context
|
640
635
|
self.request = request
|
641
|
-
self.request["nifi_attributes"] = {}
|
642
636
|
self.record = record
|
643
637
|
self.annotations = annotations
|
644
638
|
assert self.record.get("os_entity_uid") and self.record.get("entity_id")
|
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
|