cuddly-jelly-27016
05/14/2025, 12:10 AMreturn FlyteFile["jpg"](path=out_path)
This causes my type checker (pylance/pyright) to complain because "jpg"
is not defined. And when a type parameter isn't supplied in a signature (ie: it's just FlyteFile) then the return type is partially unknown and inferred as FlyteFile[Unknown]
NB: The same applies to FlyteDirectory
.
flyteorg/flytecuddly-jelly-27016
05/14/2025, 12:10 AM