Skip to content

Commit 68975c1

Browse files
committed
refactor(redshift-property): kwargs check
1 parent 473ab9c commit 68975c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redshift_connector/redshift_property.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def __init__(self: "RedshiftProperty", **kwargs):
88
"""
99
Initialize a RedshiftProperty object.
1010
"""
11-
if len(kwargs) == 0:
11+
if not kwargs:
1212
# The access key for the IAM role or IAM user configured for IAM database authentication
1313
self.access_key_id: typing.Optional[str] = None
1414
# This option specifies whether the driver uses the DbUser value from the SAML assertion

0 commit comments

Comments
 (0)