We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b4a433 commit 4c39400Copy full SHA for 4c39400
earthaccess/search.py
@@ -644,7 +644,9 @@ def granule_name(self, granule_name: str | Iterable[str]) -> Self:
644
TypeError: if `granule_name` is not of type `str` or `Iterable[str]`.
645
"""
646
if not isinstance(granule_name, Iterable):
647
- raise TypeError("granule_name must be of type string or Iterable of strings")
+ raise TypeError(
648
+ "granule_name must be of type string or Iterable of strings"
649
+ )
650
if not isinstance(granule_name, str):
651
# Convert iterable to list of strings. Since str is also Iterable, make
652
# sure we don't do this when granule_name is a string, otherwise
0 commit comments