File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1616import pandas as pd
1717
1818from awswrangler import _config , exceptions
19+ from awswrangler .__metadata__ import __version__
1920from awswrangler ._config import apply_configs
2021
2122_logger : logging .Logger = logging .getLogger (__name__ )
@@ -68,7 +69,12 @@ def default_botocore_config() -> botocore.config.Config:
6869 mode : Optional [str ] = os .getenv ("AWS_RETRY_MODE" )
6970 if mode :
7071 retries_config ["mode" ] = mode
71- return botocore .config .Config (retries = retries_config , connect_timeout = 10 , max_pool_connections = 10 )
72+ return botocore .config .Config (
73+ retries = retries_config ,
74+ connect_timeout = 10 ,
75+ max_pool_connections = 10 ,
76+ user_agent_extra = f"awswrangler/{ __version__ } " ,
77+ )
7278
7379
7480def _get_endpoint_url (service_name : str ) -> Optional [str ]:
You can’t perform that action at this time.
0 commit comments