src.system.data_sources.collection.DataSourceCollection¶
- class src.system.data_sources.collection.DataSourceCollection¶
Abstract container class that holds a dynamic collection of
data sources. This class provides a dictionary-like storage interface via the [] operator, as well as an iterator across collection elements. This class may be used to represent data sources that contain other data sources, such as a model point file which contains multiple model points.Inherit this class to implement a custom data source collection.
Inheritance Diagram

Variables & Properties
A list of all the items in this collection, as a set of key-value pairs.
A list of all the keys in this collection.
Methods
__init__()Constructor method.
Details
- __init__()¶
Constructor method. Initializes internal data structure.
- property items: List[Tuple[K, V]]¶
A list of all the items in this collection, as a set of key-value pairs.
- Returns:
List of key-value pairs.
- property keys: List[K]¶
A list of all the keys in this collection.
- Returns:
List of keys.