File tree Expand file tree Collapse file tree
spawn/eigr/functions/actors/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ def register_timer_action_handler(function):
6363
6464
6565def invoke (function , parameters ):
66- print ("Parameters {}" .format (parameters ))
6766 ordered_parameters = []
6867 for parameter_definition in inspect .signature (function ).parameters .values ():
6968 annotation = parameter_definition .annotation
Original file line number Diff line number Diff line change 11from enum import Enum
2- from typing import Generic , TypeVar
2+ from typing import Generic , MutableMapping , TypeVar
33
44T = TypeVar ('T' )
55
@@ -18,12 +18,15 @@ def __init__(
1818 stateful : bool = True ,
1919 state_type : Generic [T ] = None ,
2020 channel : str = None ,
21+ metadata : MutableMapping [str , str ] = dict (),
22+ tags : MutableMapping [str , str ] = dict (),
2123 deactivate_timeout : int = 30000 ,
2224 snapshot_timeout : int = 2000 ):
2325 self .name = name
2426 self .kind = kind
2527 self .stateful = stateful
2628 self .state_type = state_type
2729 self .channel = channel
30+ self .tags = tags
2831 self .deactivate_timeout = deactivate_timeout
2932 self .snapshot_timeout = snapshot_timeout
You can’t perform that action at this time.
0 commit comments