tsdat.config.storage

Classes

StorageConfig

Class used to contain configuration parameters for tsdat pipelines. This class will

class tsdat.config.storage.StorageConfig[source]

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

Class used to contain configuration parameters for tsdat pipelines. This class will ultimately be converted into a tsdat.pipeline.base.Pipeline 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

  • should apply to. To use the built-in FileSystemStorage (configurations) –

  • for

  • example

  • would set 'tsdat.io.storage.FileSystemStorage' as the classname. (you) –

  • handler (DataHandlerConfig) – Config class that should be used for data I/O

  • the storage area. (within) –

handler :DataHandlerConfig[source]