src.system.data_sources.namespace.DataSourceNamespace

class src.system.data_sources.namespace.DataSourceNamespace(path: str)

Abstract container class that holds a pre-defined collection of data sources. Data sources can be added by inheriting and declaring additional class attributes.

Inherit this class to implement a custom data source collection.

Inheritance Diagram

Inheritance diagram of DataSourceNamespace

Variables & Properties

path

Path to the namespace.

Methods

__init__(path)

Constructor method.

Details

__init__(path: str)

Constructor method. Checks whether the namespace exists.

Parameters:

path – File path to a namespace.

path: str

Path to the namespace.