We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1aff94e commit 92d15c7Copy full SHA for 92d15c7
packages/core/typescript/itk-wasm/src/bindgen/python/wasi/wasi-function-module.js
@@ -201,8 +201,8 @@ from itkwasm import (
201
} else {
202
if (parameter.type.startsWith('TEXT:{')) {
203
const choices = parameter.type.split('{')[1].split('}')[0].split(',')
204
- args += ` if ${snake} not in (${choices.map((c) => `'${c}'`).join(',')}):\n`
205
- args += ` raise ValueError(f'${snake} must be one of ${choices.join(', ')}')\n`
+ args += ` if ${snake} not in (${choices.map((c) => `'${c}'`).join(',')}):\n`
+ args += ` raise ValueError(f'${snake} must be one of ${choices.join(', ')}')\n`
206
}
207
args += ` args.append(str(value))\n`
208
0 commit comments