python-cq 0.9.0__tar.gz → 0.9.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.9.0 → python_cq-0.9.1}/PKG-INFO +1 -1
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/handler.py +2 -2
- {python_cq-0.9.0 → python_cq-0.9.1}/pyproject.toml +1 -1
- {python_cq-0.9.0 → python_cq-0.9.1}/.gitignore +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/LICENSE +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/README.md +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/__init__.py +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/__init__.py +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/defer.py +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/dispatcher/__init__.py +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/dispatcher/base.py +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/dispatcher/bus.py +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/dispatcher/pipe.py +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/message.py +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/middleware.py +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/related_events.py +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/scope.py +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/exceptions.py +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/ext/__init__.py +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/ext/fastapi.py +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/ext/fastapi.pyi +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/middlewares/__init__.py +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/middlewares/retry.py +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/middlewares/scope.py +0 -0
- {python_cq-0.9.0 → python_cq-0.9.1}/cq/py.typed +0 -0
|
@@ -151,8 +151,8 @@ class HandlerDecorator[I, O]:
|
|
|
151
151
|
|
|
152
152
|
|
|
153
153
|
def _resolve_input_type[I, O](handler_type: HandlerType[[I], O]) -> type[I]:
|
|
154
|
-
|
|
155
|
-
signature = inspect_signature(
|
|
154
|
+
fake_method = handler_type.handle.__get__(NotImplemented, handler_type)
|
|
155
|
+
signature = inspect_signature(fake_method, eval_str=True)
|
|
156
156
|
|
|
157
157
|
for parameter in signature.parameters.values():
|
|
158
158
|
input_type = parameter.annotation
|
|
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
|