You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixestraceloop#2320
Add test cases for dataclass serialization in workflows and tasks.
* **Test Workflows**: Add a new test case `test_dataclass_serialization_workflow` in `packages/traceloop-sdk/tests/test_workflows.py` to verify dataclass serialization in workflows.
* **Test Tasks**: Add a new test case `test_dataclass_serialization_task` in `packages/traceloop-sdk/tests/test_tasks.py` to verify dataclass serialization in tasks.
* **Dataclass Definition**: Define a `TestDataClass` dataclass used in the new test cases.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/traceloop/openllmetry/issues/2320?shareId=XXXX-XXXX-XXXX-XXXX).
Which component is this bug for?
Traceloop SDK
📜 Description
When sending dataclasses as parameters, they're not logged as inputs and outputs of workflows and tasks
👟 Reproduction steps
👍 Expected behavior
👎 Actual Behavior with Screenshots
🤖 Python Version
No response
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: