Skip to content

Commit

Permalink
start load function for results classes
Browse files Browse the repository at this point in the history
  • Loading branch information
ebolch committed Oct 31, 2024
1 parent 9784e4c commit d4505ed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions earthaccess/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -935,3 +935,11 @@ def doi(self, doi: str) -> Self:
)

return self

def load(self):
# TODO - Handle paging (get all)
self._granules = self.get()

@property
def granules(self):
return self._granules

0 comments on commit d4505ed

Please sign in to comment.