textflint.input_layer.component.field.field

Field Base Class

class textflint.input_layer.component.field.field.Field(field_value, field_type=<class 'str'>, **kwargs)[source]

Bases: object

A helper class that represents input string that to be modified.

__init__(field_value, field_type=<class 'str'>, **kwargs)[source]
Parameters
  • field_value (string|int|list) – The string that Field represents.

  • field_type (str) – field value type