@platforma-sdk/workflow-tengo 4.6.4 → 4.6.5
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/smart.lib.tengo +12 -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/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/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-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.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/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 +1 -1
|
@@ -135,6 +135,9 @@ isReference := func(f) {
|
|
|
135
135
|
|
|
136
136
|
_getFutureField := func(from, name, fieldType, isEph) {
|
|
137
137
|
ll.assert(isReference(from), "'from' must be either a resource or a field, got: %#v", from)
|
|
138
|
+
if is_bytes(name) {
|
|
139
|
+
name = string(name)
|
|
140
|
+
}
|
|
138
141
|
ll.assert(is_string(name) && name != "", "field name must be a non-empty string")
|
|
139
142
|
|
|
140
143
|
futureField := tx.createFutureFieldID(fieldType, name, !isEph)
|
|
@@ -590,6 +593,9 @@ resource = func(r) {
|
|
|
590
593
|
isEph = eph[0]
|
|
591
594
|
}
|
|
592
595
|
|
|
596
|
+
if is_bytes(name) {
|
|
597
|
+
name = string(name)
|
|
598
|
+
}
|
|
593
599
|
ll.assert(is_string(name) && name != "", "field name must be a non-empty string")
|
|
594
600
|
fieldId := ffDefault.getFutureFieldWithDefault(self.id, name, fieldType, isEph)
|
|
595
601
|
return field(fieldId)
|
|
@@ -1026,6 +1032,9 @@ field = func(f) {
|
|
|
1026
1032
|
isEph = eph[0]
|
|
1027
1033
|
}
|
|
1028
1034
|
|
|
1035
|
+
if is_bytes(name) {
|
|
1036
|
+
name = string(name)
|
|
1037
|
+
}
|
|
1029
1038
|
ll.assert(is_string(name) && name != "", "field name must be a non-empty string")
|
|
1030
1039
|
fieldId := ffDefault.getFutureFieldWithDefault(self.id, name, fieldType, isEph)
|
|
1031
1040
|
return field(fieldId)
|
|
@@ -1117,6 +1126,9 @@ resourceBuilder = func(r) {
|
|
|
1117
1126
|
|
|
1118
1127
|
createField: func(name, fieldType) {
|
|
1119
1128
|
assertNotBuilt()
|
|
1129
|
+
if is_bytes(name) {
|
|
1130
|
+
name = string(name)
|
|
1131
|
+
}
|
|
1120
1132
|
ll.assert(is_string(name) && name != "", "field name must be a non-empty string")
|
|
1121
1133
|
fid := ll.fieldId(super.id, name)
|
|
1122
1134
|
tx.createField(fid, fieldType)
|
|
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
|