Skip to content

Conversation

@ibhuiyan17
Copy link
Contributor

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.

@ibhuiyan17
Copy link
Contributor Author

Not sure why it failed the build. Any tips on this?

@ExpDev07
Copy link
Owner

Hey! The tests are failing because you haven't run the formatters:

pipenv shell
pipenv run sort
pipenv run fmt

@ExpDev07 ExpDev07 linked an issue Mar 29, 2020 that may be closed by this pull request
@ExpDev07
Copy link
Owner

Well done, and youve tested that the endpoints work?

@ibhuiyan17
Copy link
Contributor Author

Yep, looks to be working on my end

Copy link
Owner

@ExpDev07 ExpDev07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@ExpDev07 ExpDev07 merged commit 7b4044b into ExpDev07:master Mar 29, 2020
@ExpDev07
Copy link
Owner

@all-contributors please add @ibhuiyan17 for code.

@allcontributors
Copy link
Contributor

@ExpDev07

I've put up a pull request to add @ibhuiyan17! 🎉

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.

Move v1 to FastAPI

2 participants