TimeTrigger Azure Function Python API pass ScheduleStatus to function
See original GitHub issueWhat problem would the feature you’re requesting solve? Please describe.
The TimeTrigger Function pass a TimerRequest[1] object to the executed function. Unlike in the C# interface, the only property of the TimerRequest object is the past_due attribute.
Describe the solution you’d like
Pass all the information, which are discussed and listed in [2], e.g. the ScheduleStatus.
{` "Schedule":{ }, "ScheduleStatus": { "Last":"2016-10-04T10:15:00+00:00", "LastUpdated":"2016-10-04T10:16:00+00:00", "Next":"2016-10-04T10:20:00+00:00" }, "IsPastDue":false }
[1]https://docs.microsoft.com/de-de/python/api/azure-functions/azure.functions.timerrequest?view=azure-python [2]https://docs.microsoft.com/de-de/azure/azure-functions/functions-bindings-timer?tabs=csharp
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Timer trigger for Azure Functions | Microsoft Learn
This article explains how to work with timer triggers in Azure Functions. A timer trigger lets you run a function on a schedule....
Read more >Timer trigger Azure function - How to get datetime details of ...
So the 'Last' means the time you last trigger the function, no matter success or failure. And ScheduleStatus = new ScheduleStatus { Last ......
Read more >Azure Functions in Python | HTTP Triggers Pt. 1 - YouTube
With a high level overview of Azure functions under our belt we are going to ... video which covers how to create a...
Read more >Tutorial of Python Azure functions - Towards Data Science
Tutorial of Python Azure functions. Publish your code as an API without the traditional server setup. Introduction. Azure functions is a “serverless solution” ......
Read more >Understanding TimerTriggers in Azure Functions
The more triggers are fired on the Azure Function, the more functions are executed. If you choose for a consumption plan this can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As a workaround, you can set the input parameter to be
str
. Then you get all of the data in JSON format, and you can make your own class if you wish. For example: function.jsonsample.py
timer_request.py
Any update on this issue? The workaround works as described but is a workaround, the timer parameter should work as documented.