SimpleSource

SimpleSource#

class SimpleSource(params=None, **kwargs)#

Bases: SourceAbstract[T_Source]

Simple module where data source is specified by class attribute.

The source is specified in source_loc.

Parameters:

params (t.Any | None)

_lines()#

Lines to show in DataManager repr (human readable).

Return type:

list[str]

get_source(_warn=True)#

Return source specified by source_loc attribute.

Parameters:

_warn (bool)

Return type:

T_Source

source_loc: T_Source#

Location of the source to return.