Is it possible to instantiate a Flyte Task at runtime so that I can create a Workflow with a variable number of Tasks and with each Task running a runtime-determined Python callable? In the documentation, I only see references to compile-time Workflows that are declaratively composed of Python function annotated with the @Task decorator.
If you can provide any existing examples in open source code or a new, small inline example, please do! Thanks!
The functionality I was looking for is provided by the
FlyteRemoteclass. With this class, one can register instantiated entities, i.e. tasks, workflows, and launchplans.