malevich-coretools 0.3.62__py3-none-any.whl → 0.3.63__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.
- malevich_coretools/abstract/abstract.py +1 -0
- malevich_coretools/utils.py +14 -5
- {malevich_coretools-0.3.62.dist-info → malevich_coretools-0.3.63.dist-info}/METADATA +1 -1
- {malevich_coretools-0.3.62.dist-info → malevich_coretools-0.3.63.dist-info}/RECORD +7 -7
- {malevich_coretools-0.3.62.dist-info → malevich_coretools-0.3.63.dist-info}/WHEEL +0 -0
- {malevich_coretools-0.3.62.dist-info → malevich_coretools-0.3.63.dist-info}/licenses/LICENSE +0 -0
- {malevich_coretools-0.3.62.dist-info → malevich_coretools-0.3.63.dist-info}/top_level.txt +0 -0
malevich_coretools/utils.py
CHANGED
|
@@ -4104,6 +4104,7 @@ def create_app(
|
|
|
4104
4104
|
image_ref: Optional[str] = None,
|
|
4105
4105
|
image_auth: Optional[AUTH] = None,
|
|
4106
4106
|
image_tag: Optional[str] = None,
|
|
4107
|
+
image_sync: bool = True,
|
|
4107
4108
|
platform: str = "base",
|
|
4108
4109
|
platform_settings: Optional[str] = None,
|
|
4109
4110
|
extra_collections_from: Optional[Dict[str, Union[List[str], str]]] = None,
|
|
@@ -4128,6 +4129,7 @@ def create_app(
|
|
|
4128
4129
|
image_ref: Optional[str] = None,
|
|
4129
4130
|
image_auth: Optional[AUTH] = None,
|
|
4130
4131
|
image_tag: Optional[str] = None,
|
|
4132
|
+
image_sync: bool = True,
|
|
4131
4133
|
platform: str = "base",
|
|
4132
4134
|
platform_settings: Optional[str] = None,
|
|
4133
4135
|
extra_collections_from: Optional[Dict[str, Union[List[str], str]]] = None,
|
|
@@ -4151,6 +4153,7 @@ def create_app(
|
|
|
4151
4153
|
image_ref: Optional[str] = None,
|
|
4152
4154
|
image_auth: Optional[AUTH] = None,
|
|
4153
4155
|
image_tag: Optional[str] = None,
|
|
4156
|
+
image_sync: bool = True,
|
|
4154
4157
|
platform: str = "base",
|
|
4155
4158
|
platform_settings: Optional[str] = None,
|
|
4156
4159
|
extra_collections_from: Optional[Dict[str, Union[List[str], str]]] = None,
|
|
@@ -4176,7 +4179,7 @@ def create_app(
|
|
|
4176
4179
|
image_token = image_auth[1] if image_auth is not None else Config.TOKEN if use_system_auth else None
|
|
4177
4180
|
if Config.WITH_WARNINGS and (image_user is None or image_token is None):
|
|
4178
4181
|
Config.logger.warning("image_auth not set")
|
|
4179
|
-
json_image = JsonImage(ref=image_ref, tag=image_tag or "", user=image_user, token=image_token)
|
|
4182
|
+
json_image = JsonImage(ref=image_ref, tag=image_tag or "", user=image_user, token=image_token, syncRef=image_sync)
|
|
4180
4183
|
if extra_collections_from is not None:
|
|
4181
4184
|
for k, v in extra_collections_from.items():
|
|
4182
4185
|
if isinstance(v, str):
|
|
@@ -4210,6 +4213,7 @@ def update_app(
|
|
|
4210
4213
|
image_ref: Optional[str] = None,
|
|
4211
4214
|
image_auth: Optional[AUTH] = None,
|
|
4212
4215
|
image_tag: Optional[str] = None,
|
|
4216
|
+
image_sync: bool = True,
|
|
4213
4217
|
platform: str = "base",
|
|
4214
4218
|
platform_settings: Optional[str] = None,
|
|
4215
4219
|
extra_collections_from: Optional[Dict[str, Union[List[str], str]]] = None,
|
|
@@ -4235,6 +4239,7 @@ def update_app(
|
|
|
4235
4239
|
image_ref: Optional[str] = None,
|
|
4236
4240
|
image_auth: Optional[AUTH] = None,
|
|
4237
4241
|
image_tag: Optional[str] = None,
|
|
4242
|
+
image_sync: bool = True,
|
|
4238
4243
|
platform: str = "base",
|
|
4239
4244
|
platform_settings: Optional[str] = None,
|
|
4240
4245
|
extra_collections_from: Optional[Dict[str, Union[List[str], str]]] = None,
|
|
@@ -4259,6 +4264,7 @@ def update_app(
|
|
|
4259
4264
|
image_ref: Optional[str] = None,
|
|
4260
4265
|
image_auth: Optional[AUTH] = None,
|
|
4261
4266
|
image_tag: Optional[str] = None,
|
|
4267
|
+
image_sync: bool = True,
|
|
4262
4268
|
platform: str = "base",
|
|
4263
4269
|
platform_settings: Optional[str] = None,
|
|
4264
4270
|
extra_collections_from: Optional[Dict[str, Union[List[str], str]]] = None,
|
|
@@ -4283,7 +4289,7 @@ def update_app(
|
|
|
4283
4289
|
image_token = image_auth[1] if image_auth is not None else Config.TOKEN if use_system_auth else None
|
|
4284
4290
|
if Config.WITH_WARNINGS and (image_user is None or image_token is None):
|
|
4285
4291
|
Config.logger.warning("image_auth not set")
|
|
4286
|
-
json_image = JsonImage(ref=image_ref, tag=image_tag or "", user=image_user, token=image_token)
|
|
4292
|
+
json_image = JsonImage(ref=image_ref, tag=image_tag or "", user=image_user, token=image_token, syncRef=image_sync)
|
|
4287
4293
|
if extra_collections_from is not None:
|
|
4288
4294
|
for k, v in extra_collections_from.items():
|
|
4289
4295
|
if isinstance(v, str):
|
|
@@ -6672,6 +6678,7 @@ def get_image_info(
|
|
|
6672
6678
|
image_ref: str,
|
|
6673
6679
|
image_auth: Optional[AUTH] = None,
|
|
6674
6680
|
image_tag: Optional[str] = None,
|
|
6681
|
+
image_sync: bool = True,
|
|
6675
6682
|
parse: bool = False,
|
|
6676
6683
|
*,
|
|
6677
6684
|
use_system_auth: bool = False,
|
|
@@ -6688,6 +6695,7 @@ def get_image_info(
|
|
|
6688
6695
|
image_ref: str,
|
|
6689
6696
|
image_auth: Optional[AUTH] = None,
|
|
6690
6697
|
image_tag: Optional[str] = None,
|
|
6698
|
+
image_sync: bool = True,
|
|
6691
6699
|
parse: bool = False,
|
|
6692
6700
|
*,
|
|
6693
6701
|
use_system_auth: bool = False,
|
|
@@ -6703,6 +6711,7 @@ def get_image_info(
|
|
|
6703
6711
|
image_ref: str,
|
|
6704
6712
|
image_auth: Optional[AUTH] = None,
|
|
6705
6713
|
image_tag: Optional[str] = None,
|
|
6714
|
+
image_sync: bool = True,
|
|
6706
6715
|
parse: bool = False,
|
|
6707
6716
|
*,
|
|
6708
6717
|
use_system_auth: bool = False,
|
|
@@ -6718,7 +6727,7 @@ def get_image_info(
|
|
|
6718
6727
|
image_token = image_auth[1] if image_auth is not None else Config.TOKEN if use_system_auth else None
|
|
6719
6728
|
if Config.WITH_WARNINGS and (image_user is None or image_token is None):
|
|
6720
6729
|
Config.logger.warning("image_auth not set")
|
|
6721
|
-
data = JsonImage(ref=image_ref, tag=image_tag or "", user=image_user, token=image_token)
|
|
6730
|
+
data = JsonImage(ref=image_ref, tag=image_tag or "", user=image_user, token=image_token, syncRef=image_sync)
|
|
6722
6731
|
if batcher is not None:
|
|
6723
6732
|
return batcher.add("imageInfo", data=data, result_model=AppFunctionsInfo if parse else None)
|
|
6724
6733
|
if is_async:
|
|
@@ -6728,7 +6737,7 @@ def get_image_info(
|
|
|
6728
6737
|
|
|
6729
6738
|
@overload
|
|
6730
6739
|
def get_task_schedules(
|
|
6731
|
-
operation_id: str,
|
|
6740
|
+
operation_id: Optional[str] = None,
|
|
6732
6741
|
with_show: bool = True,
|
|
6733
6742
|
*,
|
|
6734
6743
|
auth: Optional[AUTH] = None,
|
|
@@ -6741,7 +6750,7 @@ def get_task_schedules(
|
|
|
6741
6750
|
|
|
6742
6751
|
@overload
|
|
6743
6752
|
def get_task_schedules(
|
|
6744
|
-
operation_id: str,
|
|
6753
|
+
operation_id: Optional[str] = None,
|
|
6745
6754
|
with_show: bool = True,
|
|
6746
6755
|
*,
|
|
6747
6756
|
auth: Optional[AUTH] = None,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
malevich_coretools/__init__.py,sha256=DJtPESxkCZD2SbTZTrR_x0TKDQ4MJpmBqGw5YpKYidM,134
|
|
2
|
-
malevich_coretools/utils.py,sha256=
|
|
2
|
+
malevich_coretools/utils.py,sha256=nc88BxU6gbq5ANiYt3XgRp6YzMFJpFrOWnCtdWnYUBY,276102
|
|
3
3
|
malevich_coretools/abstract/__init__.py,sha256=6vQ08c8HPYyT_pPkKlc-EwQKE8xG3HTEo2p_GiI5rik,142
|
|
4
|
-
malevich_coretools/abstract/abstract.py,sha256=
|
|
4
|
+
malevich_coretools/abstract/abstract.py,sha256=QJMMzW98agH8pYWNjLPvshXC5jK3zAEyqJ0oK4ZfZ34,17695
|
|
5
5
|
malevich_coretools/abstract/operations.py,sha256=cWlo2xzW-rzkTInzpDjBYeL68KfLYqSpZJRzCQ4OzjA,3070
|
|
6
6
|
malevich_coretools/abstract/pipeline.py,sha256=HwhYp5G9yaZYaeDypChfpNd2W-kmJQfM9I54uek0B9k,7914
|
|
7
7
|
malevich_coretools/abstract/statuses.py,sha256=9ISSw_evsylBshLXoU44TCoFOrZm4bXIxyAFFDqdUWc,333
|
|
@@ -21,8 +21,8 @@ malevich_coretools/secondary/kafka_utils.py,sha256=SIUnBFyfwsquN6MAUrEkKCw-1l797
|
|
|
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.
|
|
25
|
-
malevich_coretools-0.3.
|
|
26
|
-
malevich_coretools-0.3.
|
|
27
|
-
malevich_coretools-0.3.
|
|
28
|
-
malevich_coretools-0.3.
|
|
24
|
+
malevich_coretools-0.3.63.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
25
|
+
malevich_coretools-0.3.63.dist-info/METADATA,sha256=Rt7pUx-lQIsB7zjU8FuDZQcW6shGqijbdtaWPWIo-Co,347
|
|
26
|
+
malevich_coretools-0.3.63.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
27
|
+
malevich_coretools-0.3.63.dist-info/top_level.txt,sha256=wDX3s1Tso0otBPNrFRfXqyNpm48W4Bp5v6JfbITO2Z8,19
|
|
28
|
+
malevich_coretools-0.3.63.dist-info/RECORD,,
|
|
File without changes
|
{malevich_coretools-0.3.62.dist-info → malevich_coretools-0.3.63.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|