Skip to content

Commit

Permalink
add missing return type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfromearth committed Nov 21, 2023
1 parent c059ad5 commit cefec13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion earthaccess/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def __init__(self, auth: Any = None, *args: Any, **kwargs: Any) -> None:

self._debug = False

def hits(self):
def hits(self) -> int:
"""
Returns the number of hits the current query will return. This is done by
making a lightweight query to CMR and inspecting the returned headers.
Expand Down

0 comments on commit cefec13

Please sign in to comment.