malevich-coretools 0.3.28__tar.gz → 0.3.30__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.28/malevich_coretools.egg-info → malevich_coretools-0.3.30}/PKG-INFO +1 -1
- malevich_coretools-0.3.30/VERSION +1 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/abstract/abstract.py +6 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/abstract/pipeline.py +20 -4
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30/malevich_coretools.egg-info}/PKG-INFO +1 -1
- malevich_coretools-0.3.28/VERSION +0 -1
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/LICENSE +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/MANIFEST.in +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/README.md +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/__init__.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/abstract/__init__.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/abstract/statuses.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/admin/__init__.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/admin/utils.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/batch/__init__.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/batch/utils.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/funcs/__init__.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/funcs/checks.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/funcs/funcs.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/funcs/helpers.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/secondary/__init__.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/secondary/config.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/secondary/const.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/secondary/helpers.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/secondary/kafka_utils.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/tools/__init__.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/tools/abstract.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/tools/vast.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/utils.py +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools.egg-info/SOURCES.txt +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools.egg-info/dependency_links.txt +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools.egg-info/requires.txt +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools.egg-info/top_level.txt +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/pyproject.toml +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/requirements.txt +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/setup.cfg +0 -0
- {malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.3.30
|
{malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/abstract/abstract.py
RENAMED
|
@@ -373,11 +373,17 @@ class AppLog(BaseModel):
|
|
|
373
373
|
data: List[LogsResult]
|
|
374
374
|
|
|
375
375
|
|
|
376
|
+
class PipelineInfo(BaseModel):
|
|
377
|
+
conditions: Dict[str, Dict[int, bool]] # condition bindId -> iteration -> value
|
|
378
|
+
fails: Dict[str, List[int]] # bindId -> fail iterations (1 in common situation)
|
|
379
|
+
|
|
380
|
+
|
|
376
381
|
class AppLogs(BaseModel):
|
|
377
382
|
operationId: Alias.Id
|
|
378
383
|
dagLogs: str = ""
|
|
379
384
|
data: Dict[str, AppLog] = {}
|
|
380
385
|
error: Optional[str] = None
|
|
386
|
+
pipeline: Optional[PipelineInfo] = None # only for pipeline
|
|
381
387
|
|
|
382
388
|
|
|
383
389
|
class AppLogsWithResults(AppLogs):
|
{malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/abstract/pipeline.py
RENAMED
|
@@ -33,7 +33,7 @@ class BaseArgument(BaseModel):
|
|
|
33
33
|
|
|
34
34
|
class Argument(BaseArgument):
|
|
35
35
|
group: Optional[List[BaseArgument]] = None # for constructed dfs, sink
|
|
36
|
-
|
|
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
|
|
37
37
|
|
|
38
38
|
def validation(self) -> None:
|
|
39
39
|
if self.group is not None:
|
|
@@ -44,9 +44,25 @@ class Argument(BaseArgument):
|
|
|
44
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"
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
class AlternativeArgument(
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
class AlternativeArgument(BaseArgument):
|
|
48
|
+
group: Optional[List[BaseArgument]] = None # for constructed dfs, sink
|
|
49
|
+
alternative: Optional[List[Argument]] = None # if set - should be only one valid argument with conditions
|
|
50
|
+
|
|
51
|
+
def validation(self) -> None:
|
|
52
|
+
if self.group is not None:
|
|
53
|
+
assert self.id is None and self.collectionName is None and self.collectionId is None, "one way of constructing the argument must be chosen"
|
|
54
|
+
for subarg in self.group:
|
|
55
|
+
subarg.validation()
|
|
56
|
+
elif self.alternative is not None:
|
|
57
|
+
for alt_arg in self.alternative:
|
|
58
|
+
if alt_arg.group is not None:
|
|
59
|
+
assert alt_arg.id is None and alt_arg.collectionName is None and alt_arg.collectionId is None, "one way of constructing the argument must be chosen"
|
|
60
|
+
for subarg in alt_arg.group:
|
|
61
|
+
subarg.validation()
|
|
62
|
+
else:
|
|
63
|
+
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"
|
|
64
|
+
else:
|
|
65
|
+
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"
|
|
50
66
|
|
|
51
67
|
|
|
52
68
|
class AppEntity(BaseModel):
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.3.28
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/abstract/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/abstract/statuses.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/admin/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/batch/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/funcs/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/secondary/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/secondary/config.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/secondary/const.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/secondary/helpers.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/secondary/kafka_utils.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/tools/__init__.py
RENAMED
|
File without changes
|
{malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools/tools/abstract.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools.egg-info/requires.txt
RENAMED
|
File without changes
|
{malevich_coretools-0.3.28 → malevich_coretools-0.3.30}/malevich_coretools.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|