Skip to content

Commit 9abd205

Browse files
committed
fix: update return type to float on serialization handler
1 parent d8af901 commit 9abd205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aws_durable_execution_sdk_python_testing/web/serialization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def to_bytes(self, data: Any) -> bytes:
7373
f"Failed to serialize data to JSON: {str(e)}"
7474
)
7575

76-
def _default_handler(self, obj: Any) -> str:
76+
def _default_handler(self, obj: Any) -> float:
7777
"""Handle non-permitive objects."""
7878
if isinstance(obj, datetime):
7979
return obj.timestamp()

0 commit comments

Comments
 (0)