Skip to content

Commit 22b3ee5

Browse files
Merge branch 'add-lambda-handler' of https://github.com/fiboa/fiboa-sda into add-lambda-handler
2 parents 6c7b2f2 + 8663dab commit 22b3ee5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fiboa_sda/ingest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
import tempfile
66

77
import boto3
8+
from botocore import UNSIGNED
9+
from botocore.config import Config
810
import geopandas as gpd
911
import pandas as pd
1012
import pyarrow as pa
@@ -18,7 +20,7 @@
1820
settings = get_settings()
1921
logger = get_logger(__name__)
2022
BUCKET_NAME = "us-west-2.opendata.source.coop"
21-
S3_CLIENT = boto3.client('s3', region_name="us-west-2")
23+
S3_CLIENT = boto3.client('s3', region_name="us-west-2", config=Config(signature_version=UNSIGNED))
2224

2325
# pyarrow schema used when writing out parquet
2426
# files to BQ

0 commit comments

Comments
 (0)