Webapp
Variable
Variable API available from the Webapp library.
3 public methods
Import
from Xenonix.Webapp import Variable
Configuration
Use Config(...) with these keys where the class exposes configuration.
This object does not expose a public Config table.
Public methods
Create
Creates a new Variable instance.
Create(*args, **kwargs)
Arguments
| Argument |
Default |
Accepted values |
What it does |
args |
*args |
Any valid value |
Additional values passed to the operation. |
kwargs |
**kwargs |
Any valid value |
Additional values passed to the operation. |
Output
Creates a new Variable object.
Get
Runs the Get operation for Variable.
Get()
Arguments
No arguments.
Output
Returns the calculated result.
Set
Runs the Set operation for Variable.
Set(Value)
Arguments
| Argument |
Default |
Accepted values |
What it does |
Value |
Required |
Any valid value |
Value to set or process. |
Output
Runs the operation. Some methods update the object in place.