charmlibs-pathops 1.2.0.post0__tar.gz → 1.2.1__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 (20) hide show
  1. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/PKG-INFO +1 -1
  2. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/_types.py +3 -3
  3. charmlibs_pathops-1.2.1/src/charmlibs/pathops/_version.txt +1 -0
  4. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/src/charmlibs_pathops.egg-info/PKG-INFO +1 -1
  5. charmlibs_pathops-1.2.0.post0/src/charmlibs/pathops/_version.txt +0 -1
  6. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/README.md +0 -0
  7. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/pyproject.toml +0 -0
  8. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/setup.cfg +0 -0
  9. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/__init__.py +0 -0
  10. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/_constants.py +0 -0
  11. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/_container_path.py +0 -0
  12. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/_errors.py +0 -0
  13. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/_fileinfo.py +0 -0
  14. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/_functions.py +0 -0
  15. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/_local_path.py +0 -0
  16. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/src/charmlibs/pathops/py.typed +0 -0
  17. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/src/charmlibs_pathops.egg-info/SOURCES.txt +0 -0
  18. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/src/charmlibs_pathops.egg-info/dependency_links.txt +0 -0
  19. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/src/charmlibs_pathops.egg-info/requires.txt +0 -0
  20. {charmlibs_pathops-1.2.0.post0 → charmlibs_pathops-1.2.1}/src/charmlibs_pathops.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: charmlibs-pathops
3
- Version: 1.2.0.post0
3
+ Version: 1.2.1
4
4
  Summary: A pathlib-like interface for Juju K8s charms to interact with files in their workload container.
5
5
  Author: The Charm Tech team at Canonical Ltd.
6
6
  Project-URL: Documentation, https://documentation.ubuntu.com/charmlibs/reference/charmlibs/pathops/
@@ -22,7 +22,7 @@ from . import _constants
22
22
 
23
23
  if typing.TYPE_CHECKING:
24
24
  import os
25
- from collections.abc import Generator, Sequence
25
+ from collections.abc import Iterator, Sequence
26
26
 
27
27
  from typing_extensions import Self
28
28
 
@@ -244,7 +244,7 @@ class PathProtocol(typing.Protocol):
244
244
  """
245
245
  ...
246
246
 
247
- def iterdir(self) -> Generator[Self]:
247
+ def iterdir(self) -> Iterator[Self]:
248
248
  """Yield objects of the same type corresponding to the directory's contents.
249
249
 
250
250
  There are no guarantees about the order of the children. The special entries
@@ -261,7 +261,7 @@ class PathProtocol(typing.Protocol):
261
261
  # NOTE: Not supported -- (Python 3.12) ``case_sensitive`` argument
262
262
  # NOTE: Not supported -- (Python 3.13) ``pattern`` can be path-like
263
263
  # NOTE: Not supported -- (Python 3.13) ``recurse_symlinks``
264
- def glob(self, pattern: str) -> Generator[Self]:
264
+ def glob(self, pattern: str) -> Iterator[Self]:
265
265
  r"""Iterate over this directory and yield all paths matching the provided pattern.
266
266
 
267
267
  For example, ``path.glob('*.txt')``, ``path.glob('*/foo.txt')``.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: charmlibs-pathops
3
- Version: 1.2.0.post0
3
+ Version: 1.2.1
4
4
  Summary: A pathlib-like interface for Juju K8s charms to interact with files in their workload container.
5
5
  Author: The Charm Tech team at Canonical Ltd.
6
6
  Project-URL: Documentation, https://documentation.ubuntu.com/charmlibs/reference/charmlibs/pathops/