malevich-coretools 0.3.47__tar.gz → 0.3.49__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.47/malevich_coretools.egg-info → malevich_coretools-0.3.49}/PKG-INFO +1 -1
- malevich_coretools-0.3.49/VERSION +1 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/abstract/abstract.py +4 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/utils.py +6 -3
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49/malevich_coretools.egg-info}/PKG-INFO +1 -1
- malevich_coretools-0.3.47/VERSION +0 -1
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/LICENSE +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/MANIFEST.in +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/README.md +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/__init__.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/abstract/__init__.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/abstract/operations.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/abstract/pipeline.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/abstract/statuses.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/admin/__init__.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/admin/utils.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/batch/__init__.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/batch/utils.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/funcs/__init__.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/funcs/checks.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/funcs/funcs.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/funcs/helpers.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/secondary/__init__.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/secondary/config.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/secondary/const.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/secondary/helpers.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/secondary/kafka_utils.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/tools/__init__.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/tools/abstract.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/tools/vast.py +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools.egg-info/SOURCES.txt +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools.egg-info/dependency_links.txt +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools.egg-info/requires.txt +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools.egg-info/top_level.txt +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/pyproject.toml +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/requirements.txt +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/setup.cfg +0 -0
- {malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.3.49
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/abstract/abstract.py
RENAMED
|
@@ -98,6 +98,7 @@ class User(BaseModel):
|
|
|
98
98
|
|
|
99
99
|
class JsonImage(BaseModel):
|
|
100
100
|
ref: str
|
|
101
|
+
tag: str = ""
|
|
101
102
|
user: Optional[str] = None
|
|
102
103
|
token: Optional[str] = None
|
|
103
104
|
|
|
@@ -435,6 +436,7 @@ class FunctionInfo(BaseModel):
|
|
|
435
436
|
arguments: List[Tuple[str, Optional[str]]]
|
|
436
437
|
finishMsg: Optional[str] = None
|
|
437
438
|
doc: Optional[str] = None
|
|
439
|
+
cpuBound: bool
|
|
438
440
|
tags: Optional[Dict[str, str]] = None
|
|
439
441
|
|
|
440
442
|
|
|
@@ -446,6 +448,7 @@ class InputFunctionInfo(FunctionInfo):
|
|
|
446
448
|
|
|
447
449
|
|
|
448
450
|
class ProcessorFunctionInfo(FunctionInfo):
|
|
451
|
+
isStream: bool
|
|
449
452
|
contextClass: Optional[Dict[str, Any]] = None # model_json_schema
|
|
450
453
|
|
|
451
454
|
|
|
@@ -464,6 +467,7 @@ class InitInfo(BaseModel):
|
|
|
464
467
|
prepare: bool
|
|
465
468
|
argname: Optional[str] = None
|
|
466
469
|
doc: Optional[str] = None
|
|
470
|
+
cpuBound: bool
|
|
467
471
|
tags: Optional[Dict[str, str]] = None
|
|
468
472
|
|
|
469
473
|
|
|
@@ -1965,6 +1965,7 @@ def create_app(
|
|
|
1965
1965
|
app_cfg: Optional[Union[Dict[str, Any], Alias.Json]] = None,
|
|
1966
1966
|
image_ref: Optional[str] = None,
|
|
1967
1967
|
image_auth: Optional[AUTH] = None,
|
|
1968
|
+
image_tag: Optional[str] = None,
|
|
1968
1969
|
platform: str = "base",
|
|
1969
1970
|
platform_settings: Optional[str] = None,
|
|
1970
1971
|
extra_collections_from: Optional[Dict[str, Union[List[str], str]]] = None,
|
|
@@ -1990,7 +1991,7 @@ def create_app(
|
|
|
1990
1991
|
image_token = image_auth[1] if image_auth is not None else Config.TOKEN if use_system_auth else None
|
|
1991
1992
|
if Config.WITH_WARNINGS and (image_user is None or image_token is None):
|
|
1992
1993
|
Config.logger.warning("image_auth not set")
|
|
1993
|
-
json_image = JsonImage(ref=image_ref, user=image_user, token=image_token)
|
|
1994
|
+
json_image = JsonImage(ref=image_ref, tag=image_tag or "", user=image_user, token=image_token)
|
|
1994
1995
|
if extra_collections_from is not None:
|
|
1995
1996
|
for k, v in extra_collections_from.items():
|
|
1996
1997
|
if isinstance(v, str):
|
|
@@ -2022,6 +2023,7 @@ def update_app(
|
|
|
2022
2023
|
app_cfg: Optional[Union[Dict[str, Any], Alias.Json]] = None,
|
|
2023
2024
|
image_ref: Optional[str] = None,
|
|
2024
2025
|
image_auth: Optional[AUTH] = None,
|
|
2026
|
+
image_tag: Optional[str] = None,
|
|
2025
2027
|
platform: str = "base",
|
|
2026
2028
|
platform_settings: Optional[str] = None,
|
|
2027
2029
|
extra_collections_from: Optional[Dict[str, Union[List[str], str]]] = None,
|
|
@@ -2046,7 +2048,7 @@ def update_app(
|
|
|
2046
2048
|
image_token = image_auth[1] if image_auth is not None else Config.TOKEN if use_system_auth else None
|
|
2047
2049
|
if Config.WITH_WARNINGS and (image_user is None or image_token is None):
|
|
2048
2050
|
Config.logger.warning("image_auth not set")
|
|
2049
|
-
json_image = JsonImage(ref=image_ref, user=image_user, token=image_token)
|
|
2051
|
+
json_image = JsonImage(ref=image_ref, tag=image_tag or "", user=image_user, token=image_token)
|
|
2050
2052
|
if extra_collections_from is not None:
|
|
2051
2053
|
for k, v in extra_collections_from.items():
|
|
2052
2054
|
if isinstance(v, str):
|
|
@@ -3106,6 +3108,7 @@ def get_app_info_by_real_id(
|
|
|
3106
3108
|
def get_image_info(
|
|
3107
3109
|
image_ref: str,
|
|
3108
3110
|
image_auth: Optional[AUTH] = None,
|
|
3111
|
+
image_tag: Optional[str] = None,
|
|
3109
3112
|
parse: bool = False,
|
|
3110
3113
|
*,
|
|
3111
3114
|
use_system_auth: bool = False,
|
|
@@ -3121,7 +3124,7 @@ def get_image_info(
|
|
|
3121
3124
|
image_token = image_auth[1] if image_auth is not None else Config.TOKEN if use_system_auth else None
|
|
3122
3125
|
if Config.WITH_WARNINGS and (image_user is None or image_token is None):
|
|
3123
3126
|
Config.logger.warning("image_auth not set")
|
|
3124
|
-
data = JsonImage(ref=image_ref, user=image_user, token=image_token)
|
|
3127
|
+
data = JsonImage(ref=image_ref, tag=image_tag or "", user=image_user, token=image_token)
|
|
3125
3128
|
if batcher is not None:
|
|
3126
3129
|
return batcher.add("imageInfo", data=data, result_model=AppFunctionsInfo if parse else None)
|
|
3127
3130
|
if is_async:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.3.47
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/abstract/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/abstract/operations.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/abstract/pipeline.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/abstract/statuses.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/admin/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/batch/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/funcs/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/secondary/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/secondary/config.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/secondary/const.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/secondary/helpers.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/secondary/kafka_utils.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/tools/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools/tools/abstract.py
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools.egg-info/requires.txt
RENAMED
|
File without changes
|
{malevich_coretools-0.3.47 → malevich_coretools-0.3.49}/malevich_coretools.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|