Functions
update_output_fields(fields)
Propagate state changes back to the associated extension instance in the Controller.
...
Note |
---|
This method is equivalent to the update_extension_status method from the UniversalExtension Class with the added functionality that it can be used from external modules. |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
>>> from universal_extension import ui |
...
>>> fields = {"foo": "bar"} |
...
>>> ui.update_output_fields(fields) |
update_progress(percent_done)
Propagate execution progress back to the associated extension instance in the Controller.
- Can be called at any time by an Extension instance.
Parameters
percent_done : int
an integer value specifying the execution progress (in percent). The value must be in range [0..100].
Returns
None
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
>>> from universal_extension import ui
>>> ui.update_progress(75) # Extension is 75% complete |