malevich-coretools 0.3.63__tar.gz → 0.3.65__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.63/malevich_coretools.egg-info → malevich_coretools-0.3.65}/PKG-INFO +1 -1
- malevich_coretools-0.3.65/VERSION +1 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/abstract/pipeline.py +5 -2
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65/malevich_coretools.egg-info}/PKG-INFO +1 -1
- malevich_coretools-0.3.63/VERSION +0 -1
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/LICENSE +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/MANIFEST.in +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/README.md +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/__init__.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/abstract/__init__.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/abstract/abstract.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/abstract/operations.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/abstract/statuses.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/admin/__init__.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/admin/utils.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/batch/__init__.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/batch/utils.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/funcs/__init__.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/funcs/checks.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/funcs/funcs.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/funcs/helpers.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/secondary/__init__.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/secondary/config.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/secondary/const.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/secondary/helpers.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/secondary/kafka_utils.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/tools/__init__.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/tools/abstract.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/tools/vast.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/utils.py +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools.egg-info/SOURCES.txt +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools.egg-info/dependency_links.txt +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools.egg-info/requires.txt +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools.egg-info/top_level.txt +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/pyproject.toml +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/requirements.txt +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/setup.cfg +0 -0
- {malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.3.65
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/abstract/pipeline.py
RENAMED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import json
|
|
1
2
|
from enum import IntEnum
|
|
2
3
|
from typing import Dict, List, Optional, Union
|
|
3
4
|
|
|
@@ -80,7 +81,7 @@ class AlternativeArgument(BaseArgument):
|
|
|
80
81
|
|
|
81
82
|
|
|
82
83
|
class AppEntity(BaseModel):
|
|
83
|
-
cfg: Optional[
|
|
84
|
+
cfg: Optional[Union[Alias.Json, Dict]] = None # local cfg for processor/condition
|
|
84
85
|
arguments: Dict[str, AlternativeArgument] = {} # TODO or List[Argument]?
|
|
85
86
|
conditions: Optional[Union[Dict[str, bool], List[Dict[str, bool]]]] = None # condition bindId to it result (list - any variant of them)
|
|
86
87
|
conditionsStructure: Optional[Union[Not, And, Or, InternalNot, InternalAnd, InternalOr, Value]] = None # set BoolOp, it transform to internal before send
|
|
@@ -105,6 +106,8 @@ class AppEntity(BaseModel):
|
|
|
105
106
|
self.loopConditions = [self.loopConditions]
|
|
106
107
|
if isinstance(self.loopConditionsStructure, BoolOp):
|
|
107
108
|
self.loopConditionsStructure = self.loopConditionsStructure.internal()
|
|
109
|
+
if isinstance(self.cfg, Dict):
|
|
110
|
+
self.cfg = json.dumps(self.cfg)
|
|
108
111
|
|
|
109
112
|
def simplify(self) -> None:
|
|
110
113
|
if isinstance(self.conditionsStructure, InternalBoolOp):
|
|
@@ -156,7 +159,7 @@ class MainPipelineCfg(BaseModel):
|
|
|
156
159
|
conditions: Dict[str, Condition]
|
|
157
160
|
results: Dict[str, List[Result]]
|
|
158
161
|
pullCollectionPolicy: PullCollectionPolicy
|
|
159
|
-
cfg:
|
|
162
|
+
cfg: Alias.Json
|
|
160
163
|
infoUrl: Optional[str] = None
|
|
161
164
|
debugMode: bool
|
|
162
165
|
coreManage: bool
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.3.63
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/abstract/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/abstract/abstract.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/abstract/operations.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/abstract/statuses.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/admin/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/batch/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/funcs/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/secondary/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/secondary/config.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/secondary/const.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/secondary/helpers.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/secondary/kafka_utils.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/tools/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools/tools/abstract.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools.egg-info/requires.txt
RENAMED
|
File without changes
|
{malevich_coretools-0.3.63 → malevich_coretools-0.3.65}/malevich_coretools.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|