Andreas Poehlmann
Andreas Poehlmann
Close #210 This PR adds typesafety checks for the UPath class interface. Tests all public attributes / method return types. currently missing (can be done in another PR): - [...
We need an interface to uri `query` parameters and `fragments`. Could be: ```python class UPath(...): @property def query(self) -> Mapping[str, str]: ... @property def fragment(self) -> str: ... def with_query(self,...
This will be the next big change in `UPath`. In the near future we will derive from `pathlib_abc.PathBase`: ```python from pathlib_abc import PathBase class UPath(PathBase): ... ``` We will have...
This is specifically regarding URIs of the form "file:path/to/somewhere" We should provide a correct error message for now, and in case pathlib or we decide to support parsing relative path...
We should gather code coverage stats, to ensure that we're covering all basic functionality with our test suite. Here is some nice reading material: https://hynek.me/articles/ditch-codecov-python/
_Originally posted by @rdbisme in https://github.com/fsspec/universal_pathlib/issues/80#issuecomment-1721542132_ I have also another problem, but not sure if it's something that requires an additional issue. ``` import os import boto3 from upath import...
Currently opening a `UPath` via `open` fails with a FileNotFoundError because the URI returned via `__fspath__()` is just interpreted as a string path. ```python >>> import upath >>> pth =...
Hello, I noticed that the `LocalFileSystem._strip_protocol` signature changed in #1477, when running the universal_pathlib test-suite against the current fsspec version. To me it seems that the intention of #1477 was...
Hi @martindurant, I'm currently fixing `memory` URI handling in universal_pathlib for python versions up to 3.11 and was wondering which URI would be considered the canonical form of a memory...
This is an interesting issue. We depend on tifffile, and specifically its zarr interface. Since we don't want to depend on `tifffile[all]` because we don't need matplotlib and other optional...