Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rokatyy committed May 7, 2024
1 parent d452949 commit f77bc74
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions hack/ci_assets/function/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ def handler(context: nuclio_sdk.Context, event: nuclio_sdk.Event):
"type": event.type,
"typeVersion": event.type_version,
"version": event.version,
"body": event.body
if isinstance(event.body, dict)
else event.body.decode("utf8"),
"body": (
event.body
if isinstance(event.body, dict)
else event.body.decode("utf8")
),
},
default=json_default,
),
Expand Down

0 comments on commit f77bc74

Please sign in to comment.