tisserande.local_sync.data_types

Attributes

data_file_type

config_file_type

config_dict_type

parameter

array

class_

Classes

DataFileTypeSyncOperations

Synchronous wrapper for local operations.

ConfigFileTypeSyncOperations

Synchronous wrapper for local operations.

ConfigDictTypeSyncOperations

Synchronous wrapper for local operations.

ParameterSyncOperations

Synchronous wrapper for local operations.

ArraySyncOperations

Synchronous wrapper for local operations.

ClassSyncOperations

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.

tisserande.local_sync.data_types.data_file_type[source]
tisserande.local_sync.data_types.config_file_type[source]
tisserande.local_sync.data_types.config_dict_type[source]
tisserande.local_sync.data_types.parameter[source]
tisserande.local_sync.data_types.array[source]
tisserande.local_sync.data_types.class_[source]