We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7444afc commit 531097fCopy full SHA for 531097f
src/fromager/read.py
@@ -10,7 +10,7 @@
10
@contextmanager
11
def open_file_or_url(
12
path_or_url: str | pathlib.Path,
13
-) -> typing.Generator[io.TextIOWrapper, typing.Any, None]:
+) -> typing.Generator[io.TextIOBase, typing.Any, None]:
14
location = str(path_or_url)
15
if location.startswith("file://"):
16
location = urlparse(location).path
0 commit comments