from macon.local_async.base import LocalOperations
from .. import models
from ..db import function_types as db
from ..db_oper import function_types as ops
[docs]
class PythonFunctionLocalOperations(
LocalOperations[db.PythonFunctionTable, models.PythonFunction, models.PythonFunctionCreate],
):
pass
[docs]
class MemberFunctionLocalOperations(
LocalOperations[db.MemberFunctionTable, models.MemberFunction, models.MemberFunctionCreate],
):
pass
[docs]
class ShellFunctionLocalOperations(
LocalOperations[db.ShellFunctionTable, models.ShellFunction, models.ShellFunctionCreate],
):
pass
[docs]
python_function = PythonFunctionLocalOperations(ops.python_function)
[docs]
member_function = MemberFunctionLocalOperations(ops.member_function)
[docs]
shell_function = ShellFunctionLocalOperations(ops.shell_function)