Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelDkhn committed Dec 14, 2023
1 parent aab65f2 commit deb7bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osiris/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def deserialize(serialized: str, data_type: str, fp_impl: str = 'FP16x16'):
serialized = json.loads(serialized)
except json.JSONDecodeError as e:
typer.echo(f"Error: Invalid JSON - {e}")
raise typer.Exit(code=1) from e
raise typer.Exit(code=1) from e

deserialized = deserializer(serialized, data_type, fp_impl)
typer.echo("✅ Deserialization completed! 🎉")
Expand Down

0 comments on commit deb7bfc

Please sign in to comment.