vovk 3.0.0-draft.369 → 3.0.0-draft.370
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.
|
@@ -125,7 +125,7 @@ function generatePythonCode({ handlerName, rpcName, packageName, queryValidation
|
|
|
125
125
|
}, []);
|
|
126
126
|
};
|
|
127
127
|
const pyFiles = bodyValidation ? getPyFiles(bodyValidation) : null;
|
|
128
|
-
const pyFilesArg = pyFiles?.length ? `${getIndentSpaces(4)}files=[\n${pyFiles.join('
|
|
128
|
+
const pyFilesArg = pyFiles?.length ? `${getIndentSpaces(4)}files=[\n${pyFiles.join(',\n')}\n]` : null;
|
|
129
129
|
const PY_CODE = `from ${packageName} import ${rpcName}
|
|
130
130
|
|
|
131
131
|
response = ${rpcName}.${handlerNameSnake}(${hasArg
|
|
@@ -125,7 +125,7 @@ function generatePythonCode({ handlerName, rpcName, packageName, queryValidation
|
|
|
125
125
|
}, []);
|
|
126
126
|
};
|
|
127
127
|
const pyFiles = bodyValidation ? getPyFiles(bodyValidation) : null;
|
|
128
|
-
const pyFilesArg = pyFiles?.length ? `${getIndentSpaces(4)}files=[\n${pyFiles.join('
|
|
128
|
+
const pyFilesArg = pyFiles?.length ? `${getIndentSpaces(4)}files=[\n${pyFiles.join(',\n')}\n]` : null;
|
|
129
129
|
const PY_CODE = `from ${packageName} import ${rpcName}
|
|
130
130
|
|
|
131
131
|
response = ${rpcName}.${handlerNameSnake}(${hasArg
|