some typos

This commit is contained in:
collerek
2020-10-31 09:23:24 +01:00
parent 0abed5911f
commit 320588a3c1
3 changed files with 5 additions and 3 deletions

View File

@ -77,7 +77,7 @@ async def create_item(item: Item):
@app.post("/items/add_category/", response_model=Item)
async def create_item(item: Item, category: Category):
async def add_item_category(item: Item, category: Category):
await item.categories.add(category)
return item

View File

@ -1,7 +1,7 @@
import asyncio
import sqlite3
import asyncpg
import asyncpg # type: ignore
import databases
import pymysql
import pytest