mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-11-30 13:20:40 +03:00
wip: docs
This commit is contained in:
@@ -75,8 +75,6 @@ async def import_nonsense(
|
||||
HTTPException: If an error occurs during the process (either a SQLAlchemy error or an HTTP exception),
|
||||
the function rolls back the session and raises an HTTP exception with a 422 status code.
|
||||
"""
|
||||
|
||||
|
||||
try:
|
||||
# Read the uploaded file into bytes
|
||||
file_bytes = await xlsx.read()
|
||||
|
||||
Reference in New Issue
Block a user