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

fix __all__ setting for submodules (#777) #780

Merged
merged 1 commit into from
Jun 29, 2018

Conversation

cpdean
Copy link
Contributor

@cpdean cpdean commented May 22, 2018

the __all__ variable in a submodule needs to be set to a list of strings instead of a list of other objects.

This PR fixes this issue so that these modules can use imports in the form of from modulename import *.

@cmcarthur cmcarthur self-requested a review June 29, 2018 17:59
Copy link
Member

@cmcarthur cmcarthur left a comment

Choose a reason for hiding this comment

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

looks great. thanks @cpdean !!

@drewbanin drewbanin added the bug Something isn't working label Jun 29, 2018
@drewbanin drewbanin merged commit d13d856 into dbt-labs:development Jun 29, 2018
@drewbanin drewbanin mentioned this pull request Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants