Proper handling of UNION and complex types for TaskConfig
- Input validation needs to accept multiple types
- Input type may have to change (what would we even allow
str | bool
doesn't make sense anyway) - Make a nested box / form group for complex args. This way, dataclasses as parameters can be used to visually group parameters. Should we even make it fancy and try to expose the docstring from the class definition?
Some refs
-
type2str()
insrc/util/typeChecks.ts
-
<template v-else>
insrc/components/pipelines/TaskConfig.vue