04-01-2026 06:50 AM
I know this question was asked 7-8 years ago, but has the capability been added to know if a transaction that a python based service is processing is a dry-run or the real thing?
I know there is the `op` variable in the ... will represent if it is a "create" operation or an "upgrade" operation, but we want to know if it is an operation that affects the CDB (like commit or re-deploy), or if it is just a dry-run (no change to CDB).
Original question/answer: https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-check-if-it-is-a-dry-run-in-python-for-a-service/m-p/3756055#M2988
Solved! Go to Solution.
04-02-2026 01:25 AM
I believe you got good news to your original question in back in 2022:
https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-check-if-it-is-a-dry-run-in-python-for-a-service/m-p/4550700/highlight/true#M6825
04-02-2026 01:25 AM
I believe you got good news to your original question in back in 2022:
https://community.cisco.com/t5/nso-developer-hub-discussions/how-to-check-if-it-is-a-dry-run-in-python-for-a-service/m-p/4550700/highlight/true#M6825
04-02-2026 06:07 AM
I must have missed that later comment... thank you!
I will go back to the original post and accept it as the new solution.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide