We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b67121 commit 4d35791Copy full SHA for 4d35791
packages/pytest-simcore/src/pytest_simcore/aws_s3_service.py
@@ -25,7 +25,7 @@ async def s3_client(s3_settings: S3Settings) -> typing.AsyncIterator[S3Client]:
25
exit_stack = contextlib.AsyncExitStack()
26
session_client = session.client(
27
"s3",
28
- endpoint_url=f"{s3_settings.S3_ENDPOINT}",
+ endpoint_url=f"{s3_settings.S3_ENDPOINT}" if s3_settings.S3_ENDPOINT else None,
29
aws_access_key_id=s3_settings.S3_ACCESS_KEY,
30
aws_secret_access_key=s3_settings.S3_SECRET_KEY,
31
region_name=s3_settings.S3_REGION,
0 commit comments