Skip to content

Commit

Permalink
Fixed lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
soulmachine committed Dec 17, 2024
1 parent 8e6e595 commit 3319a2e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ def validate_init_args(
)

non_null_creds = list(
x is not None for x in ((api_key or username), session, oauth2, token,
cookies)
x is not None
for x in ((api_key or username), session, oauth2, token, cookies)
)
if sum(non_null_creds) > 1:
all_names = ("(api_key, username)", "session", "oauth2", "token", "cookies")
Expand Down

0 comments on commit 3319a2e

Please sign in to comment.