SimpleSource

SimpleSource#

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

Bases: SourceAbstract[T_Source_co]

Simple module where data source is specified by class attribute.

The source is specified in source_loc.

Parameters:
  • params (Any | None)

  • kwargs (Any)

get_source(_warn=True)#

Return source specified by source_loc attribute.

Parameters:

_warn (bool)

Return type:

T_Source_co

source_loc: T_Source_co#

Location of the source to return.