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

Add Items (crud, models, endpoints), utils, refactor #14

Merged
merged 2 commits into from
Apr 19, 2019

Conversation

tiangolo
Copy link
Member

  • Update CRUD utils to use types better.
  • Simplify Pydantic model names, from UserInCreate to UserCreate, etc.
  • Upgrade packages.
  • Add new generic "Items" models, crud utils, endpoints, and tests. To facilitate re-using them to create new functionality. As they are simple and generic (not like Users), it's easier to copy-paste and adapt them to each use case.
  • Update endpoints/path operations to simplify code and use new utilities, prefix and tags in include_router.
  • Update testing utils.
  • Update linting rules, relax vulture to reduce false positives.
  • Update migrations to include new Items.
  • Update project README.md with tips about how to start with backend.

@tiangolo tiangolo merged commit ecd634e into master Apr 19, 2019
@tiangolo tiangolo deleted the refactor-and-items branch April 19, 2019 05:45
gusevyaroslove pushed a commit to gusevyaroslove/fastapi-template that referenced this pull request Aug 4, 2024
* Update CRUD utils to use types better.
* Simplify Pydantic model names, from `UserInCreate` to `UserCreate`, etc.
* Upgrade packages.
* Add new generic "Items" models, crud utils, endpoints, and tests. To facilitate re-using them to create new functionality. As they are simple and generic (not like Users), it's easier to copy-paste and adapt them to each use case.
* Update endpoints/*path operations* to simplify code and use new utilities, prefix and tags in `include_router`.
* Update testing utils.
* Update linting rules, relax vulture to reduce false positives.
* Update migrations to include new Items.
* Update project README.md with tips about how to start with backend.
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