-
-
Notifications
You must be signed in to change notification settings - Fork 314
V1 to fast api #228
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
V1 to fast api #228
Conversation
…_ files so v1 and v2 have their own versions of 'router'.
…d to change them to work with new implementation
|
Not sure why it failed the build. Any tips on this? |
|
Hey! The tests are failing because you haven't run the formatters:
|
|
Well done, and youve tested that the endpoints work? |
|
Yep, looks to be working on my end |
ExpDev07
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.
LGTM.
|
@all-contributors please add @ibhuiyan17 for code. |
|
I've put up a pull request to add @ibhuiyan17! 🎉 |
Completed transfer of v1 to use FastAPI and passing the currently existing tests. As of this PR, it works as 2 separate routers for v1 and v2 which are imported in main.py as v1router and v2router. These are then added to APP with APP.include_router(v1router, prefix=""), etc. If you guys had a different design in mind, please let me know.