Closed lancechua closed 5 months ago
] :sparkling_heart: Thanks for opening this pull request! :sparkling_heart: The PyMC community really appreciates your time and effort to contribute to the project. Please make sure you have read our Contributing Guidelines and filled in our pull request template to the best of your ability.
An alternative is var_names = trace if isinstance(trace, list) else var_names
, but that would violate the one-way-to-do-it "rule"...
Thanks @lancechua, this seems fine
] Congrats on merging your first pull request! :tada: We here at PyMC are proud of you! :sparkling_heart: Thank you so much for your contribution :gift:
Description
Sampling a partial trace was first done in #271, with the
trace
kwarg. Then, it subsequently removed in #6269 raisingDeprecationWarning
error. Partial trace was added back with thevar_names
kwarg in #7206.This PR updates the error message to reference the new
var_names
kwarg instead, astrace
may still be suggested by coding LLMs.Related Issue
Checklist
Type of change
📚 Documentation preview 📚: https://pymc--7289.org.readthedocs.build/en/7289/