malevich-coretools 0.3.31__tar.gz → 0.3.32__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.
Potentially problematic release.
This version of malevich-coretools might be problematic. Click here for more details.
- {malevich_coretools-0.3.31/malevich_coretools.egg-info → malevich_coretools-0.3.32}/PKG-INFO +1 -1
- malevich_coretools-0.3.32/VERSION +1 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/abstract/abstract.py +1 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/utils.py +6 -2
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32/malevich_coretools.egg-info}/PKG-INFO +1 -1
- malevich_coretools-0.3.31/VERSION +0 -1
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/LICENSE +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/MANIFEST.in +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/README.md +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/__init__.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/abstract/__init__.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/abstract/pipeline.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/abstract/statuses.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/admin/__init__.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/admin/utils.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/batch/__init__.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/batch/utils.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/funcs/__init__.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/funcs/checks.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/funcs/funcs.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/funcs/helpers.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/secondary/__init__.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/secondary/config.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/secondary/const.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/secondary/helpers.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/secondary/kafka_utils.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/tools/__init__.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/tools/abstract.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/tools/vast.py +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools.egg-info/SOURCES.txt +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools.egg-info/dependency_links.txt +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools.egg-info/requires.txt +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools.egg-info/top_level.txt +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/pyproject.toml +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/requirements.txt +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/setup.cfg +0 -0
- {malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.3.32
|
{malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/abstract/abstract.py
RENAMED
|
@@ -505,6 +505,7 @@ class RunSettings(BaseModel):
|
|
|
505
505
|
class Endpoint(BaseModel):
|
|
506
506
|
hash: Optional[Alias.Id] = None
|
|
507
507
|
taskId: Optional[Alias.Id] = None
|
|
508
|
+
pipelineId: Optional[Alias.Id] = None # should set taskId or pipelineId
|
|
508
509
|
cfgId: Optional[Alias.Id] = None
|
|
509
510
|
sla: Optional[str] = None
|
|
510
511
|
active: Optional[bool] = None
|
|
@@ -896,6 +896,7 @@ def run_endpoint(
|
|
|
896
896
|
|
|
897
897
|
def create_endpoint(
|
|
898
898
|
task_id: Optional[str] = None,
|
|
899
|
+
pipeline_id: Optional[str] = None,
|
|
899
900
|
cfg_id: Optional[str] = None,
|
|
900
901
|
sla: Optional[str] = None,
|
|
901
902
|
active: Optional[bool] = None,
|
|
@@ -911,9 +912,10 @@ def create_endpoint(
|
|
|
911
912
|
batcher: Optional[Batcher] = None,
|
|
912
913
|
) -> Alias.Id:
|
|
913
914
|
"""create endpoint, return hash, url - api/v1/endpoints/run/{hash}. fields may not be initialized - this will only cause an error at startup"""
|
|
915
|
+
assert task_id is None or pipeline_id is None, "endpoint should be defined in one way"
|
|
914
916
|
if batcher is None:
|
|
915
917
|
batcher = Config.BATCHER
|
|
916
|
-
data = Endpoint(taskId=task_id, cfgId=cfg_id, sla=sla, active=active, prepare=prepare, runSettings=run_settings,
|
|
918
|
+
data = Endpoint(taskId=task_id, pipelineId=pipeline_id, cfgId=cfg_id, sla=sla, active=active, prepare=prepare, runSettings=run_settings,
|
|
917
919
|
enableNotAuthorized=enable_not_auth, expectedCollectionsWithSchemes=expected_colls_with_schemes, description=description)
|
|
918
920
|
if batcher is not None:
|
|
919
921
|
return batcher.add("postEndpointCreate", data=data)
|
|
@@ -923,6 +925,7 @@ def create_endpoint(
|
|
|
923
925
|
def update_endpoint(
|
|
924
926
|
hash: str,
|
|
925
927
|
task_id: Optional[str] = None,
|
|
928
|
+
pipeline_id: Optional[str] = None,
|
|
926
929
|
cfg_id: Optional[str] = None,
|
|
927
930
|
sla: Optional[str] = None,
|
|
928
931
|
active: Optional[bool] = None,
|
|
@@ -938,9 +941,10 @@ def update_endpoint(
|
|
|
938
941
|
batcher: Optional[Batcher] = None,
|
|
939
942
|
) -> Alias.Id:
|
|
940
943
|
"""update endpoint, return hash, url - api/v1/endpoints/run/{hash}. update field if it is not None"""
|
|
944
|
+
assert task_id is None or pipeline_id is None, "endpoint should be defined in one way"
|
|
941
945
|
if batcher is None:
|
|
942
946
|
batcher = Config.BATCHER
|
|
943
|
-
data = Endpoint(hash=hash, taskId=task_id, cfgId=cfg_id, sla=sla, active=active, prepare=prepare, runSettings=run_settings,
|
|
947
|
+
data = Endpoint(hash=hash, taskId=task_id, pipelineId=pipeline_id, cfgId=cfg_id, sla=sla, active=active, prepare=prepare, runSettings=run_settings,
|
|
944
948
|
enableNotAuthorized=enable_not_auth, expectedCollectionsWithSchemes=expected_colls_with_schemes, description=description)
|
|
945
949
|
if batcher is not None:
|
|
946
950
|
return batcher.add("postEndpointUpdate", data=data)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.3.31
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/abstract/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/abstract/pipeline.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/abstract/statuses.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/admin/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/batch/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/funcs/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/secondary/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/secondary/config.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/secondary/const.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/secondary/helpers.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/secondary/kafka_utils.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/tools/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools/tools/abstract.py
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools.egg-info/requires.txt
RENAMED
|
File without changes
|
{malevich_coretools-0.3.31 → malevich_coretools-0.3.32}/malevich_coretools.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|