malevich-coretools 0.3.49__py3-none-any.whl → 0.3.50__py3-none-any.whl

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.

@@ -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
 
@@ -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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: malevich-coretools
3
- Version: 0.3.49
3
+ Version: 0.3.50
4
4
  Author: Andrew Pogrebnoj
5
5
  Author-email: andrew@onjulius.co
6
6
  License-File: LICENSE
@@ -1,5 +1,5 @@
1
1
  malevich_coretools/__init__.py,sha256=DJtPESxkCZD2SbTZTrR_x0TKDQ4MJpmBqGw5YpKYidM,134
2
- malevich_coretools/utils.py,sha256=hunbqPL8SoNbMRKv65D8O91naTcV26XOcs32tnShX5o,151372
2
+ malevich_coretools/utils.py,sha256=xDyw1WBxIWif-OE_O4w3FxypTE9dgxvfUsWznPU-bOg,152610
3
3
  malevich_coretools/abstract/__init__.py,sha256=6vQ08c8HPYyT_pPkKlc-EwQKE8xG3HTEo2p_GiI5rik,142
4
4
  malevich_coretools/abstract/abstract.py,sha256=CZRNn-pqg_eORgJh3XXhpf6hSb2ubR718DdHRz4p05c,16463
5
5
  malevich_coretools/abstract/operations.py,sha256=cWlo2xzW-rzkTInzpDjBYeL68KfLYqSpZJRzCQ4OzjA,3070
@@ -11,18 +11,18 @@ malevich_coretools/batch/__init__.py,sha256=taxyZl8YOZd2EBd3leN6slzMkejUtjQ64Na3
11
11
  malevich_coretools/batch/utils.py,sha256=FRmCYU-zr-RjgT1Mo3CUNcB2mW1t_gKCJazcMx6aIW4,7719
12
12
  malevich_coretools/funcs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  malevich_coretools/funcs/checks.py,sha256=Q5pRtRevQrGv_-SMbn2GgYnulhclDLBXdRtbw2QOYKU,223
14
- malevich_coretools/funcs/funcs.py,sha256=DLellIap5bGejIKsIHIPJE6hlSdee_s8mKmpiO7yZ0I,82738
14
+ malevich_coretools/funcs/funcs.py,sha256=2OPZK70wMgE6WT9ngULtaABsdIkVp--epg7PV0NHsmA,83512
15
15
  malevich_coretools/funcs/helpers.py,sha256=hKLES296_hrINOIGLJuRi1XvI-vLccmQKL0Y_32iffU,11411
16
16
  malevich_coretools/secondary/__init__.py,sha256=048HqvG36_1WdDVZK_RuECmaf14Iq2fviUysG1inlaE,78
17
17
  malevich_coretools/secondary/config.py,sha256=hRlSJuPQnhKyt1wmOAJX_XmcliaO0fPGbW94AE_Mazs,463
18
- malevich_coretools/secondary/const.py,sha256=uRnKYTHjY-n71gt98QCCOCTQ0py7cMK5ye08n-NDwds,14954
18
+ malevich_coretools/secondary/const.py,sha256=raoPX6aFuk_Rj9t4aYyLoqzEv6N8aHzIfdaF9QIeijE,15187
19
19
  malevich_coretools/secondary/helpers.py,sha256=lbLgHJeDQvn38DnKuXMaaNUD6PCxjzCusZO8DcLXqDk,6384
20
20
  malevich_coretools/secondary/kafka_utils.py,sha256=SIUnBFyfwsquN6MAUrEkKCw-1l7979Znl7OTQSX2UKo,989
21
21
  malevich_coretools/tools/__init__.py,sha256=jDxlCa5Dr6Y43qlI7JwsRAlBkKmFeTHTEnjNUvu-0iw,46
22
22
  malevich_coretools/tools/abstract.py,sha256=B1RW1FeNHrQ6r1k-cQZ4k4noCRXkIGt-JUwVoXEDkAg,4466
23
23
  malevich_coretools/tools/vast.py,sha256=63tvy70qQV9vnK0eWytlgjBGSnfA7l3kSIDgACBbMMs,12893
24
- malevich_coretools-0.3.49.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
25
- malevich_coretools-0.3.49.dist-info/METADATA,sha256=OeOG0GJkCUy55QeUt3FMPCyX7UhkgQPkSmQDDy1PjI0,347
26
- malevich_coretools-0.3.49.dist-info/WHEEL,sha256=GHB6lJx2juba1wDgXDNlMTyM13ckjBMKf-OnwgKOCtA,91
27
- malevich_coretools-0.3.49.dist-info/top_level.txt,sha256=wDX3s1Tso0otBPNrFRfXqyNpm48W4Bp5v6JfbITO2Z8,19
28
- malevich_coretools-0.3.49.dist-info/RECORD,,
24
+ malevich_coretools-0.3.50.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
25
+ malevich_coretools-0.3.50.dist-info/METADATA,sha256=dtrSVyPpifmdgLZVdC0es9Xmlm63larSwV2PZ7mhjYo,347
26
+ malevich_coretools-0.3.50.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
27
+ malevich_coretools-0.3.50.dist-info/top_level.txt,sha256=wDX3s1Tso0otBPNrFRfXqyNpm48W4Bp5v6JfbITO2Z8,19
28
+ malevich_coretools-0.3.50.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.3.0)
2
+ Generator: setuptools (80.3.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5