From 22a41048d62dbeb08ee06be98f4cd30a502344a7 Mon Sep 17 00:00:00 2001 From: Adam Watkins Date: Thu, 22 Apr 2021 22:48:57 -0700 Subject: [PATCH] :bookmark: Bump to v0.7.1 releasing #64 --- README.md | 6 +++--- setup.py | 2 +- tests/test_prefix.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c676c8f..6c37da9 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ **Source Code**: https://github.com/awtkns/fastapi-crudrouter --- -Tired of rewriting the same generic CRUD routes? Need to rapidly prototype a feature for a presentation +Tired of rewriting generic CRUD routes? Need to rapidly prototype a feature for a presentation or a hackathon? Thankfully, [fastapi-crudrouter](https://github.com/awtkns/fastapi-crudrouter) has your back. As an extension to the APIRouter included with [FastAPI](https://fastapi.tiangolo.com/), the FastAPI CRUDRouter will automatically generate and document your CRUD routes for you, all you have to do is pass your model and maybe your database connection. @@ -36,7 +36,7 @@ pip install fastapi-crudrouter ## Basic Usage Below is a simple example of what the CRUDRouter can do. In just ten lines of code, you can generate all -the crud routes you need for any model. A full list of the routes generated can be found [here](./routing). +the crud routes you need for any model. A full list of the routes generated can be found [here](./routing). ```python from pydantic import BaseModel @@ -60,7 +60,7 @@ routes. Listed below are some highlights. - Ability to Provide Custom Create and Update Schemas ([docs](https://fastapi-crudrouter.awtkns.com/schemas/)) - Dynamic Generation of Create and Update Schemas ([docs](https://fastapi-crudrouter.awtkns.com/schemas/)) - Ability to Add, Customize, or Disable Specific Routes ([docs](https://fastapi-crudrouter.awtkns.com/routing/)) -- Native Support for FastAPI Dependencies Injection ([docs](https://fastapi-crudrouter.awtkns.com/dependencies/)) +- Native Support for FastAPI Dependency Injection ([docs](https://fastapi-crudrouter.awtkns.com/dependencies/)) ## Supported Backends / ORMs fastapi-crudrouter currently supports a number of backends / ORMs. Listed below are the backends currently supported. This list will diff --git a/setup.py b/setup.py index b6d00f2..0cea7c6 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup, find_packages -VERSION = "0.7.0" +VERSION = "0.7.1" setup( name="fastapi-crudrouter", diff --git a/tests/test_prefix.py b/tests/test_prefix.py index bfb5ca3..94575ce 100644 --- a/tests/test_prefix.py +++ b/tests/test_prefix.py @@ -16,5 +16,5 @@ def router(request): def test_prefix_lowercase(router): assert type(router.prefix) is str - assert router.prefix != '' + assert router.prefix != "" assert router.prefix == router.prefix.lower()