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

Reorg and renaming #29

Merged
merged 5 commits into from
May 8, 2023
Merged

Reorg and renaming #29

merged 5 commits into from
May 8, 2023

Conversation

prrao87
Copy link
Owner

@prrao87 prrao87 commented May 8, 2023

Updates

  • It's easier to keep the name of the routers as router in all the files that we add new routes in
  • We can just import from api.routers import xxxx in main.py within the FastAPI app and just call the router from that file as xxxx.router instead
  • Reduced default value of max_price to 100 from 10000
  • Renamed wine.py to just say rest.py as this is a RESTful API

@prrao87 prrao87 merged commit a95e4a6 into main May 8, 2023
2 checks passed
@prrao87 prrao87 deleted the reorg branch May 8, 2023 21:15
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.

None yet

1 participant