Me again. I have a question about default paramete...
# ask-the-community
t
Me again. I have a question about default parameters. It seems like default parameters are supported on workflows, and they are implemented by putting them into the default launch plan. On tasks it seems like default parameters are very limited. In particular it looks like
paramater: Optional[T] = None
is the only allowed way of using default paramaters. I think this is the relevant logic in flytekit. Not supporting all default parameters can be a bit confusing to users who expect tasks to behave just like normal python functions. Does anyone know the motivation for how it is currently?
s
An issue has been created already to track this: https://github.com/flyteorg/flyte/issues/4275.
t
Ah, thank you. I probably should have found that myself.