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

extract_data input_module kwarg accepts strings #266

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jagilley
Copy link

I think it makes sense to modify extract_data to accept strings as the canonical input_module kwarg, as it saves the user from having to instantiate their own input_module. (Especially because we have the nice input_mapping dict just a few lines earlier!) This change would default the input_module kwarg to a string, but still maintain the legacy API because of the if clause on line 78 of my fork.

@m3nu
Copy link
Collaborator

m3nu commented Aug 10, 2020

Good to merge this, but docs should be updated too.

Copy link
Collaborator

@m3nu m3nu left a comment

Choose a reason for hiding this comment

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

Examples in docs/README should be updated too.

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