Skip to content

Commit

Permalink
drop _supplied_user_agent from OPTION_DEFAULTS
Browse files Browse the repository at this point in the history
  • Loading branch information
jonemo committed Jun 30, 2023
1 parent 95cd0bb commit c869fb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions botocore/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ def get_client_args(
client_ua_creator = self._session_ua_creator.with_client_config(
new_config
)
if client_config:
new_config._supplied_user_agent = client_config.user_agent
supplied_ua = client_config.user_agent if client_config else None
new_config._supplied_user_agent = supplied_ua

return {
'serializer': serializer,
Expand Down
1 change: 0 additions & 1 deletion botocore/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ class Config:
('use_fips_endpoint', None),
('defaults_mode', None),
('tcp_keepalive', None),
('_supplied_user_agent', None),
]
)

Expand Down

0 comments on commit c869fb6

Please sign in to comment.