model_filter¶
-
class
yangify.model_filter.
ModelFilter
(include: List[str], exclude: List[str])¶ This class helps filtering YANG paths
-
include
¶ Paths starting with strings in this list will be included
-
exclude
¶ Paths matching exactly strings in this list will be excluded
-
check
(path: str) → bool¶ True
if the path matches the criteria to be included
-