How to verify that a leaf of type "empty" is in the Input of an ActionRequest #20
Answered
by
dhubler
sebastien-guay
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hmm, I looked and don't see a way. Can you open a bug?
…On Thu, Jan 12, 2023, 11:27 AM sguay ***@***.***> wrote:
Hi, I'm Sebastien and I work with Patrick Dumais. Our yang model has a
leaf of type empty. I would like to know how I can verify that this leaf
data is in the ActionRequest.Input?
Calling req.Input.GetValue() will always return nil whatever the leaf is
in the data or not.
Regards,
Sebastien
—
Reply to this email directly, view it on GitHub
<#20>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAACA7QMSCER33UVEWQQPMLWSAWGNANCNFSM6AAAAAATZOFCRU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sebastien-guay
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm Sebastien and I work with Patrick Dumais. Our yang model has a leaf of type
empty
. I would like to know how I can verify that this leaf data is in theActionRequest.Input
?Calling req.Input.GetValue() will always return
nil
whatever the leaf is in the data or not.Regards,
Sebastien
Beta Was this translation helpful? Give feedback.
All reactions