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 Prebuilt container task plugins and User container task plugins 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. |
|
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. |