We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3072af0 commit 1c9187dCopy full SHA for 1c9187d
1 file changed
libyang/context.py
@@ -195,6 +195,8 @@ def __init__(
195
leafref_extended: bool = False,
196
leafref_linking: bool = False,
197
builtin_plugins_only: bool = False,
198
+ all_implemented: bool = False,
199
+ enable_imp_features: bool = False,
200
yanglib_path: Optional[str] = None,
201
yanglib_fmt: str = "json",
202
cdata=None, # C type: "struct ly_ctx *"
@@ -217,6 +219,10 @@ def __init__(
217
219
options |= lib.LY_CTX_LEAFREF_LINKING
218
220
if builtin_plugins_only:
221
options |= lib.LY_CTX_BUILTIN_PLUGINS_ONLY
222
+ if all_implemented:
223
+ options |= lib.LY_CTX_ALL_IMPLEMENTED
224
+ if enable_imp_features:
225
+ options |= lib.LY_CTX_ENABLE_IMP_FEATURES
226
# force priv parsed
227
options |= lib.LY_CTX_SET_PRIV_PARSED
228
0 commit comments