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 instance dispatcher #114

Merged
merged 1 commit into from
Nov 25, 2020
Merged

remove instance dispatcher #114

merged 1 commit into from
Nov 25, 2020

Conversation

mattijn
Copy link
Owner

@mattijn mattijn commented Nov 25, 2020

This PR removes the instance dispatcher in the Extract.py. It annoyed me that it had to import the modules to check an isinstance against. Especially the optional large ones such as geopandas.

Now, the dispatcher contains multiple if-else statements for the different type of inputs. Less fancy, but code becomes more readable as well.

@mattijn mattijn merged commit f6e8601 into master Nov 25, 2020
@mattijn mattijn deleted the remove-dispatcher branch November 25, 2020 21: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.

None yet

1 participant