reporter_utils.extractions.Extraction

class reporter_utils.extractions.Extraction(key: str, definition_file: Path)

Bases: object

__init__(key: str, definition_file: Path)

Methods

__init__(key, definition_file)

extract([out, extractfmt, top])

extract_field(obj, field, *, extractfmt)

extract_obj_attr(obj, attrs, *[, vars_lookup])

filter(obj, *params)

finalize_extracted_obj(obj)

get_obj_attr(obj, attr)

Default function for extract_obj_attr.

get_obj_name_or_ignore_reason(obj)

get_objs(**options)

sum(obj, *params)

get_obj_attr(obj, attr: str)

Default function for extract_obj_attr.