tisserande.local_sync.data_types
Attributes
Classes
Synchronous wrapper for local operations. |
|
Synchronous wrapper for local operations. |
|
Synchronous wrapper for local operations. |
|
Synchronous wrapper for local operations. |
|
Synchronous wrapper for local operations. |
|
Synchronous wrapper for local operations. |
Module Contents
- class tisserande.local_sync.data_types.DataFileTypeSyncOperations(async_ops: macon.local_async.base.LocalOperations[T, ResponseT, CreateT])[source]
Bases:
macon.local_sync.base.SyncOperations[tisserande.db.data_types.DataFileTypeTable,tisserande.models.DataFileType,tisserande.models.DataFileTypeCreate]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.data_types.ConfigFileTypeSyncOperations(async_ops: macon.local_async.base.LocalOperations[T, ResponseT, CreateT])[source]
Bases:
macon.local_sync.base.SyncOperations[tisserande.db.data_types.ConfigFileTypeTable,tisserande.models.ConfigFileType,tisserande.models.ConfigFileTypeCreate]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.data_types.ConfigDictTypeSyncOperations(async_ops: macon.local_async.base.LocalOperations[T, ResponseT, CreateT])[source]
Bases:
macon.local_sync.base.SyncOperations[tisserande.db.data_types.ConfigDictTypeTable,tisserande.models.ConfigDictType,tisserande.models.ConfigDictTypeCreate]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.data_types.ParameterSyncOperations(async_ops: macon.local_async.base.LocalOperations[T, ResponseT, CreateT])[source]
Bases:
macon.local_sync.base.SyncOperations[tisserande.db.data_types.ParameterTable,tisserande.models.Parameter,tisserande.models.ParameterCreate]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.data_types.ArraySyncOperations(async_ops: macon.local_async.base.LocalOperations[T, ResponseT, CreateT])[source]
Bases:
macon.local_sync.base.SyncOperations[tisserande.db.data_types.ArrayTable,tisserande.models.Array,tisserande.models.ArrayCreate]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.data_types.ClassSyncOperations(async_ops: macon.local_async.base.LocalOperations[T, ResponseT, CreateT])[source]
Bases:
macon.local_sync.base.SyncOperations[tisserande.db.data_types.ClassTable,tisserande.models.Class,tisserande.models.ClassCreate]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.