python-injection 0.10.3__tar.gz → 0.10.4__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_injection-0.10.3 → python_injection-0.10.4}/PKG-INFO +1 -1
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/_core/common/type.py +11 -3
- {python_injection-0.10.3 → python_injection-0.10.4}/pyproject.toml +1 -1
- {python_injection-0.10.3 → python_injection-0.10.4}/README.md +0 -0
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/__init__.py +0 -0
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/__init__.pyi +0 -0
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/_core/__init__.py +0 -0
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/_core/common/__init__.py +0 -0
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/_core/common/event.py +0 -0
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/_core/common/invertible.py +0 -0
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/_core/common/lazy.py +0 -0
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/_core/common/threading.py +0 -0
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/_core/hook.py +0 -0
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/_core/module.py +0 -0
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/exceptions.py +0 -0
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/integrations/__init__.py +0 -0
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/integrations/blacksheep.py +0 -0
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/py.typed +0 -0
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/testing/__init__.py +0 -0
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/testing/__init__.pyi +0 -0
- {python_injection-0.10.3 → python_injection-0.10.4}/injection/utils.py +0 -0
@@ -1,9 +1,17 @@
|
|
1
1
|
from collections.abc import Awaitable, Callable, Iterable, Iterator
|
2
2
|
from inspect import iscoroutinefunction, isfunction
|
3
3
|
from types import GenericAlias, UnionType
|
4
|
-
from typing import
|
5
|
-
|
6
|
-
|
4
|
+
from typing import (
|
5
|
+
Annotated,
|
6
|
+
Any,
|
7
|
+
TypeAliasType,
|
8
|
+
Union,
|
9
|
+
get_args,
|
10
|
+
get_origin,
|
11
|
+
get_type_hints,
|
12
|
+
)
|
13
|
+
|
14
|
+
type TypeDef[T] = type[T] | TypeAliasType | GenericAlias
|
7
15
|
type InputType[T] = TypeDef[T] | UnionType
|
8
16
|
type TypeInfo[T] = InputType[T] | Callable[..., T] | Iterable[TypeInfo[T]]
|
9
17
|
|
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
|