with Prefect? I'm currently setting up tasks within a flow and mypy is complaining about the return values. Is there something I'm missing in configuration?
j
Jack P
12/15/2023, 8:42 PM
I have to do ignoring comment and hardcode type to get around that. Curious if there is another way. Here's example of what I do:
Copy code
x: list[str] = flow() # type: ignore
➕ 1
j
Joey Allison
12/15/2023, 8:45 PM
This is exactly what I was leaning towards in the immediate term. Glad to have some external validation! I agree with you about wondering if there's a more seamless way.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.