Azure / Azure/azure-functions-durable-python

Add to docs what types are supported out of the box

Đang mở
#421 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
documentation
Ngôn ngữ chính
Python
Star
157
Fork
70
Merge trung bình
2 ngày 10 giờ
Pull request đã merge (30 ngày)
2

Mô tả

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`.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.