From cefec13c53fba629266a388620deb6edb9a59318 Mon Sep 17 00:00:00 2001 From: danielfromearth Date: Tue, 21 Nov 2023 15:18:53 -0500 Subject: [PATCH] add missing return type annotation --- earthaccess/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earthaccess/search.py b/earthaccess/search.py index 4ea8dd75..f1a8681f 100644 --- a/earthaccess/search.py +++ b/earthaccess/search.py @@ -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.