python-cq 0.16.0__tar.gz → 0.16.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.
- {python_cq-0.16.0 → python_cq-0.16.1}/PKG-INFO +1 -1
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/_core/related_events.py +3 -3
- {python_cq-0.16.0 → python_cq-0.16.1}/pyproject.toml +1 -1
- {python_cq-0.16.0 → python_cq-0.16.1}/.gitignore +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/LICENSE +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/__init__.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/_core/__init__.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/_core/common/__init__.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/_core/common/typing.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/_core/cq.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/_core/di.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/_core/dispatcher/__init__.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/_core/dispatcher/base.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/_core/dispatcher/bus.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/_core/dispatcher/lazy.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/_core/dispatcher/pipe.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/_core/handler.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/_core/message.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/_core/middleware.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/_core/middlewares/__init__.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/_core/middlewares/scope.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/_core/pipetools.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/exceptions.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/ext/__init__.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/ext/injection.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/middlewares/__init__.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/middlewares/retry.py +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/cq/py.typed +0 -0
- {python_cq-0.16.0 → python_cq-0.16.1}/docs/index.md +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from abc import abstractmethod
|
|
2
2
|
from dataclasses import dataclass, field
|
|
3
3
|
from types import TracebackType
|
|
4
|
-
from typing import
|
|
4
|
+
from typing import Protocol, Self, runtime_checkable
|
|
5
5
|
|
|
6
6
|
from anyio import create_task_group
|
|
7
7
|
from anyio.abc import TaskGroup
|
|
@@ -36,8 +36,8 @@ class AnyIORelatedEvents(RelatedEvents):
|
|
|
36
36
|
exc_type: type[BaseException] | None,
|
|
37
37
|
exc_value: BaseException | None,
|
|
38
38
|
traceback: TracebackType | None,
|
|
39
|
-
) ->
|
|
40
|
-
|
|
39
|
+
) -> None:
|
|
40
|
+
await self.task_group.__aexit__(None, None, None)
|
|
41
41
|
|
|
42
42
|
def add(self, *events: Event) -> None:
|
|
43
43
|
self.history.extend(events)
|
|
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
|