IReadStorageScopeFactory#
- class ansys.bdm.api.istorage_scope_factory.IReadStorageScopeFactory#
Bases:
ProtocolFactory pattern for creating instances of IReadStorageScope and IAsyncReadStorageScope.
Overview#
Create a new read only storage scope. |
|
Create a new asynchronous read only storage scope. |
Import detail#
from ansys.bdm.api.istorage_scope_factory import IReadStorageScopeFactory
Method detail#
- IReadStorageScopeFactory.create_storage_scope(context: str, template_vars: dict[str, str]) ansys.bdm.api.istorage_scope.IReadStorageScope#
Create a new read only storage scope.
- Parameters:
- context: str
TODO: How to word what this genericaly does.
- template_vars: Dict[str, str]
Template variables that may be used by the configuration system to return an appropriate
IStorageScope. TODO: Define whether certain fields need to be passed in?
- Returns:
- IReadStorageScope
A configured and ready to use
IReadStorageScope
- async IReadStorageScopeFactory.create_async_storage_scope(context: str, template_vars: dict[str, str]) ansys.bdm.api.iasync_storage_scope.IAsyncReadStorageScope#
Create a new asynchronous read only storage scope.
- Parameters:
- context: str
TODO: How to word what this genericaly does.
- template_vars: Dict[str, str]
Template variables that may be used by the configuration system to return an appropriate
IAsyncStorageScope. TODO: Define whether certain fields need to be passed in?
- Returns:
- IAsyncReadStorageScope
A configured and ready to use
IAsyncReadStorageScope