Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion awswrangler/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import pandas as pd

from awswrangler import _config, exceptions
from awswrangler.__metadata__ import __version__
from awswrangler._config import apply_configs

_logger: logging.Logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -68,7 +69,12 @@ def default_botocore_config() -> botocore.config.Config:
mode: Optional[str] = os.getenv("AWS_RETRY_MODE")
if mode:
retries_config["mode"] = mode
return botocore.config.Config(retries=retries_config, connect_timeout=10, max_pool_connections=10)
return botocore.config.Config(
retries=retries_config,
connect_timeout=10,
max_pool_connections=10,
user_agent_extra=f"awswrangler/{__version__}",
)


def _get_endpoint_url(service_name: str) -> Optional[str]:
Expand Down