Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Nate Prewitt <nate.prewitt@gmail.com>
  • Loading branch information
SamRemis and nateprewitt authored Aug 14, 2024
1 parent 639ebb0 commit 12995d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .changes/next-release/enhancement-signing-83434.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"type": "feature",
"category": "signing",
"description": "Adds support for the new 'auth' trait on our models that will allow a priority list of auth types for a service or operation."
"description": "Adds internal support for the new 'auth' trait to allow a priority list of auth types for a service or operation."
}
3 changes: 1 addition & 2 deletions botocore/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ def create_client(
region_name, client_config = self._normalize_fips_region(
region_name, client_config
)
auth = service_model.metadata.get('auth')
if auth:
if auth := service_model.metadata.get('auth'):
service_signature_version = resolve_auth_type(auth)
else:
service_signature_version = service_model.metadata.get(
Expand Down

0 comments on commit 12995d3

Please sign in to comment.