tisserande.local_sync.execution
Attributes
Classes
Synchronous wrapper for local operations. |
Module Contents
- class tisserande.local_sync.execution.ExecutionSyncOperations(async_ops: macon.local_async.base.LocalOperations[T, ResponseT, CreateT])[source]
Bases:
macon.local_sync.base.SyncOperations[tisserande.db.execution.ExecutionTable,tisserande.models.Execution,tisserande.models.ExecutionCreate]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.