Azure / Azure/azure-functions-durable-python

Support having a "handle" field for the RetryOptions object

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

描述

Related - https://github.com/Azure/azure-functions-durable-js/issues/329

In retriable DF APIs, dotnet users can add a "handle" field to their "RetryOptions" object. This allows them to provide custom logic to determine whether or not to shortcircuit a retriable operation such that the task is no longer attempted. This is difficult to do in the OOProc model, but we should investigate how to enable it.

Some of the relevant dotnet documentation is here: https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.webjobs.extensions.durabletask.retryoptions?view=azure-dotnet

贡献指南

打开贡献指南

调研方向

首先查看此 Python repository 中的 RetryOptions API、相关 issue #329 以及链接的 .NET RetryOptions 文档。确定一个可行且兼容 OOProc 的 handle callback 设计,并定义预期的短路行为;当支持的方案和范围达成一致时即视为完成。

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

评估

技术栈
python
领域
backend-api-design
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

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