chore(deps): add boto3 to requirements.txt

This commit is contained in:
2026-07-18 09:13:01 +08:00
parent 1c53209acf
commit 8771d105bb
2 changed files with 8 additions and 1 deletions
+7 -1
View File
@@ -88,7 +88,13 @@ class S3Storage:
region: str = "auto", region: str = "auto",
public_url: str = "", public_url: str = "",
) -> None: ) -> None:
import boto3 try:
import boto3
except ImportError:
raise ImportError(
"boto3 is required for S3 storage. "
"Install it with: pip install boto3"
)
self.bucket = bucket self.bucket = bucket
self.public_url = public_url.rstrip("/") self.public_url = public_url.rstrip("/")
+1
View File
@@ -6,3 +6,4 @@ jinja2
bcrypt bcrypt
python-jose[cryptography] python-jose[cryptography]
aiofiles aiofiles
boto3