Skip to content

Commit

Permalink
Update botocore/args.py
Browse files Browse the repository at this point in the history
Co-authored-by: jonathan343 <43360731+jonathan343@users.noreply.github.com>
  • Loading branch information
SamRemis and jonathan343 authored Feb 10, 2025
1 parent 6732bf6 commit d4a066d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions botocore/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -820,8 +820,8 @@ def _compute_checksum_config(self, config_kwargs):

def _resolve_protocol(self, service_model):
# We need to ensure `protocols` exists in the metadata before attempting to
# access it directly since referencing service_model.protocols directly will
# raise an UndefinedModelAttributeError if protocols is not defined
# access it directly since referencing service_model.protocols directly will
# raise an UndefinedModelAttributeError if protocols is not defined
if service_model.metadata.get('protocols'):
for protocol in PRIORITY_ORDERED_SUPPORTED_PROTOCOLS:
if protocol in service_model.protocols:
Expand Down

0 comments on commit d4a066d

Please sign in to comment.