From 3b8997003cae6975ca70dbfa15fb3e8e49205beb Mon Sep 17 00:00:00 2001 From: Samuele Facenda Date: Thu, 29 Sep 2022 17:34:16 +0200 Subject: [PATCH] Operation added to categories file --- src/core/config/Categories.json | 3 ++- src/core/operations/ToPythonString.mjs | 15 +-------------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/src/core/config/Categories.json b/src/core/config/Categories.json index 8ac60048..49d3db09 100644 --- a/src/core/config/Categories.json +++ b/src/core/config/Categories.json @@ -65,7 +65,8 @@ "JSON to CSV", "Avro to JSON", "CBOR Encode", - "CBOR Decode" + "CBOR Decode", + "To Python String" ] }, { diff --git a/src/core/operations/ToPythonString.mjs b/src/core/operations/ToPythonString.mjs index 4cf143f0..6e5758b2 100644 --- a/src/core/operations/ToPythonString.mjs +++ b/src/core/operations/ToPythonString.mjs @@ -24,20 +24,7 @@ class ToPythonString extends Operation { this.infoURL = ""; this.inputType = "byteArray"; this.outputType = "string"; - this.args = [ - /* Example arguments. See the project wiki for full details. - { - name: "First arg", - type: "string", - value: "Don't Panic" - }, - { - name: "Second arg", - type: "number", - value: 42 - } - */ - ]; + this.args = []; } /**