# Same callback is getting invoked for both get & set operation

**URL:** <https://dmap-community.ductus.global/t/same-callback-is-getting-invoked-for-both-get-set-operation/4139>\
**Category:** YANG\
**Created:** [July 11, 2022, 10:52am UTC](https://dmap-community.ductus.global/t/same-callback-is-getting-invoked-for-both-get-set-operation/4139 "2022-07-11T10:52:10Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![cohult](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/cohult/32/221_2.png) [@cohult](https://dmap-community.ductus.global/u/cohult)\
**Post date:** [July 21, 2023, 2:39pm UTC](https://dmap-community.ductus.global/t/same-callback-is-getting-invoked-for-both-get-set-operation/4139/14 "2023-07-21T14:39:54Z")

</div>

Suggest not to use the CLI if you are looking for somewhat more predictable callback invocations. The CLI is a human-to-machine interface, so ConfD must fetch data for things like tab-complete, table look-ahead, etc. Use NETCONF or RESTCONF instead.

---

_[View the full topic](https://dmap-community.ductus.global/t/same-callback-is-getting-invoked-for-both-get-set-operation/4139)._
