Skip to content
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

Change default_*_config from @property to @staticmethod #235

Merged
merged 2 commits into from
Sep 1, 2023

Conversation

pdb5627
Copy link
Contributor

@pdb5627 pdb5627 commented Aug 25, 2023

Fixes #225. Since the method changed from a property to a method, it was renamed from a noun to a verb. Both default_model_config and default_sampler_config were changed.

Fixes pymc-devs#225. Since the method changed from a property to
a method, it was renamed from a noun to a verb. Both
`default_model_config` and `default_sampler_config` were
changed.
@michaelraczycki
Copy link
Collaborator

@pdb5627 why did you decide to go with class method over static?

@pdb5627
Copy link
Contributor Author

pdb5627 commented Aug 30, 2023

@pdb5627 why did you decide to go with class method over static?

@michaelraczycki By mistake! I'll edit the PR to change it from classmethod to staticmethod.

Copy link
Collaborator

@michaelraczycki michaelraczycki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thank you @pdb5627 for your contributions!

@twiecki twiecki merged commit 4500708 into pymc-devs:main Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

change default_model_config form @property to @staticmethod
3 participants