-
Notifications
You must be signed in to change notification settings - Fork 28
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
Cleanup #65
Cleanup #65
Conversation
Thanks. A few questions:
|
Thanks for your remarks! I had to investigate a bit for the For the additional formatting:
|
pygbif/occurrences/download.py
Outdated
import datetime | ||
from requests import auth | ||
import requests | ||
import pygbif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import pygbif
? I've not seen this in a python package before, importing the package that you're already in? curious what does that do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I don't like it much neither. I think a good explanation lies there: https://stackoverflow.com/questions/42862042/in-python-how-to-import-from-the-init-py-in-the-same-directory
I'll try to rearrange things a bit further so we don't need to import from init.py.
Makes sense on the imports - had another question above about importing pygbif.^ |
thanks! |
Description
Some minor cleanup.