-
Notifications
You must be signed in to change notification settings - Fork 0
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
Send USGS Data to Kafka #7
Conversation
601a4c2
to
8e78ab0
Compare
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.
Good start! made some suggestions to move forward.
In retrospect, I might've overthought the problem a bit lmao. Let me know what you think! |
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.
Let's start by designing the classes you need, and how they relate. I've suggested a link where you can read about SOLID then we can get together and discuss your design.
6def6bf
to
91b1139
Compare
I added a commit to modernize this package. You’ll have to recreate your Python environment to use Python 3.12, run |
4ddd0d0
to
fb363d5
Compare
- Use ruff for linting - Update tox.ini and pyproject.toml configurations - Update .pre-commit-config.yaml - Update Makefile - Update dependencies, use requirements/dev.in and requirements/main.in instead - Update github actions make udpdate
0bd8dd8
to
8a5f7d3
Compare
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.
This is looking much better, I think next step is to implement the post()
method in the BackpackDispatcher
class.
Great job getting the linter passing, hope it was instructive to get over the errors and fix them.
See my comment regarding the deprecation of datetime.utcnow()
in Python 3.12.
58b2824
to
a035567
Compare
a035567
to
936a429
Compare
c9b01c5
to
bf941e5
Compare
I noticed a few inconsistencies between the docstrings and code. |
- Move CLI docs to the user guide section - Remove API for now - Add Python API reference to the Development section - Remove non-public APIs from the published documentation - Fix Docstrings
d805b89
to
61bc443
Compare
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 reviewed sasquatch.py and made some comments regarding error handling and still some issues with docstrings.
Let's iterate on that first, let me know if you have any question.
09ce666
to
4870dde
Compare
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've reviewed sources.py
let's iterate on that.
I'll add a review to cli.py
soon.
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've made a few suggestions to improve code readability and avoid interactive prompts in the CLI.
abc3263
to
30e5a96
Compare
No description provided.