Skip to content

Commit

Permalink
Fixed latest suggestions.
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-newman-nasa committed Apr 9, 2024
1 parent cdb774b commit 88a4a06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions earthaccess/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def hits(self) -> int:

return int(response.headers["CMR-Hits"])

def get(self, limit: int = 2000) -> List[Any]:
def get(self, limit: int = 2000) -> List[DataCollection]:
"""Get all the collections (datasets) that match with our current parameters
up to some limit, even if spanning multiple pages.
Expand Down Expand Up @@ -382,7 +382,7 @@ def hits(self) -> int:

return int(response.headers["CMR-Hits"])

def get(self, limit: int = 2000) -> List[Any]:
def get(self, limit: int = 2000) -> List[DataGranule]:
"""Get all the collections (datasets) that match with our current parameters
up to some limit, even if spanning multiple pages.
Expand Down

0 comments on commit 88a4a06

Please sign in to comment.