pathlib-next 0.1.1__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/PKG-INFO +1 -1
  2. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/pyproject.toml +1 -1
  3. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/src/pathlib_next/uri/__init__.py +7 -0
  4. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/.gitignore +0 -0
  5. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/LICENSE +0 -0
  6. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/README.md +0 -0
  7. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/src/example.py +0 -0
  8. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/src/pathlib_next/__init__.py +0 -0
  9. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/src/pathlib_next/fspath.py +0 -0
  10. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/src/pathlib_next/path.py +0 -0
  11. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/src/pathlib_next/uri/query.py +0 -0
  12. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/src/pathlib_next/uri/schemes/__init__.py +0 -0
  13. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/src/pathlib_next/uri/schemes/file.py +0 -0
  14. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/src/pathlib_next/uri/schemes/http.py +0 -0
  15. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/src/pathlib_next/uri/schemes/sftp.py +0 -0
  16. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/src/pathlib_next/uri/source.py +0 -0
  17. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/src/pathlib_next/utils/__init__.py +0 -0
  18. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/src/pathlib_next/utils/glob.py +0 -0
  19. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/src/pathlib_next/utils/stat.py +0 -0
  20. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/src/pathlib_next/utils/sync.py +0 -0
  21. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/tests/test_local.py +0 -0
  22. {pathlib_next-0.1.1 → pathlib_next-0.1.2}/tests/test_uri.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pathlib_next
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Generic Path Protocol based pathlib
5
5
  Project-URL: Homepage, https://github.com/jose-pr/pathlib_next/
6
6
  Project-URL: Issues, https://github.com/jose-pr/pathlib_next/issues
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "pathlib_next"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  authors = [{ name = "Jose A" }]
9
9
  description = "Generic Path Protocol based pathlib"
10
10
  readme = "README.md"
@@ -404,6 +404,13 @@ class UriPath(Uri, Path):
404
404
  def _initbackend(self):
405
405
  return None
406
406
 
407
+ def _from_parsed_parts(
408
+ self, source: Source, path: str, query: str, fragment: str, /, **kwargs
409
+ ):
410
+ if "backend" not in kwargs:
411
+ kwargs["backend"] = self.backend
412
+ return super()._from_parsed_parts(source, path, query, fragment, **kwargs)
413
+
407
414
  def _init(
408
415
  self,
409
416
  source: Source,
File without changes
File without changes
File without changes