Skip to content

Commit 3ff6074

Browse files
committed
schema: add store_only parameter to parse_data_dict
Sometimes it is necessary to store only the data. Signed-off-by: Jeremie Leska <[email protected]> Acked-by: Samuel Gauthier <[email protected]>
1 parent 74e08c4 commit 3ff6074

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libyang/schema.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ def parse_data_dict(
241241
rpc: bool = False,
242242
rpcreply: bool = False,
243243
notification: bool = False,
244+
store_only: bool = False,
244245
) -> "libyang.data.DNode":
245246
"""
246247
Convert a python dictionary to a DNode object following the schema of this
@@ -276,6 +277,7 @@ def parse_data_dict(
276277
rpc=rpc,
277278
rpcreply=rpcreply,
278279
notification=notification,
280+
store_only=store_only,
279281
)
280282

281283

0 commit comments

Comments
 (0)