Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (13 sloc) 479 Bytes

Base Function

.. module:: ai.backend.client.base

This module defines a few utilities that ease complexities to support both synchronous and asynchronous API functions, using some tricks with Python metaclasses.

Unless your are contributing to the client SDK, probably you won't have to use this module directly.

.. currentmodule:: ai.backend.client.base

.. autoclass:: APIFunctionMeta

.. autoclass:: BaseFunction

.. autofunction:: api_function
  :decorator:
You can’t perform that action at this time.