Nash Taylor
09/11/2024, 11:14 PMfrom prefect import flow, task
because neither flow
nor task
are fully typed; they have some parameters where the type definition is partially unknown. So: does Prefect type check its code against strict-mode checkers on deployment, and is there perhaps something I've gotten wrong in my config? Or is strict mode checking not going to be realistic for my Prefect projects? (to be fair, I had the same thing happen with Dagster, so...)Nash Taylor
09/11/2024, 11:22 PMdict
type for the parameters
argument. (as opposed to say, dict[str, Any]
, which while not really conveying any more information, is at least satisfying to a strict mode checker).
This of course isn't a deal breaker of a feature or anything, just something I was sort of hopeful for and am mostly just curious about. I also totally understand how daunting of a task it would be to achieve this across the codebaseNate
09/12/2024, 2:05 PMNate
09/12/2024, 2:07 PMNash Taylor
09/12/2024, 2:09 PMpydantic.validate_call
)?Nash Taylor
09/12/2024, 2:09 PMNate
09/12/2024, 2:14 PM