uranusjr commented on code in PR #35820:
URL: https://github.com/apache/airflow/pull/35820#discussion_r1416952712


##########
airflow/io/__init__.py:
##########
@@ -32,21 +32,25 @@
 if TYPE_CHECKING:
     from fsspec import AbstractFileSystem
 
+    from airflow.io.typedef import Properties
+
+
 log = logging.getLogger(__name__)
 
 
-def _file(_: str | None) -> LocalFileSystem:
-    return LocalFileSystem()
+def _file(_: str | None, storage_options: Properties) -> LocalFileSystem:
+    options = storage_options or {}

Review Comment:
   This seems unnecessary since properties are always a dict



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to