malevich-coretools 0.3.16__tar.gz → 0.3.17__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.16/malevich_coretools.egg-info → malevich_coretools-0.3.17}/PKG-INFO +1 -1
- malevich_coretools-0.3.17/VERSION +1 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/abstract/pipeline.py +8 -3
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17/malevich_coretools.egg-info}/PKG-INFO +1 -1
- malevich_coretools-0.3.16/VERSION +0 -1
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/LICENSE +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/MANIFEST.in +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/README.md +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/__init__.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/abstract/__init__.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/abstract/abstract.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/abstract/statuses.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/admin/__init__.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/admin/utils.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/batch/__init__.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/batch/utils.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/funcs/__init__.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/funcs/checks.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/funcs/funcs.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/funcs/helpers.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/secondary/__init__.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/secondary/config.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/secondary/const.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/secondary/helpers.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/secondary/kafka_utils.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/tools/__init__.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/tools/abstract.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/tools/vast.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/utils.py +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools.egg-info/SOURCES.txt +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools.egg-info/dependency_links.txt +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools.egg-info/requires.txt +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools.egg-info/top_level.txt +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/pyproject.toml +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/requirements.txt +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/setup.cfg +0 -0
- {malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.3.17
|
{malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/abstract/pipeline.py
RENAMED
|
@@ -32,7 +32,8 @@ class BaseArgument(BaseModel):
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
class Argument(BaseArgument):
|
|
35
|
-
group: Optional[List[BaseArgument]] = None
|
|
35
|
+
group: Optional[List[BaseArgument]] = None # for constructed dfs, sink
|
|
36
|
+
conditions: Optional[Dict[str, bool]] = None # valid only for alternative, bindConditionId -> value, must be specified explicitly, then it will be derived from the pipeline structure
|
|
36
37
|
|
|
37
38
|
def validation(self) -> None:
|
|
38
39
|
if self.group is not None:
|
|
@@ -43,12 +44,16 @@ class Argument(BaseArgument):
|
|
|
43
44
|
assert (self.id is not None) + (self.collectionName is not None) + (self.collectionId is not None) == 1, "one way of constructing the argument must be chosen"
|
|
44
45
|
|
|
45
46
|
|
|
47
|
+
class AlternativeArgument(Argument):
|
|
48
|
+
alternative: Optional[List[Argument]] = None # if set - should be only one valid argument with conditions
|
|
49
|
+
|
|
50
|
+
|
|
46
51
|
class AppEntity(BaseModel):
|
|
47
52
|
cfg: Optional[str] = None # local cfg for processor/condition
|
|
48
|
-
arguments: Dict[str,
|
|
53
|
+
arguments: Dict[str, AlternativeArgument] = {} # TODO or List[Argument]?
|
|
49
54
|
conditions: Optional[Dict[str, bool]] = None # condition bindId to it result
|
|
50
55
|
|
|
51
|
-
loopArguments: Optional[Dict[str,
|
|
56
|
+
loopArguments: Optional[Dict[str, AlternativeArgument]] = None # other calls, TODO or List[Argument]?, problems
|
|
52
57
|
loopConditions: Optional[Dict[str, bool]] = None # condition bindId to it result for loop
|
|
53
58
|
|
|
54
59
|
image: JsonImage
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.3.16
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/abstract/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/abstract/abstract.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/abstract/statuses.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/admin/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/batch/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/funcs/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/secondary/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/secondary/config.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/secondary/const.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/secondary/helpers.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/secondary/kafka_utils.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/tools/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools/tools/abstract.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools.egg-info/requires.txt
RENAMED
|
File without changes
|
{malevich_coretools-0.3.16 → malevich_coretools-0.3.17}/malevich_coretools.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|