Created
January 30, 2025 16:55
-
-
Save zzstoatzz/230fb8318cda0192c27a4a9cecf92a05 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from prefect import task | |
def some_fn(x: int, y: str) -> int: | |
return x + len(y) | |
some_task = task(some_fn) | |
print(some_task(x=1, y="hello")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment