Task software environment

The @fl.task decorator provides the following parameters to specify the software environment in which a task runs:

  • container_image: Can be either a string referencing a specific image on a container repository, or an ImageSpec defining a build. See ImageSpec for details.
  • environment: See Environment for details.
Docs version 1.16.23.0flytekit 1.16.23backend v1.16.8