File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -80,13 +80,13 @@ def messages(self):
8080 from .resources import Messages
8181 return Messages (self )
8282
83- # Defined at the top level here for convienience
83+ # Defined at the top level here for convenience
8484 def notify (
8585 self ,
8686 key ,
87- actor ,
8887 recipients ,
8988 data = {},
89+ actor = None ,
9090 cancellation_key = None ,
9191 tenant = None ):
9292 """
@@ -113,9 +113,9 @@ def notify(
113113 """
114114 # Note: this is essentially a delegated method
115115 return self .workflows .trigger (
116- key ,
117- actor ,
118- recipients ,
116+ key = key ,
117+ recipients = recipients ,
119118 data = data ,
119+ actor = actor ,
120120 cancellation_key = cancellation_key ,
121121 tenant = tenant )
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ class Workflows(Service):
55 def trigger (
66 self ,
77 key ,
8- actor ,
98 recipients ,
109 data = {},
10+ actor = None ,
1111 cancellation_key = None ,
1212 tenant = None ):
1313 """
You can’t perform that action at this time.
0 commit comments