Source code for tisserande.local_sync.function_types

from macon.local_sync.base import SyncOperations

from .. import models
from ..db import function_types as db
from ..local_async import function_types as async_ops


[docs] class PythonFunctionSyncOperations( SyncOperations[db.PythonFunctionTable, models.PythonFunction, models.PythonFunctionCreate], ): pass
[docs] class MemberFunctionSyncOperations( SyncOperations[db.MemberFunctionTable, models.MemberFunction, models.MemberFunctionCreate], ): pass
[docs] class ShellFunctionSyncOperations( SyncOperations[db.ShellFunctionTable, models.ShellFunction, models.ShellFunctionCreate], ): pass
[docs] python_function = PythonFunctionSyncOperations(async_ops.python_function)
[docs] member_function = MemberFunctionSyncOperations(async_ops.member_function)
[docs] shell_function = ShellFunctionSyncOperations(async_ops.shell_function)