We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9d0e6d commit b5747f5Copy full SHA for b5747f5
2 files changed
pcs/pipeline.py
@@ -1,11 +1,11 @@
1
import inspect
2
from collections.abc import Mapping
3
-from types import FunctionType
4
-from typing import TypeAlias, TypeVar
+from types import Callable
+from typing import Any, TypeAlias, TypeVar
5
6
from pcs.component import Component
7
8
-System: TypeAlias = FunctionType
+System: TypeAlias = Callable[..., dict[str, Any] | None]
9
10
T = TypeVar("T")
11
pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "pipeline-component-system"
-version = "0.4.3"
+version = "0.4.4"
authors = [
{ name="Daniel Cauchi" },
]
0 commit comments