-
-
Notifications
You must be signed in to change notification settings - Fork 314
Source NYT #259
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
Source NYT #259
Conversation
updating forked version
Source nyt
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.
I realize it's still WIP.
The ci failure is due to some pylint warnings and formatting issues.
The formatting can be applied by running invoke fmt
Here are the pylint warnings.
************* Module app.services.location.nyt
app/services/location/nyt.py:36:0: C0116: Missing function or method docstring (missing-function-docstring)
app/services/location/nyt.py:36:23: W0613: Unused argument 'category' (unused-argument)
app/services/location/nyt.py:48:4: W0107: Unnecessary pass statement (unnecessary-pass)
app/services/location/nyt.py:54:-1: W0105: String statement has no effect (pointless-string-statement)
app/services/location/nyt.py:2:0: W0611: Unused import csv (unused-import)
app/services/location/nyt.py:3:0: W0611: Unused datetime imported from datetime (unused-import)
app/services/location/nyt.py:8:0: W0611: Unused httputils imported from utils (unused-import)
-----------------------------------
Your code has been rated at 9.77/10|
Yep, still a work in progress, but thanks for pointing this out! |
|
There were a few things we wanted to check in with you guys. Output for NYT: Testing: |
Kilo59
left a comment
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.
@ibhuiyan17 @nischalshankar Looks good!
I think nulling the coordinates values is a good approach for the initial implementation.
No reason to hold back using this source just because of that.
Just have a couple of minor points that I commented on below.
|
Just finished resolving the points you commented on. Please let me know if there's anything else, thanks! |
|
@all-contributors please add @nischalshankar for code, docs |
|
I've put up a pull request to add @nischalshankar! 🎉 |
|
@all-contributors please add @ibhuiyan17 for docs |
|
I've put up a pull request to add @ibhuiyan17! 🎉 |
PR for adding the New York Times timeseries as a source, mentioned in #224
todo
** removed "Working v1 endpoints" from todo since current implementation of v1 doesn't support different sources