- for nparam in prop_iterator(nresource_dict, *nprops): # get iterator of all target parameters
- if nparam: # iterator yields None if parameter isn't found
- for k1, v1 in properties.items(): # found nparam, now comparing to parent template
+ for nparam in prop_iterator(
+ nresource_dict, *nprops
+ ): # get iterator of all target parameters
+ if (
+ nparam and "get_param" in nparam
+ ): # iterator yields None if parameter isn't found
+ nparam = nparam.get("get_param")
+ for (
+ k1,
+ v1,
+ ) in (
+ properties.items()
+ ): # found nparam, now comparing to parent template