View Single Post
Old 10-08-2022, 01:28 PM   #24
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,509
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by capink View Post
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?
Not easily. My bad -- I hadn't considered external data that the instance didn't create. I will add the globals dict as a third argument.
Quote:
While at it, is there a way to pass the chain instance itself?
I am not sure what you mean or what problem you are solving, but if the globals dict is there can you do it with that? Perhaps using an 'odd' key?
chaley is offline   Reply With Quote