Skip to main content
Version: 0.96

templates.DictTemplateSchema

class templates.DictTemplateSchema(*args, **kwargs)

Dictionary template

Parameters

NameTypeDefaultInfo
fieldstrField.
combiner{"ANY", "ALL", "NONE"}Combiner.
filepathstrPath to a file.
case_sensitiveboolFalseCase sensitive or not.
tokenizeboolTrueTokenize or not.
remove_headerboolFalseIf True, remove the first row.
class_indexint0Index of the column containing keywords.

artifact_config_keys

static artifact_config_keys()

The names of the fields in the template schema pydantic model that represent paths to files or directories that contain data which back the LF template. For example, paths to a dictionary on disk that’s used within an LF.

Return type

List[str]