Skip to content

Commit

Permalink
Give the top-level strategy function a default for "on_failure"
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher87 committed Feb 10, 2025
1 parent 2571e10 commit 775976e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion earthaccess/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def login(
persist: bool = False,
system: Optional[System] = None,
*,
on_failure: LoginFailureBehavior,
on_failure: LoginFailureBehavior = "warn",
) -> Any:
"""Authenticate with Earthdata login.
Expand Down

0 comments on commit 775976e

Please sign in to comment.