# Is a return statement missing in the parameter node wrapper?

**URL:** <https://discourse.slicer.org/t/is-a-return-statement-missing-in-the-parameter-node-wrapper/39724>\
**Category:** Development\
**Created:** [October 16, 2024, 1:46pm UTC](https://discourse.slicer.org/t/is-a-return-statement-missing-in-the-parameter-node-wrapper/39724 "2024-10-16T13:46:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [October 16, 2024, 1:46pm UTC](https://discourse.slicer.org/t/is-a-return-statement-missing-in-the-parameter-node-wrapper/39724/1 "2024-10-16T13:46:08Z")

</div>

In python modules created using the Extension wizard, _\_parameterNodeGuiTag_ is always _None_ on inspection. I’m wondering if this [line](https://github.com/Slicer/Slicer/blob/ba3a9fdc04c9f4fc47cad331f9160b6d7a0beded/Base/Python/slicer/parameterNodeWrapper/wrapper.py#L253) should return a value. Thanks for developers’ opinion.

---

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [October 16, 2024, 3:51pm UTC](https://discourse.slicer.org/t/is-a-return-statement-missing-in-the-parameter-node-wrapper/39724/2 "2024-10-16T15:51:53Z")

</div>

I am referring to [this](https://github.com/Slicer/Slicer/blob/ba3a9fdc04c9f4fc47cad331f9160b6d7a0beded/Utilities/Templates/Modules/Scripted/TemplateKey.py#L143) declaration in the scripted module template.
