Skip to content

Commit 1d673dd

Browse files
committed
map is an iterable!
1 parent b53fed3 commit 1d673dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyiceberg/catalog/hive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ def list_namespaces(self, namespace: str | Identifier = ()) -> Iterator[Identifi
746746
return iter([])
747747

748748
with self._client as open_client:
749-
return iter(map(self.identifier_to_tuple, open_client.get_all_databases()))
749+
return map(self.identifier_to_tuple, open_client.get_all_databases())
750750

751751
def load_namespace_properties(self, namespace: str | Identifier) -> Properties:
752752
"""Get properties for a namespace.

0 commit comments

Comments
 (0)