Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

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

Merged
merged 2 commits into from
Apr 19, 2019

Conversation

tiangolo
Copy link
Owner

  • 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.
  • Add full text search for items.
  • Update project README.md with tips about how to start with backend.

@tiangolo tiangolo merged commit 87ccdc7 into master Apr 19, 2019
@tiangolo tiangolo deleted the refactor-and-items branch April 19, 2019 05:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant