Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rokatyy committed Apr 21, 2024
1 parent 11f4726 commit cd40108
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nuclio_sdk/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ def _decode_single_event(single_event_data):

return self.decode_single_or_list_event(parsed_data, _decode_single_event)

@staticmethod
def _from_msgpack_decoded(parsed_data):
def _from_msgpack_decoded(self, parsed_data):
def _decode_single_event(single_event_data):
event_body = single_event_data["body"]
if single_event_data["content_type"] == "application/json":
Expand Down

0 comments on commit cd40108

Please sign in to comment.