tsdat.config.storage

Classes

StorageConfig

Contains configuration parameters for the data storage API used in tsdat pipelines.

class tsdat.config.storage.StorageConfig[source]

Bases: tsdat.config.utils.ParameterizedConfigClass, tsdat.config.utils.YamlModel

Contains configuration parameters for the data storage API used in tsdat pipelines.

This class will ultimately be converted into a tsdat.io.base.Storage subclass for use in tsdat pipelines.

Provides methods to support yaml parsing and validation, including the generation of json schema for immediate validation. This class also provides a method to instantiate a tsdat.io.base.Storage subclass from a parsed configuration file.

Parameters
  • classname (str) – The dotted module path to the storage class that the specified configurations should apply to. To use the built-in FileSystem storage class, for example, you would set ‘tsdat.io.storage.FileSystem’ as the classname.

  • handler (DataHandlerConfig) – Config class that should be used for data I/O within the storage area.

handler :DataHandlerConfig[source]