Use the output of a module inside a class (including task (generator)

In reply to saketa:

I guess set_dlay is a function. Where do you define it?
If it is in a package you have to import this package in module sdm_rnm.