malevich-coretools 0.3.49__tar.gz → 0.3.50__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.49/malevich_coretools.egg-info → malevich_coretools-0.3.50}/PKG-INFO +1 -1
- malevich_coretools-0.3.50/VERSION +1 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/funcs/funcs.py +16 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/secondary/const.py +2 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/utils.py +36 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50/malevich_coretools.egg-info}/PKG-INFO +1 -1
- malevich_coretools-0.3.49/VERSION +0 -1
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/LICENSE +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/MANIFEST.in +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/README.md +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/__init__.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/abstract/__init__.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/abstract/abstract.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/abstract/operations.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/abstract/pipeline.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/abstract/statuses.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/admin/__init__.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/admin/utils.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/batch/__init__.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/batch/utils.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/funcs/__init__.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/funcs/checks.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/funcs/helpers.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/secondary/__init__.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/secondary/config.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/secondary/helpers.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/secondary/kafka_utils.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/tools/__init__.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/tools/abstract.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/tools/vast.py +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools.egg-info/SOURCES.txt +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools.egg-info/dependency_links.txt +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools.egg-info/requires.txt +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools.egg-info/top_level.txt +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/pyproject.toml +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/requirements.txt +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/setup.cfg +0 -0
- {malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.3.50
|
|
@@ -890,6 +890,22 @@ async def get_userPipelines_realId_async(id: str, *args, **kwargs) -> Pipeline:
|
|
|
890
890
|
return model_from_json(await send_to_core_get_async(USER_PIPELINES_REAL_ID(id), *args, **kwargs), Pipeline).simplify()
|
|
891
891
|
|
|
892
892
|
|
|
893
|
+
def get_userPipelines_tagSearch(tag: str, *args, **kwargs) -> ResultIds:
|
|
894
|
+
return model_from_json(send_to_core_get(USER_PIPELINES_TAG(tag), *args, **kwargs), ResultIds)
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
async def get_userPipelines_tagSearch_async(tag: str, *args, **kwargs) -> ResultIds:
|
|
898
|
+
return model_from_json(await send_to_core_get_async(USER_PIPELINES_TAG(tag), *args, **kwargs), ResultIds)
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
def get_userPipelines_realIds_tagSearch(tag: str, *args, **kwargs) -> ResultIds:
|
|
902
|
+
return model_from_json(send_to_core_get(USER_PIPELINES_TAG_REAL_IDS(tag), *args, **kwargs), ResultIds)
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
async def get_userPipelines_realIds_tagSearch_async(tag: str, *args, **kwargs) -> ResultIds:
|
|
906
|
+
return model_from_json(await send_to_core_get_async(USER_PIPELINES_TAG_REAL_IDS(tag), *args, **kwargs), ResultIds)
|
|
907
|
+
|
|
908
|
+
|
|
893
909
|
def post_userPipelines(data: UserTask, wait: bool, *args, **kwargs) -> Alias.Id:
|
|
894
910
|
return send_to_core_modify(USER_PIPELINES(wait), data, *args, **kwargs)
|
|
895
911
|
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/secondary/const.py
RENAMED
|
@@ -139,6 +139,8 @@ USER_PIPELINES_MAP_IDS = f"{USER_PIPELINES_MAIN}/mapIds"
|
|
|
139
139
|
USER_PIPELINES_MAP_ID = lambda id: f"{USER_PIPELINES_MAIN}/mapIds/{urllib.parse.quote(str(id), safe='')}"
|
|
140
140
|
USER_PIPELINES_ID = lambda id, wait: with_wait(f"{USER_PIPELINES_MAIN}/{urllib.parse.quote(str(id), safe='')}", wait)
|
|
141
141
|
USER_PIPELINES_REAL_ID = lambda id: f"{USER_PIPELINES_MAIN}/realIds/{urllib.parse.quote(str(id), safe='')}"
|
|
142
|
+
USER_PIPELINES_TAG = lambda tag: f"{USER_PIPELINES_MAIN}/tagSearch/{urllib.parse.quote(str(tag), safe='')}"
|
|
143
|
+
USER_PIPELINES_TAG_REAL_IDS = lambda tag: f"{USER_PIPELINES_MAIN}/realIds/tagSearch/{urllib.parse.quote(str(tag), safe='')}"
|
|
142
144
|
|
|
143
145
|
## UserCfgsController
|
|
144
146
|
USER_CFGS_MAIN = f"{API_VERSION}/userCfgs"
|
|
@@ -2432,6 +2432,42 @@ def get_pipeline_real(
|
|
|
2432
2432
|
return f.get_userPipelines_realId(id, auth=auth, conn_url=conn_url)
|
|
2433
2433
|
|
|
2434
2434
|
|
|
2435
|
+
def search_pipeline_by_image_tag(
|
|
2436
|
+
tag: str,
|
|
2437
|
+
*,
|
|
2438
|
+
auth: Optional[AUTH] = None,
|
|
2439
|
+
conn_url: Optional[str] = None,
|
|
2440
|
+
batcher: Optional[Batcher] = None,
|
|
2441
|
+
is_async: bool = False,
|
|
2442
|
+
) -> ResultIds:
|
|
2443
|
+
"""return pipelines ids by `tag`"""
|
|
2444
|
+
if batcher is None:
|
|
2445
|
+
batcher = Config.BATCHER
|
|
2446
|
+
if batcher is not None:
|
|
2447
|
+
return batcher.add("getPipelinesByTag", vars={"tag": tag}, result_model=ResultIds)
|
|
2448
|
+
if is_async:
|
|
2449
|
+
return f.get_userPipelines_tagSearch_async(tag, auth=auth, conn_url=conn_url)
|
|
2450
|
+
return f.get_userPipelines_tagSearch(tag, auth=auth, conn_url=conn_url)
|
|
2451
|
+
|
|
2452
|
+
|
|
2453
|
+
def search_pipeline_by_image_tag_real(
|
|
2454
|
+
tag: str,
|
|
2455
|
+
*,
|
|
2456
|
+
auth: Optional[AUTH] = None,
|
|
2457
|
+
conn_url: Optional[str] = None,
|
|
2458
|
+
batcher: Optional[Batcher] = None,
|
|
2459
|
+
is_async: bool = False,
|
|
2460
|
+
) -> ResultIds:
|
|
2461
|
+
"""return real pipelines ids by `tag`"""
|
|
2462
|
+
if batcher is None:
|
|
2463
|
+
batcher = Config.BATCHER
|
|
2464
|
+
if batcher is not None:
|
|
2465
|
+
return batcher.add("getPipelinesByTagReal", vars={"tag": tag}, result_model=ResultIds)
|
|
2466
|
+
if is_async:
|
|
2467
|
+
return f.get_userPipelines_realIds_tagSearch_async(tag, auth=auth, conn_url=conn_url)
|
|
2468
|
+
return f.get_userPipelines_realIds_tagSearch(tag, auth=auth, conn_url=conn_url)
|
|
2469
|
+
|
|
2470
|
+
|
|
2435
2471
|
def create_pipeline(
|
|
2436
2472
|
pipeline_id: str,
|
|
2437
2473
|
processors: Dict[str, Processor] = None,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.3.49
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/abstract/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/abstract/abstract.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/abstract/operations.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/abstract/pipeline.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/abstract/statuses.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/admin/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/batch/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/funcs/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/secondary/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/secondary/config.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/secondary/helpers.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/secondary/kafka_utils.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/tools/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools/tools/abstract.py
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools.egg-info/requires.txt
RENAMED
|
File without changes
|
{malevich_coretools-0.3.49 → malevich_coretools-0.3.50}/malevich_coretools.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|