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

Refactoring #7

Closed
wants to merge 21 commits into from
Closed

Refactoring #7

wants to merge 21 commits into from

Conversation

hanpeter
Copy link
Contributor

@hanpeter hanpeter commented Sep 23, 2016

What does this PR do?

This PR refactors following parts of the library:

  1. The logging is now done with logging modules.
  2. The methods leading up to and following request call are cleaned up.
  3. The credentials are no longer required for every call.
  4. The authentication token is refreshed whenever needed.
  5. Docstrings are cleaned up.
  6. cli.py is added to provide a quick and dirty way to test the calls.
  7. 'DateTime` library is removed from the requirements as it is no longer needed.

Where should the reviewer start?

catchpoint.py

How was this tested? How can the reviewer verify your testing?

The change was manually tested on development environment using cli.py.

NOTE:

  • The docstring for _format_time() is not updated and sticks out like a sore thumb. I am planning to update that method to be more robust, but haven't come up with a perfect way yet.

@hanpeter
Copy link
Contributor Author

hanpeter commented Oct 1, 2016

@jasonarewhy Any way I can speed up the review process to get this PR merged?

@amanuensis
Copy link

This was actually really good thanks I was able to use this a personal project.

@hanpeter hanpeter closed this Apr 14, 2021
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