File tree Expand file tree Collapse file tree
docs/integrations/engines Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -279,14 +279,13 @@ The `filesystems` accepts a list of file systems to register in the DuckDB conne
279279 extensions:
280280 - ducklake
281281 filesystems:
282- - protocol: abfs
283- storage_options:
284- account_name: onelake
285- account_host: onelake.blob.fabric.microsoft.com
286- client_id: {{ env_var('AZURE_CLIENT_ID') }}
287- client_secret: {{ env_var('AZURE_CLIENT_SECRET') }}
288- tenant_id: {{ env_var('AZURE_TENANT_ID') }}
289- # anon: False # To use azure.identity.DefaultAzureCredential authentication
282+ - fs: abfs
283+ account_name: onelake
284+ account_host: onelake.blob.fabric.microsoft.com
285+ client_id: {{ env_var('AZURE_CLIENT_ID') }}
286+ client_secret: {{ env_var('AZURE_CLIENT_SECRET') }}
287+ tenant_id: {{ env_var('AZURE_TENANT_ID') }}
288+ # anon: False # To use azure.identity.DefaultAzureCredential authentication
290289 ```
291290
292291
Original file line number Diff line number Diff line change @@ -377,9 +377,9 @@ def init(cursor: duckdb.DuckDBPyConnection) -> None:
377377 from fsspec import filesystem # type: ignore
378378
379379 for file_system in self .filesystems :
380- protocol = file_system .pop ( "protocol" )
381- storage_options = file_system .pop ("storage_options " )
382- fs = filesystem (protocol , ** storage_options )
380+ options = file_system .copy ( )
381+ fs = file_system .pop ("fs " )
382+ fs = filesystem (fs , ** options )
383383 cursor .register_filesystem (fs )
384384
385385 for i , (alias , path_options ) in enumerate (
You can’t perform that action at this time.
0 commit comments