flowserv.volume.factory module

Factory pattern for file stores.

flowserv.volume.factory.Volume(doc: Dict) flowserv.volume.base.StorageVolume

Factory pattern to create storage volume instances for the service API.

Expects a serialization object that contains at least the volume type type.

Parameters

doc (dict) – Serialization dictionary that provides access to storage volume type and the implementation-specific volume parameters.

Return type

flowserv.volume.base.StorageVolume