xlnstorch.override_sbdb_implementation

xlnstorch.override_sbdb_implementation#

xlnstorch.override_sbdb_implementation(impl_key)#

Temporarily override the default sbdb implementation within a context. This allows for testing or using a different implementation without permanently changing the default.

Parameters:

impl_key (str) – The key identifying the new implementation to use as default.

Yields:

None – The function yields control back to the context block.

Return type:

Generator[None, None, None]