Skip to content

Commit

Permalink
remove third param in deserialize function
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelDkhn committed Feb 14, 2024
1 parent 7700e55 commit 058094d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions osiris/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,21 +96,20 @@ def serialize(input_file: str, fp_impl: str = 'FP16x16'):


@app.command()
def deserialize(serialized: str, data_type: str, fp_impl: str = 'FP16x16'):
def deserialize(serialized: str, data_type: str):
"""
Deserialize a serialized string into a specific data type.
Args:
serialized (str): Serialized data in string format.
data_type (str): The type of data to deserialize into.
fp_impl (str): Fixed-point implementation detail.
Returns:
Deserialized data.
"""
typer.echo("🚀 Starting deserialization process...")

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

return deserialized
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "giza-osiris"
version = "0.2.4"
version = "0.2.5"
description = "Osiris is a Python library designed for efficient data conversion and management, primarily transforming data into Cairo programs"
authors = ["Fran Algaba <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 058094d

Please sign in to comment.