.. DO NOT EDIT THIS FILE! This file is the index for the old flytekit documentation. The index for the monodocs is now at `docs_index.rst`. Please edit that file if you want to add new entries to the flytekit api documentation. .. simpleble documentation master file, created by sphinx-quickstart on Fri Mar 9 04:07:53 2018. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. ************************* Flytekit Python Reference ************************* `Flytekit Tags <_tags/tagsindex.html>`__ This section of the documentation provides detailed descriptions of the high-level design of ``Flytekit`` and an API reference for specific usage details of Python functions, classes, and decorators that you import to specify tasks, build workflows, and extend ``Flytekit``. Installation ============ .. code-block:: pip install flytekit For developer environment setup instructions, see the :ref:`contributor guide `. Quickstart ========== .. code-block:: python from flytekit import task, workflow @task def sum(x: int, y: int) -> int: return x + y @task def square(z: int) -> int: return z * z @workflow def my_workflow(x: int, y: int) -> int: return sum(x=square(z=x), y=square(z=y)) print(f"my_workflow output: {my_workflow(x=1, y=2)}") Expected output: .. code-block:: my_workflow output: 5 .. toctree:: :maxdepth: 1 :hidden: |plane| Getting Started |book-reader| User Guide |chalkboard| Tutorials |project-diagram| Concepts |rocket| Deployment |book| API Reference |hands-helping| Community .. NOTE: The caption text is important for the Sphinx theme to correctly render the nav header .. https://github.com/flyteorg/furo .. toctree:: :maxdepth: -1 :caption: Flytekit SDK :hidden: Flytekit Python design/index flytekit configuration remote clients testing extend deck extras.accelerators plugins/index tasks.extend types.extend experimental pyflyte contributing