Parameters not available as instance properties after setup() #1013
-
Hi, I'm using the following minimal example for two methods that use module parameters:
this prints out
as expected, then fails at the call |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Self-answering: I forgot to use apply rather than calling the method directly. Calling it directly meant the parameters where not set. corrected function:
The |
Beta Was this translation helpful? Give feedback.
Self-answering: I forgot to use apply rather than calling the method directly. Calling it directly meant the parameters where not set. corrected function:
The
self.s2
version works as expected and is equivalent to theself.s1
version.