Unable to access Stackstorm variables in python script
Open
Nobody has claimed this yet.
feature
- Dominant language
- Python
- Stars
- 6.5k
- Forks
- 787
- PR merge metrics
- No merged PRs in 30d
Description
Currently there is no way to access stackstorm variables (st2_context, etc) from within a python script.
from:
https://stackstorm-community.slack.com/archives/community/p1486447906003183
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Slack discussion linked in the issue and trace how Python scripts receive execution context. Define how variables such as st2_context should be exposed, then add the feature and tests demonstrating access to them from a script.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100