Skip to content

Address a refactoring concern from #54 #55

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

Merged
merged 2 commits into from
Jul 21, 2016
Merged

Address a refactoring concern from #54 #55

merged 2 commits into from
Jul 21, 2016

Conversation

graysonarts
Copy link
Contributor

More readable by extracting a couple of methods and reorganizing the code a little.

return FieldDictionary({k: v for k, v in column_objects})
column_field_objects = self._get_column_objects()
existing_column_fields = [x.id for x in column_field_objects]
metadata_field_objects = (x for x in self._get_metadata_objects() if x.id not in existing_column_fields)
Copy link
Contributor

Choose a reason for hiding this comment

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

metadata_only_field_objects -- or some hint that we have to find these a different way

@t8y8
Copy link
Contributor

t8y8 commented Jul 21, 2016

How do I make the rocket emoji? (rocket)

@graysonarts
Copy link
Contributor Author

:rocket: I'll rename the variable to metadata_only_field_objects

@t8y8
Copy link
Contributor

t8y8 commented Jul 21, 2016

🚀

@graysonarts graysonarts merged commit f8206b9 into tableau:development Jul 21, 2016
@graysonarts graysonarts deleted the code-cleanup branch July 26, 2016 18:18
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy