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