src.system.data_sources.data_source.base.DataSourceBase

class src.system.data_sources.data_source.base.DataSourceBase

Abstract class that represents a data source. A data source caches data from an external source, (like a file or database connection) then provides convenience methods to access the cache. Inherit this class to implement a custom data source.

Inheritance Diagram

Inheritance diagram of DataSourceBase

Variables & Properties

cache

Internal cache, populated at runtime.

Methods

__init__()

Constructor method.

Details

__init__()

Constructor method. Declares an empty DataFrame to use as a cache.

cache: DataFrame

Internal cache, populated at runtime.