Using option parameters
How to use parameters in Python script
PreviousImport xplain python package and interact with Object AnalyticsNextBuild a mini data app with streamlite package
Last updated
How to use parameters in Python script
Last updated
In Web Assembly environment, the options values can be accessed inside python code via the global dict args
. For example you have defined following options with specified value:
--vendor=vendor_0000
To access this option value inside the python code you could use args.get("vendor")
A section will be put on the state "vendor_0000".