Fix S3DirectoryLoader exception (#10193)

#9304 introduced a critical bug. The S3DirectoryLoader fails completely
because boto3 checks the naming of kw arguments and one of the args is
badly named (very sorry for that)

cc @baskaryan
pull/10202/head
Christophe Bornet 1 year ago committed by GitHub
parent dde1992fdd
commit f389c4fcab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -114,7 +114,7 @@ class S3DirectoryLoader(BaseLoader):
aws_access_key_id=self.aws_access_key_id,
aws_secret_access_key=self.aws_secret_access_key,
aws_session_token=self.aws_session_token,
boto_config=self.boto_config,
config=self.boto_config,
)
bucket = s3.Bucket(self.bucket)
docs = []

Loading…
Cancel
Save