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 fd90039 commit df3949aCopy full SHA for df3949a
docs/source/usage.rst
@@ -111,11 +111,10 @@ We can also statically configure values for use by the guest:
111
:linenos:
112
:lineno-start: 15
113
114
- with extism.Plugin(manifest, wasi=True) as plugin:
+ with extism.Plugin(manifest, wasi=True, config = {'vowels': 'h'}) as plugin:
115
print(plugin.call(
116
"count_vowels",
117
"hello world",
118
- config = {'vowels': 'h'}
119
parse = lambda output: json.loads(
120
bytes(output).decode('utf-8')
121
)
0 commit comments