Azure / Azure/azure-functions-durable-python

Support having a "handle" field for the RetryOptions object

Open
#375 1 comment 0 reactions 0 assignees View on GitHub
Enhancement
Dominant language
Python
Stars
157
Forks
70
Avg merge
2d 10h
Merged PRs (30d)
2

Description

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

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the RetryOptions API in this Python repository, related issue #329, and the linked .NET RetryOptions documentation. Determine a feasible OOProc-compatible design for a handle callback and define the expected short-circuit behavior; done means the supported approach and scope are agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.