HandlerParameters Class Reference

class configparserenhanced.HandlerParameters.HandlerParameters[source]

Bases: object

Contains the set of parameters that we pass to handlers.

property data_internal
property data_shared
property handler_name
property op
property params
property raw_option
property section_root
property value
configparserenhanced.HandlerParameters.value_len_eq_2(value)[source]

Validates that the length of the paramter is equal to 2.

Assumes that value is an interable.

Returns:

0 (FAIL) if length != 2, otherwise 1 (PASS).

Return type:

int