tisserande.local_sync.function_types
Attributes
Classes
Synchronous wrapper for local operations. |
|
Synchronous wrapper for local operations. |
|
Synchronous wrapper for local operations. |
Module Contents
- class tisserande.local_sync.function_types.PythonFunctionSyncOperations(async_ops: macon.local_async.base.LocalOperations[T, ResponseT, CreateT])[source]
Bases:
macon.local_sync.base.SyncOperations[tisserande.db.function_types.PythonFunctionTable,tisserande.models.PythonFunction,tisserande.models.PythonFunctionCreate]Synchronous wrapper for local operations.
Wraps async LocalOperations methods to provide synchronous versions for use in non-async contexts like CLI commands or scripts.
WARNING: These methods use asyncio.run() internally and cannot be called from within an already-running event loop.
- class tisserande.local_sync.function_types.MemberFunctionSyncOperations(async_ops: macon.local_async.base.LocalOperations[T, ResponseT, CreateT])[source]
Bases:
macon.local_sync.base.SyncOperations[tisserande.db.function_types.MemberFunctionTable,tisserande.models.MemberFunction,tisserande.models.MemberFunctionCreate]Synchronous wrapper for local operations.
Wraps async LocalOperations methods to provide synchronous versions for use in non-async contexts like CLI commands or scripts.
WARNING: These methods use asyncio.run() internally and cannot be called from within an already-running event loop.
- class tisserande.local_sync.function_types.ShellFunctionSyncOperations(async_ops: macon.local_async.base.LocalOperations[T, ResponseT, CreateT])[source]
Bases:
macon.local_sync.base.SyncOperations[tisserande.db.function_types.ShellFunctionTable,tisserande.models.ShellFunction,tisserande.models.ShellFunctionCreate]Synchronous wrapper for local operations.
Wraps async LocalOperations methods to provide synchronous versions for use in non-async contexts like CLI commands or scripts.
WARNING: These methods use asyncio.run() internally and cannot be called from within an already-running event loop.