Skip to content

Commit a16f736

Browse files
committed
Normalisiere Katalogpfad mit FileSystem._strip_protocol und bump Version auf 0.22.2
Verwende _strip_protocol beim Setzen von _catalog_path, um Protokollpräfixe zu entfernen und Pfad-Handling zu vereinheitlichen.
1 parent d4c877f commit a16f736

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pydala/catalog.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ def __init__(
5656
**fs_kwargs: Additional filesystem configuration.
5757
"""
5858
self._catalog_filesystem = FileSystem(bucket=bucket, fs=filesystem, **fs_kwargs)
59-
self._catalog_path = self._catalog_filesystem.expand_path(path)[0]
59+
self._catalog_path = self._catalog_filesystem._strip_protocol(
60+
self._catalog_filesystem.expand_path(path)[0]
61+
)
6062
self._namespace = namespace
6163
self.load_catalog(namespace=namespace)
6264

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ name = "pydala2"
2525
readme = "README.md"
2626
#repository = "https://github.com/legout/pydala2"
2727
requires-python = ">= 3.11"
28-
version = "0.22.1"
28+
version = "0.22.2"
2929

3030
[project.optional-dependencies]
3131
legacy = ["polars-lts-cpu>=0.20.4"]

0 commit comments

Comments
 (0)