Skip to content

Commit

Permalink
fix return type for json example
Browse files Browse the repository at this point in the history
  • Loading branch information
purarue authored and karlicoss committed Oct 17, 2023
1 parent e31ceff commit 05f4ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ from bleanser.core.modules.json import JsonNormaliser, delkeys, Json
class Normaliser(JsonNormaliser):
# here, j is a dict, each file that this gets passed from the CLI call
# below is pre-processed by the cleanup function
def cleanup(self, j: Json) -> None:
def cleanup(self, j: Json) -> Json:
delkeys(j, keys={
'images',
})
Expand Down

0 comments on commit 05f4ee7

Please sign in to comment.