Better interface for handling variables in Python scripts #14
Labels
No labels
architecture
authentication
backend
bug
ci/cd
cleanup
documentation
duplicate
enhancement
good first issue
help wanted
in progress
invalid
media
mobile
new feature
packaging
question
ui
voice
waiting user input
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: platypush/platypush#14
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Platform variables are currently managed through the
variable
plugin. While the use of the plugin is very "Platypush-onic" (.get
and.set
methods are exposed as plugin actions) and provides an interface that is easy to use in the context of YAML procedures and hooks, it makes the variable handling process in Python scripts quite cumbersome. For example:We should instead provide a more Pythonic interface to hide the internals of the
variable
plugin: