@platforma-sdk/workflow-tengo 5.4.1 → 5.4.3
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.
- package/dist/tengo/lib/pt.lib.tengo +29 -39
- package/dist/tengo/tpl/anonymize.deanonymize.plj.gz +0 -0
- package/dist/tengo/tpl/anonymize.impl.plj.gz +0 -0
- package/dist/tengo/tpl/check_network.create_workdir_from_storage.plj.gz +0 -0
- package/dist/tengo/tpl/check_network.download_blob.plj.gz +0 -0
- package/dist/tengo/tpl/check_network.run_hello_world.plj.gz +0 -0
- package/dist/tengo/tpl/check_network.run_hello_world_py.plj.gz +0 -0
- package/dist/tengo/tpl/check_network.upload_blob.plj.gz +0 -0
- package/dist/tengo/tpl/check_network.upload_template.plj.gz +0 -0
- package/dist/tengo/tpl/check_network.workdir_type_name_extractor.plj.gz +0 -0
- package/dist/tengo/tpl/exec.R.create-renv.plj.gz +0 -0
- package/dist/tengo/tpl/exec.conda.create-env.plj.gz +0 -0
- package/dist/tengo/tpl/exec.delayed-compute-allocation.impl.plj.gz +0 -0
- package/dist/tengo/tpl/exec.exec-impl.plj.gz +0 -0
- package/dist/tengo/tpl/exec.exec.plj.gz +0 -0
- package/dist/tengo/tpl/exec.load-software.impl.plj.gz +0 -0
- package/dist/tengo/tpl/exec.monetization_info.plj.gz +0 -0
- package/dist/tengo/tpl/exec.monetization_to_json.plj.gz +0 -0
- package/dist/tengo/tpl/exec.python.create-venv.plj.gz +0 -0
- package/dist/tengo/tpl/exec.python.install-deps.plj.gz +0 -0
- package/dist/tengo/tpl/exec.python.venv-bin-path.plj.gz +0 -0
- package/dist/tengo/tpl/ll.get-field.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.export-multiple-pcolumns.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.export-parquet-pcolumn-chunk.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.export-pframe-for-ui.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.export-pframe.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.export-single-pcolumn.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.import-dir.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.parse-to-json.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.process-pcolumn-data.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.remove-nulls.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.slice-data.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.xsv-export-pframe.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.xsv-import-if-not-null.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.xsv-import-map.plj.gz +0 -0
- package/dist/tengo/tpl/pt.import-dir.plj.gz +0 -0
- package/dist/tengo/tpl/pt.workflow-run.plj.gz +0 -0
- package/dist/tengo/tpl/waiter.waiter.plj.gz +0 -0
- package/dist/tengo/tpl/workdir.save.plj.gz +0 -0
- package/dist/tengo/tpl/workflow.build-ctx.plj.gz +0 -0
- package/dist/tengo/tpl/workflow.query-anchored.plj.gz +0 -0
- package/package.json +2 -2
|
@@ -320,7 +320,6 @@ workflow := func() {
|
|
|
320
320
|
anonymousDFCounter := 0
|
|
321
321
|
pcolumnCounter := 0
|
|
322
322
|
pframeCounter := 0
|
|
323
|
-
specDistillerSingleton := undefined
|
|
324
323
|
|
|
325
324
|
cpu := undefined
|
|
326
325
|
mem := undefined
|
|
@@ -710,42 +709,6 @@ workflow := func() {
|
|
|
710
709
|
outFramesSpecs[name] = specs
|
|
711
710
|
outFramesRename[name] = rename
|
|
712
711
|
},
|
|
713
|
-
_getSpecDistiller: func() {
|
|
714
|
-
if is_undefined(specDistillerSingleton) {
|
|
715
|
-
rawColumnSpecs := []
|
|
716
|
-
for _, columns in inFrames {
|
|
717
|
-
for columnId, columnInfo in columns {
|
|
718
|
-
rawColumnSpecs = append(rawColumnSpecs, columnInfo.spec)
|
|
719
|
-
}
|
|
720
|
-
}
|
|
721
|
-
specDistillerSingleton = pframesSpec.createSpecDistiller(rawColumnSpecs)
|
|
722
|
-
}
|
|
723
|
-
return specDistillerSingleton
|
|
724
|
-
},
|
|
725
|
-
_getDistilledAxesSpecs: func() {
|
|
726
|
-
specDistiller := self._getSpecDistiller()
|
|
727
|
-
canonicalMap := {}
|
|
728
|
-
distilledAxesSpecs := {}
|
|
729
|
-
for _, frame in inFrames {
|
|
730
|
-
for _, columnInfo in frame.columns {
|
|
731
|
-
for axis in columnInfo.spec.axesSpec {
|
|
732
|
-
distilledAxis := specDistiller.distill(axis)
|
|
733
|
-
if is_undefined(canonicalMap[distilledAxis.name]) {
|
|
734
|
-
canonicalMap[distilledAxis.name] = {}
|
|
735
|
-
}
|
|
736
|
-
canonicalizedAxisSpec := canonical.encode(distilledAxis)
|
|
737
|
-
if is_undefined(canonicalMap[distilledAxis.name][canonicalizedAxisSpec]) {
|
|
738
|
-
canonicalMap[distilledAxis.name][canonicalizedAxisSpec] = true
|
|
739
|
-
if is_undefined(distilledAxesSpecs[distilledAxis.name]) {
|
|
740
|
-
distilledAxesSpecs[distilledAxis.name] = []
|
|
741
|
-
}
|
|
742
|
-
distilledAxesSpecs[distilledAxis.name] = append(distilledAxesSpecs[distilledAxis.name], distilledAxis)
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
}
|
|
747
|
-
return distilledAxesSpecs
|
|
748
|
-
},
|
|
749
712
|
|
|
750
713
|
|
|
751
714
|
|
|
@@ -832,8 +795,35 @@ workflow := func() {
|
|
|
832
795
|
run: func() {
|
|
833
796
|
workflowRunTpl := assets.importTemplate("@platforma-sdk/workflow-tengo:pt.workflow-run")
|
|
834
797
|
|
|
835
|
-
|
|
836
|
-
|
|
798
|
+
rawColumnSpecs := []
|
|
799
|
+
for _, frame in inFrames {
|
|
800
|
+
for _, columnInfo in frame.columns {
|
|
801
|
+
rawColumnSpecs = append(rawColumnSpecs, columnInfo.spec)
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
specDistiller := pframesSpec.createSpecDistiller(rawColumnSpecs)
|
|
805
|
+
|
|
806
|
+
canonicalMap := {}
|
|
807
|
+
distilledAxesSpecs := {}
|
|
808
|
+
for _, frame in inFrames {
|
|
809
|
+
for _, columnInfo in frame.columns {
|
|
810
|
+
for axis in columnInfo.spec.axesSpec {
|
|
811
|
+
distilledAxis := specDistiller.distill(axis)
|
|
812
|
+
if is_undefined(canonicalMap[distilledAxis.name]) {
|
|
813
|
+
canonicalMap[distilledAxis.name] = {}
|
|
814
|
+
}
|
|
815
|
+
canonicalizedAxisSpec := canonical.encode(distilledAxis)
|
|
816
|
+
if is_undefined(canonicalMap[distilledAxis.name][canonicalizedAxisSpec]) {
|
|
817
|
+
canonicalMap[distilledAxis.name][canonicalizedAxisSpec] = true
|
|
818
|
+
if is_undefined(distilledAxesSpecs[distilledAxis.name]) {
|
|
819
|
+
distilledAxesSpecs[distilledAxis.name] = []
|
|
820
|
+
}
|
|
821
|
+
distilledAxesSpecs[distilledAxis.name] = append(distilledAxesSpecs[distilledAxis.name], distilledAxis)
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
|
|
837
827
|
ctx := {
|
|
838
828
|
specDistiller: specDistiller,
|
|
839
829
|
distilledAxesSpecs: distilledAxesSpecs
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-sdk/workflow-tengo",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.3",
|
|
4
4
|
"description": "Tengo SDK library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@milaboratories/software-pframes-conv": "2.2.9",
|
|
20
20
|
"@platforma-open/milaboratories.software-small-binaries": "^1.15.23",
|
|
21
|
-
"@platforma-open/milaboratories.software-ptabler": "1.12.
|
|
21
|
+
"@platforma-open/milaboratories.software-ptabler": "1.12.11",
|
|
22
22
|
"@platforma-open/milaboratories.software-ptexter": "1.1.1"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|