Skip to content

Commit

Permalink
save progress
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaPurtell committed Nov 14, 2024
1 parent c40c1f7 commit c5c3dbf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "synth-sdk"
version = "0.2.66"
version = "0.2.67"
description = ""
authors = [{name = "Synth AI", email = "[email protected]"}]
license = {text = "MIT"}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="synth-sdk",
version="0.2.66",
version="0.2.67",
packages=find_packages(),
install_requires=[
"opentelemetry-api",
Expand Down
4 changes: 2 additions & 2 deletions synth_sdk/tracing/abstractions.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ class Event:
def to_dict(self):
return {
"event_type": self.event_type,
"opened": self.opened,
"closed": self.closed,
"opened": self.opened.isoformat() if isinstance(self.opened, datetime) else self.opened,
"closed": self.closed.isoformat() if isinstance(self.closed, datetime) else self.closed,
"partition_index": self.partition_index,
"agent_compute_steps": [
step.to_dict() for step in self.agent_compute_steps
Expand Down

0 comments on commit c5c3dbf

Please sign in to comment.