arjuna.engine.data.source module

class arjuna.engine.data.source.DataArrayDataSource(records, *, context)

Bases: arjuna.engine.data.source.DataSource

get_next()
reset()
should_exclude(data_record)
class arjuna.engine.data.source.DataClassDataSource(dclass, *vargs, context, **kwargs)

Bases: arjuna.engine.data.source.DataSource

get_next()
reset()
should_exclude(data_record)
terminate()
class arjuna.engine.data.source.DataFunctionDataSource(func, *vargs, context, **kwargs)

Bases: arjuna.engine.data.source.DataSource

get_next()
reset()
should_exclude(data_record)
terminate()
class arjuna.engine.data.source.DataSource(*, context)

Bases: object

property all_records
property context
get_name()
abstract get_next()
is_terminated()
next()
process(data_record)
abstract reset()
set_name(name)
abstract should_exclude(data_record)
terminate()
validate()
class arjuna.engine.data.source.DsvFileMapDataSource(path, delimiter='\t', *, context)

Bases: arjuna.engine.data.source.FileDataSource

process(data_record)
class arjuna.engine.data.source.DummyDataSource(*, context)

Bases: arjuna.engine.data.source.DataSource

get_next()
should_exclude(data_record)
class arjuna.engine.data.source.ExcelFileMapDataSource(path, *, context)

Bases: arjuna.engine.data.source.FileDataSource

process(data_record)
should_exclude(data_record)
class arjuna.engine.data.source.FileDataSource(path, *, context)

Bases: arjuna.engine.data.source.DataSource

get_next()
property path
property reader
reset()
should_exclude(data_record)
class arjuna.engine.data.source.IniFileDataSource(path, *, context)

Bases: arjuna.engine.data.source.FileDataSource

process(data_record)
class arjuna.engine.data.source.MultiDataSource(dsource_defs, *, context)

Bases: arjuna.engine.data.source.DataSource

get_next()
reset()
should_exclude(data_record)
class arjuna.engine.data.source.SingleDataRecordSource(record, *, context)

Bases: arjuna.engine.data.source.DataSource

get_next()
reset()
should_exclude(data_record)