More renaming to iterable + fixes to heroic

This commit is contained in:
GeoffreyCoulaud
2023-07-20 10:58:23 +02:00
parent 0df123975c
commit 52b6c47c8d
8 changed files with 27 additions and 29 deletions

View File

@@ -57,7 +57,7 @@ class Source(Iterable):
data_location: Optional[Location] = None
cache_location: Optional[Location] = None
config_location: Optional[Location] = None
iterator_class: type[SourceIterable]
iterable_class: type[SourceIterable]
@property
def full_name(self) -> str:
@@ -99,7 +99,7 @@ class Source(Iterable):
if location is None:
continue
location.resolve()
return iter(self.iterator_class(self))
return iter(self.iterable_class(self))
# pylint: disable=abstract-method