Spaces:
Build error
Build error
Commit
·
fb39d57
1
Parent(s):
ed2e4a9
refactor: update response object schema
Browse files- apis/s3.py +1 -1
- app.py +1 -1
apis/s3.py
CHANGED
|
@@ -4,7 +4,7 @@ import botocore
|
|
| 4 |
import logging
|
| 5 |
from dotenv import load_dotenv
|
| 6 |
|
| 7 |
-
from
|
| 8 |
load_dotenv()
|
| 9 |
|
| 10 |
class S3:
|
|
|
|
| 4 |
import logging
|
| 5 |
from dotenv import load_dotenv
|
| 6 |
|
| 7 |
+
from qccamapi.models.response import Response
|
| 8 |
load_dotenv()
|
| 9 |
|
| 10 |
class S3:
|
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import logging
|
|
| 4 |
from fastapi import FastAPI, Header
|
| 5 |
from apis.s3 import S3
|
| 6 |
from dotenv import load_dotenv
|
| 7 |
-
from
|
| 8 |
from models.image_object import ImageObject
|
| 9 |
from apis.common import Common
|
| 10 |
from fastapi.openapi.docs import (
|
|
|
|
| 4 |
from fastapi import FastAPI, Header
|
| 5 |
from apis.s3 import S3
|
| 6 |
from dotenv import load_dotenv
|
| 7 |
+
from models.response import Response
|
| 8 |
from models.image_object import ImageObject
|
| 9 |
from apis.common import Common
|
| 10 |
from fastapi.openapi.docs import (
|