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 universe column relationship #329

Merged
merged 4 commits into from
Sep 27, 2017
Merged

Conversation

javitonino
Copy link

Closes #326

Remove all reference to universe

Copy link
Contributor

@antoniocarlon antoniocarlon left a comment

Choose a reason for hiding this comment

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

We could also remove the universe relation type from the catalog (column.html:100)

@@ -144,12 +143,10 @@ def columns(self):

return cols

def get_targets(self, cols, denominators, universes):
def get_targets(self, cols, denominators):
targets_dict = {}
if denominators:
targets_dict = self.get_relation_targets(cols, denominators, DENOMINATOR)
Copy link
Contributor

Choose a reason for hiding this comment

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

get_relation_targets was useful when we had both denominators and universes. Since we only have denominators now, we may consider removing the method

Copy link
Contributor

@antoniocarlon antoniocarlon left a comment

Choose a reason for hiding this comment

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

LGTM

@javitonino
Copy link
Author

javitonino commented Sep 27, 2017

Merged master due to luigi upgrade.

@antoniocarlon antoniocarlon merged commit d361a3b into master Sep 27, 2017
@antoniocarlon antoniocarlon deleted the 326-remove_universe branch September 27, 2017 13:11
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.

2 participants