Amir Katz Thank you for posting this question in Microsoft Q&A. You are correct, in new V2 model, we have decorator-based approach instead of functions.json
file and the same has been described here.
Regarding your question on Timer trigger, it is not possible to return "Http" output since it is not supported yet. Currently, Python V2 is in preview and only specific triggers, bindings and output are supported. Please review Triggers and Inputs table for more info:
For more examples, see Python V2 model Azure Functions triggers and bindings (preview) and in that, you can see return type as None for Timer trigger whereas for supported examples, return type as func.HttpResponse
.
I hope this helps with your question and let me know if you have any other questions. Would be happy to answer any. For any feedback related to this feature or product, feel free to submit directly to our product team via https://feedback.azure.com/d365community/forum/9df02822-f224-ec11-b6e6-000d3a4f0da0
If you found the answer to your question helpful, please take a moment to mark it as "Yes" for others to benefit from your experience.