-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Replace VarName with built-in str #7855
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
Conversation
|
I also attempted to address the second point re. |
|
That should check explicitly if the input is a string, instead of trying to call var.name on it |
|
Makes sense, missed that var could be str. Updated PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7855 +/- ##
=======================================
Coverage 91.47% 91.48%
=======================================
Files 116 116
Lines 18947 18946 -1
=======================================
Hits 17332 17332
+ Misses 1615 1614 -1
🚀 New features to boost your workflow:
|
afcc142 to
32445d1
Compare
|
This got forgotten but thanks @osyuksel |
Description
This change:
strget_var_nameto have it work without getattrRelated Issue
VarNamefrom codebase #7843Checklist
Type of change
📚 Documentation preview 📚: https://pymc--7855.org.readthedocs.build/en/7855/