We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dae6435 commit e5aa56dCopy full SHA for e5aa56d
earthaccess/search.py
@@ -980,5 +980,8 @@ def __eq__(self, other: 'DataGranules'):
980
981
# TODO: display methods
982
def __repr__(self):
983
- reprs = ", ".join([granule.__repr__() for granule in self.granules])
984
- return f'DataGranules([{reprs}])'
+
+ if (count := len(self)) > 0:
985
+ return f'DataGranules().parameters({self.params}).load({count})'
986
987
+ return f'DataGranules().parameters({self.params})'
0 commit comments