Skip to content

Commit 2743c19

Browse files
authored
Correct SaveContext signature
1 parent 052e978 commit 2743c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ write ##class(isc.py.Callout).Unload()
3737

3838
Python context can be persisted into InterSystems IRIS and restored later on. There are currently three public functions:
3939

40-
- Save context: `set sc = ##class(isc.py.data.Context).SaveContext(verbose, .context)` where `verbose` specifies displaying context after saving, and `context` is a resulting Python context. Get context id with `context.%Id()`
40+
- Save context: `set sc = ##class(isc.py.data.Context).SaveContext(.context, verbose)` where `verbose` specifies displaying context after saving, and `context` is a resulting Python context. Get context id with `context.%Id()`
4141
- Display context: `do ##class(isc.py.data.Context).DisplayContext(id)` where `id` is an id of a stored context. Leave empty to display current context.
4242
- Restore context: `do ##class(isc.py.data.Context).RestoreContext(id, verbose, clear)` where `clear` kills currently loaded context if set to 1.
4343

0 commit comments

Comments
 (0)