Skip to content

Commit

Permalink
Merge pull request #377 from ahaidu-nv/ahaidu/boto3_fix
Browse files Browse the repository at this point in the history
added boto3 import to s3 usage in utils.py
  • Loading branch information
TontonTremblay authored Jul 31, 2024
2 parents 7544636 + c69d896 commit cc88c0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ def __init__(
self.use_s3 = use_s3

if self.use_s3:
import boto3
self.session = boto3.Session()
self.s3 = self.session.resource(
service_name="s3", endpoint_url=endpoint_url
Expand Down

0 comments on commit cc88c0f

Please sign in to comment.