-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document using globals() in python expressions #1860
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1860 +/- ##
=======================================
Coverage 79.56% 79.56%
=======================================
Files 519 519
Lines 40763 40763
=======================================
+ Hits 32434 32435 +1
+ Misses 8329 8328 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove change to code-workspace. Add examples to procedures for INST2 with python check_expression
These functions need to use both globals() and locals() otherwise they will not work inside of functions |
I don't think so. I was able to put the call inside a method successfully. According to the eval docs, if |
|
This works:
|
It doesn't really work. |
This won't work:
|
Quality Gate passedIssues Measures |
closes #1612