Hi! Is there anyway to pass custom s3 endpoint url for module s3's function iter_bucket. As I see, so far it only allows to pass session kwargs - https://github.com/RaRe-Technologies/smart_open/blob/develop/smart_open/s3.py#L1107 . It would be nice if endpoint url is supported so that we can test against our mock S3 bucket server.
For anyone stuck on this thread, Boto3 now supports environment variable AWS_ENDPOINT_URL_S3 as of 1.28.0. This worked as a workaround for me using localstack s3.
Hi! Is there anyway to pass custom s3 endpoint url for module s3's function iter_bucket. As I see, so far it only allows to pass session kwargs - https://github.com/RaRe-Technologies/smart_open/blob/develop/smart_open/s3.py#L1107 . It would be nice if endpoint url is supported so that we can test against our mock S3 bucket server.