Fix type hints for entrypoint decorator

This commit is contained in:
Nuno Campos
2025-01-24 09:31:27 -08:00
parent 996b120613
commit c04802a344
+1 -1
View File
@@ -309,7 +309,7 @@ class entrypoint:
A value will always be saved even if it is None.
"""
def __call__(self, func: types.FunctionType) -> Pregel:
def __call__(self, func: Callable[..., Any]) -> Pregel:
"""Convert a function into a Pregel graph.
Args: