Commented-out changes that shouldn't have been included in previous comment.
@@ -422,7 +422,7 @@ class DecoratedEvent(AggregateEvent[Any]):
event_obj_dict.pop("originator_version")
event_obj_dict.pop("timestamp")
original_method = original_methods[type(self)]
- method_signature = inspect.signature(original_method)
+ # method_signature = inspect.signature(original_method)
# # args = []
# # for name, param in method_signature.parameters.items():
# for name in method_signature.parameters:
@@ -431,7 +431,7 @@ class DecoratedEvent(AggregateEvent[Any]):
# # if param.kind == param.POSITIONAL_ONLY:
# # args.append(event_obj_dict.pop(name))
# # original_method(aggregate, *args, **event_obj_dict)
- _del_kwargs_not_mentioned_in_sig(event_obj_dict, original_method)
+ # _del_kwargs_not_mentioned_in_sig(event_obj_dict, original_method)
returned_value = original_method(aggregate, **event_obj_dict)
if returned_value is not None:
