Custom Tasks#
Flytekit ships with an extensible task system, which makes it easy for anyone to extend and add new task types.
Refer to the Pre-built Container Task Plugin and User Container Task Plugin guides if you’d like to contribute a new task type.
flytekit.core.base_task
#
|
This is a small helper function to convert the keyword arguments to an OrderedDict of types. |
|
Base Class for all Tasks with a Python native |
|
The base of all Tasks in flytekit. |
|
Metadata for a Task. |
Flytekit tasks interact with the Flyte platform very, very broadly in two steps. |
|
This exception should be used to indicate that the outputs generated by this can be safely ignored. |
flytekit.core.python_function_task
#
|
A Python Function task should be used as the base for all extensions that have a python function. |
|
This class should be used as the base class for all Tasks that do not have a user defined function body, but have a platform defined execute method. |