@platforma-sdk/workflow-tengo 2.15.3 → 2.15.4
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/pframes.lib.tengo +38 -5
- package/dist/tengo/tpl/exec.R.create-renv.plj.gz +0 -0
- package/dist/tengo/tpl/exec.exec.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/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-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.process-pcolumn-data.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.remove-nulls.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/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/package.json +1 -1
|
@@ -447,14 +447,13 @@ processColumn := func(input, bodyTpl, outputs, ...opts) {
|
|
|
447
447
|
|
|
448
448
|
|
|
449
449
|
|
|
450
|
-
|
|
450
|
+
|
|
451
|
+
addAllOutputsToBuilder: func(builder, ...separator) {
|
|
451
452
|
sep := "."
|
|
452
|
-
if len(
|
|
453
|
-
sep =
|
|
453
|
+
if len(separator) > 0 {
|
|
454
|
+
sep = separator[0]
|
|
454
455
|
}
|
|
455
456
|
|
|
456
|
-
builder := builder.pFrameBuilder()
|
|
457
|
-
|
|
458
457
|
for name, output in outputsMap {
|
|
459
458
|
if output.type == "Xsv" {
|
|
460
459
|
|
|
@@ -475,6 +474,18 @@ processColumn := func(input, bodyTpl, outputs, ...opts) {
|
|
|
475
474
|
}
|
|
476
475
|
}
|
|
477
476
|
|
|
477
|
+
return builder
|
|
478
|
+
},
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
allOutputsFrame: func(...xsvNameSeparator) {
|
|
487
|
+
builder := builder.pFrameBuilder()
|
|
488
|
+
self.addAllOutputsToBuilder(builder, xsvNameSeparator...)
|
|
478
489
|
return builder.build()
|
|
479
490
|
},
|
|
480
491
|
|
|
@@ -525,7 +536,29 @@ processColumn := func(input, bodyTpl, outputs, ...opts) {
|
|
|
525
536
|
columns = append(columns, columnName)
|
|
526
537
|
}
|
|
527
538
|
return slices.quickSort(columns)
|
|
539
|
+
},
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
addXsvOutputToBuilder: func(builder, outputName, prefix) {
|
|
550
|
+
for columnName in self.listXsvColumns(outputName) {
|
|
551
|
+
builder.add(
|
|
552
|
+
prefix + columnName,
|
|
553
|
+
self.outputSpec(outputName, columnName),
|
|
554
|
+
self.outputData(outputName, columnName)
|
|
555
|
+
)
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
return builder
|
|
528
559
|
}
|
|
560
|
+
|
|
561
|
+
|
|
529
562
|
})
|
|
530
563
|
|
|
531
564
|
return self
|
|
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
|