Quote:
Originally Posted by chaley
I have wondered about that and haven't been able to find a use case that class instances (e.g., self.my_data) doesn't cover. Do you have one in mind, taking into consideration of the lifetime of of globals and the class instance? Is there something in action chains that would use it?
If you need it, adding it would trivial as a third argument.
|
For example, I do pass event arguments to all the chains invoked by the event using the globals dict (event_args variable). How would I be able to do this self.my_data?
While at it, is there a way to pass the chain instance itself?