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

Refactor Endpoints #226

Merged
merged 6 commits into from
Apr 18, 2020
Merged

Refactor Endpoints #226

merged 6 commits into from
Apr 18, 2020

Conversation

adithyabsk
Copy link
Member

@adithyabsk adithyabsk commented Apr 16, 2020

Checklist

  • Added tests for changed code.
  • Updated documentation for changed code.
  • I've added a news fragment of my changes with the name,
    "{ISSUE_NUM}.{feature|bugfix|doc|removal|misc}""

Related Issue

N/A

Description

The goal here is to move all URL construction to the endpoints file which will likely be renamed to urls.

  • Convert url collection to constants rather than functions
  • Move endpoints out of sessionmanager
  • Move robinhood.py endpoints to correct URL
  • Delete un-needed functions in robinhood.py
  • Fix broken tests

* Convert url collection to constants rather than functions
* Move endpoints out of sessionmanager
* Move robinhood.py endpoints to correct URL
* Delete un-needed functions in robinhood.py
* Fix broken tests
@adithyabsk adithyabsk changed the title Start re-factor of endpoints. Refactor of endpoints. Apr 16, 2020
@adithyabsk adithyabsk changed the title Refactor of endpoints. Refactor Endpoints Apr 16, 2020
@adithyabsk adithyabsk mentioned this pull request Apr 16, 2020
3 tasks
* Move to use simpler "/" operator rather than more verbose "with_path"
* Rename URL construction functions to "build_*"
* Apply changes to robinhood.py
* Add TODOs
@adithyabsk adithyabsk marked this pull request as ready for review April 18, 2020 04:46
@adithyabsk adithyabsk self-assigned this Apr 18, 2020
@adithyabsk adithyabsk merged commit 2691203 into master Apr 18, 2020
@adithyabsk adithyabsk deleted the refactor_urls branch April 18, 2020 05:02
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.

1 participant