Skip to content

Commit c138fac

Browse files
committed
avoid mutating original filesystem config when registering fsspec filesystems
1 parent f4cfae0 commit c138fac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sqlmesh/core/config/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def init(cursor: duckdb.DuckDBPyConnection) -> None:
378378

379379
for file_system in self.filesystems:
380380
options = file_system.copy()
381-
fs = file_system.pop("fs")
381+
fs = options.pop("fs")
382382
fs = filesystem(fs, **options)
383383
cursor.register_filesystem(fs)
384384

0 commit comments

Comments
 (0)