src.system.data_sources.data_source.file_json.DataSourceJsonFile¶
- class src.system.data_sources.data_source.file_json.DataSourceJsonFile(path: str)¶
Abstract data source for a JSON file. Inherit this class to implement a custom JSON file data source.
Inheritance Diagram

Variables & Properties
Methods
__init__(path)Constructor method.
Details
- __init__(path: str)¶
Constructor method. Loads data from JSON file into the cache.
- Parameters:
path – Path to JSON file.
- cache: DataFrame¶
Internal cache, populated at runtime.