ez-a-sync 0.22.7__tar.gz → 0.22.8__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.
Potentially problematic release.
This version of ez-a-sync might be problematic. Click here for more details.
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/PKG-INFO +1 -1
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/iter.py +7 -4
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/ez_a_sync.egg-info/PKG-INFO +1 -1
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/.coverage +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/.github/workflows/codeql.yaml +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/.github/workflows/docs.yaml +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/.github/workflows/mypy.yaml +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/.github/workflows/pytest.yaml +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/.github/workflows/release.yaml +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/.gitignore +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/.sourcery.yaml +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/LICENSE.txt +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/Makefile +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/README.md +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/TODO +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/ENVIRONMENT_VARIABLES.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/__init__.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/_smart.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/_typing.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/__init__.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/_descriptor.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/_flags.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/_helpers.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/_kwargs.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/_meta.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/abstract.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/base.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/config.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/decorator.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/function.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/method.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/modifiers/__init__.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/modifiers/cache/__init__.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/modifiers/cache/memory.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/modifiers/limiter.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/modifiers/manager.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/modifiers/semaphores.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/property.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/a_sync/singleton.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/aliases.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/asyncio/__init__.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/asyncio/as_completed.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/asyncio/create_task.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/asyncio/gather.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/asyncio/utils.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/exceptions.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/executor.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/future.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/primitives/__init__.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/primitives/_debug.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/primitives/_loggable.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/primitives/locks/__init__.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/primitives/locks/counter.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/primitives/locks/event.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/primitives/locks/prio_semaphore.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/primitives/locks/semaphore.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/primitives/queue.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/py.typed +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/sphinx/__init__.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/sphinx/ext.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/task.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/utils/__init__.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/a_sync/utils/iterators.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/docs/Makefile +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/docs/_build/html/_static/alabaster.css +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/docs/_build/html/_static/basic.css +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/docs/_build/html/_static/custom.css +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/docs/_build/html/_static/doctools.js +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/docs/_build/html/_static/documentation_options.js +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/docs/_build/html/_static/file.png +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/docs/_build/html/_static/language_data.js +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/docs/_build/html/_static/minus.png +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/docs/_build/html/_static/plus.png +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/docs/_build/html/_static/pygments.css +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/docs/_build/html/_static/searchtools.js +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/docs/_build/html/_static/sphinx_highlight.js +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/docs/conf.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/docs/index.rst +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/docs/make.bat +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/ez_a_sync.egg-info/SOURCES.txt +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/ez_a_sync.egg-info/dependency_links.txt +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/ez_a_sync.egg-info/requires.txt +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/ez_a_sync.egg-info/top_level.txt +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/requirements-dev.txt +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/requirements.txt +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/setup.cfg +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/setup.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/__init__.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/conftest.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/executor.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/fixtures.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/test_abstract.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/test_as_completed.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/test_base.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/test_cache.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/test_decorator.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/test_executor.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/test_future.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/test_gather.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/test_helpers.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/test_iter.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/test_limiter.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/test_meta.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/test_modified.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/test_semaphore.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/test_singleton.py +0 -0
- {ez_a_sync-0.22.7 → ez_a_sync-0.22.8}/tests/test_task.py +0 -0
|
@@ -108,7 +108,8 @@ class _AwaitableAsyncIterableMixin(AsyncIterable[T]):
|
|
|
108
108
|
cls.__doc__ += f"\n\n{new}"
|
|
109
109
|
|
|
110
110
|
# format the member docstrings
|
|
111
|
-
for
|
|
111
|
+
for attr_name in dir(cls):
|
|
112
|
+
attr = getattr(cls, attr_name)
|
|
112
113
|
if attr.__doc__ and "{cls}" in attr.__doc__:
|
|
113
114
|
attr.__doc__ = attr.__doc__.replace("{cls}", f":class:`{cls.__name__}`")
|
|
114
115
|
|
|
@@ -139,11 +140,13 @@ class ASyncIterable(_AwaitableAsyncIterableMixin[T], Iterable[T]):
|
|
|
139
140
|
return f"<{type(self).__name__} for {self.__wrapped__} at {hex(id(self))}>"
|
|
140
141
|
|
|
141
142
|
def __aiter__(self) -> AsyncIterator[T]:
|
|
142
|
-
"
|
|
143
|
+
"""
|
|
144
|
+
Return an async iterator that yields :obj:`T` objects from the {cls}.
|
|
145
|
+
"""
|
|
143
146
|
return self.__wrapped__.__aiter__()
|
|
144
147
|
|
|
145
148
|
def __iter__(self) -> Iterator[T]:
|
|
146
|
-
"
|
|
149
|
+
"Return an iterator that yields :obj:`T` objects from the {cls}."
|
|
147
150
|
yield from ASyncIterator(self.__aiter__())
|
|
148
151
|
__slots__ = "__wrapped__",
|
|
149
152
|
|
|
@@ -415,7 +418,7 @@ class ASyncSorter(_ASyncView[T]):
|
|
|
415
418
|
|
|
416
419
|
def __aiter__(self) -> AsyncIterator[T]:
|
|
417
420
|
"""
|
|
418
|
-
|
|
421
|
+
Return an async iterator for the {cls}.
|
|
419
422
|
|
|
420
423
|
Raises:
|
|
421
424
|
RuntimeError: If the ASyncSorter instance has already been consumed.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|