Azure / Azure/azure-functions-durable-python

Add to docs what types are supported out of the box

未关闭
#421 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
documentation
主要语言
Python
星标
157
派生
70
平均合并
2 天 10 小时
30 天内合并 PR
2

描述

Feedback from a GBB working with a certain big clothing chain customer.

The customer was trying to return a tuple consisting of a list of custom type and Pandas dataframe. It was not obvious that when an activity function returns, it's actually serialized and deserialized back in the orchestrator function. They were getting error that the tuple didn't implement the `from_json` method .

There is an example in this repo on how to use a custom class as the result, but that's not mentioned anywhere in docs. Would be good to add what types are supported out of the box, i.e. those implementing `to_json` and `from_json`.

贡献指南

打开贡献指南

调研方向

Locate the existing repository example showing a custom class as an activity result and review the surrounding documentation. Add a clear explanation of serialization and deserialization, including which types are supported out of the box and the role of to_json and from_json. Include the tuple, custom type, and Pandas dataframe scenario, then verify the documentation is accurate against the existing example.

由索引模型根据 Issue 内容生成。

评估

技术栈
pandas, python
领域
documentation
Issue 类型
文档
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。