Skip to content

Commit

Permalink
Fix #609
Browse files Browse the repository at this point in the history
  • Loading branch information
duogenesis committed Jan 18, 2025
1 parent 9348fe5 commit dc39c83
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions service/person/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from PIL import Image
import io
import boto3
from botocore.config import Config
from concurrent.futures import ThreadPoolExecutor, as_completed
from service.person.sql import *
from service.search.sql import *
Expand Down Expand Up @@ -85,6 +86,10 @@ def parse_email_string(email_string):
endpoint_url=BOTO_ENDPOINT_URL,
aws_access_key_id=R2_ACCESS_KEY_ID,
aws_secret_access_key=R2_ACCESS_KEY_SECRET,
config=Config(
request_checksum_calculation='WHEN_REQUIRED',
response_checksum_validation='WHEN_REQUIRED',
),
)

bucket = s3.Bucket(R2_BUCKET_NAME)
Expand Down

0 comments on commit dc39c83

Please sign in to comment.