.. faas.autodoc, created by fetch_deps.py -> autodoc_template.rst.j2 10-24-2019:18:36 version info 52f055c946a6ecdf4768d8277d3fc6652fc16270 PiperCI FaaS APIs ================= piperci.faas is the primary interface used for developing PiperCI FaaS functions. It wraps other PiperCI API libraries and provides a single set of interfaces to FaaS templates. .. code-block:: python from piperci.faas.exceptions import (PiperError, PiperDelegateError, PiperActiveError, PiperLoggingError) ThisTask -------- piperci.thistask is the primary interface used by a FaaS function to control process flow, handle input data and upload logs and artifacts. ThisTask handles all the backend CRUD and forking operations. For a working example in a FaaS function see `noop faas `_ .. code-block:: python from piperci.faas.this_task import ThisTask .. automodule:: piperci.faas.this_task :members: :undoc-members: Exceptions ---------- .. automodule:: piperci.faas.exceptions :members: :undoc-members: