Skip to content

Commit df3949a

Browse files
author
Chris Dickinson
committed
docs: fix config example
1 parent fd90039 commit df3949a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/source/usage.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,10 @@ We can also statically configure values for use by the guest:
111111
:linenos:
112112
:lineno-start: 15
113113

114-
with extism.Plugin(manifest, wasi=True) as plugin:
114+
with extism.Plugin(manifest, wasi=True, config = {'vowels': 'h'}) as plugin:
115115
print(plugin.call(
116116
"count_vowels",
117117
"hello world",
118-
config = {'vowels': 'h'}
119118
parse = lambda output: json.loads(
120119
bytes(output).decode('utf-8')
121120
)

0 commit comments

Comments
 (0)