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

Remove unused powerset function. #3467

Closed
wants to merge 1 commit into from

Conversation

rpgoldman
Copy link
Contributor

This function was rendered unnecessary by the revision of the _get_ancestors() method.

This function was rendered unnecessary by the revision of the _get_ancestors() method.
@@ -35,10 +34,10 @@ def _get_ancestors(self, var, func) -> MutableSet[RV]:
"""

# this contains all of the variables in the model EXCEPT var...
vars = set(self.var_list)
vars: MutableSet[RV] = set(self.var_list)
Copy link
Member

Choose a reason for hiding this comment

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

Via #3466 i think we're staying away from variable annotations for now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ColCarroll Oh, OK. Sorry to hear that. I use them extensively, and find them quite helpful. May we use them in the comment form?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, their fine in comment form. But variable annotations are not supported by python 3.5 and we want to keep a tight integration with Arviz, which has to support python 3.5.

@lucianopaz
Copy link
Contributor

Hi @rpgoldman, thanks for the PR again, but I noticed this when I did #3466 earlier today so the PowerSet is already removed

@lucianopaz lucianopaz closed this May 6, 2019
@rpgoldman rpgoldman deleted the remove_powerset branch May 6, 2019 17:44
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.

3 participants