Developing Azure Functions using the v2 programming model for Python | Azure Friday

  Рет қаралды 16,574

Microsoft Azure

Microsoft Azure

Күн бұрын

Gavin Aguiar and Shreya Batra join Scott Hanselman to discuss the v2 programming model for Azure Functions using Python, which provides an Azure Functions development experience that is more familiar to Python developers. Key features include triggers and bindings declared as decorators, a simplified folder structure, and support through easy to reference documentation.
Chapters:
00:00 - Introduction
01:18 - Azure Functions backgrounder
04:30 - v2 programming model for Python
06:40 - VS Code extension for v2 programming model for Python
08:40 - Demo: Create an Azure Function with the v2 programming model for Python
12:00 - Missing a Storage account...
14:00 - App decorators add the magic...
15:00 - Demo of a more complicated example
21:50 - Wrap-up
Recommended resources:
■ Azure Functions: V2 Python Programming Model - aka.ms/azfr/741/01
■ Azure Functions Python developer guide - aka.ms/azfr/741/02
■ Python V2 model Azure Functions triggers and bindings (preview) - aka.ms/azfr/741/03
■ Quickstart: Create a function in Azure with Python using Visual Studio Code - aka.ms/azfr/741/04
■ V2 Programming Model for Azure Functions using Python - aka.ms/azfr/741/05
■ Create a Pay-as-You-Go account (Azure) - aka.ms/azfr/741/payg
■ Create a free account (Azure) - aka.ms/azfr/741/free
Connect with us:
■ Scott Hanselman | @SHanselman - / shanselman
■ Shreya Batra | @BatraShreya - / batrashreya
■ Azure Friday | @AzureFriday - / azurefriday
■ Azure Functions | @AzureFunctions - / azurefunctions
■ Azure | @Azure - / azure
#Microsoft #Azure #AzureFriday

Пікірлер: 23
@databach6024
@databach6024 Жыл бұрын
Hi nice demo ! :) Can you show us how to run a non-http triggered function locally without http ? Like EventHub Trigger ? How can we emulate the EventHub ?
@prathibha_sangamalla
@prathibha_sangamalla Жыл бұрын
Can you please do a video on how to change the video formats in the azure blob itself.
@the_gask6070
@the_gask6070 Жыл бұрын
When is the Azure Docs team going to update the documentation to reflect the changes in V2 ? Most of the documentation is stuck in V1 (mentioning function.json and __init__.py that are not present in V2)
@MicrosoftAzure
@MicrosoftAzure Жыл бұрын
Hello there! To access information about the new programming model, make sure to select the "v2" option at the top of the documentation page. Note that not all the pages have been updated to include v2 documentation yet, but the team is currently working on updating the remaining pages. You can find helpful links to v2 documentation below. - Developer Reference Guide: msft.it/60585dUqi - Triggers & Bindings: msft.it/60595dUqc - Getting Started in VS Code: msft.it/60505dUqY - Getting Started in Core Tools: msft.it/60515dUql
@Xavwar
@Xavwar Жыл бұрын
Hi Shreya. should I migrate my code from the v1 model to the v2 model? thanks
@shreyabatra1208
@shreyabatra1208 5 ай бұрын
Hi Xavwar, you are welcome to migrate the code from v1 to v2 if you would like to use the new features for the v2 programming model in your development. However, there is no requirement to migrate your code at this time.
@Amivit
@Amivit Жыл бұрын
Super nice presentation! Would you like to come show it off at LEGO? ☺️ Also, can we use FastApi with Durable Functions? Any benefits to that or do you recommend just sticking with native if we have no specific needs/experience with fastapi? I’m wondering if it gives more control for the route
@MicrosoftAzure
@MicrosoftAzure Жыл бұрын
We are happy to hear the team enjoyed it 🙌 For the best assistance and support, we'd recommend reaching out to our team @AzureSupport. You can tag them in a post or DM them directly.
@user-jy8qs3lp9i
@user-jy8qs3lp9i 6 ай бұрын
I had timeout error very often, how should I do?
@tadastadux
@tadastadux 5 ай бұрын
is there a repo and tests avaiable please?
@MicrosoftAzure
@MicrosoftAzure 5 ай бұрын
Hello, you can find examples of triggers and binding using the v2 programming model here: msft.it/6051cO5ht 2Cpython-v2&pivots=programming-language-python#supported-bindings
@ingenieroluisfer
@ingenieroluisfer Жыл бұрын
👋🏼🇨🇴🧔🏻👍🏼🤝🏻 Saludos desde Colombia.
@tomlinsoncory
@tomlinsoncory Жыл бұрын
Azure functions are unbelievably frustrating to use which is made worse by very poor documentation and a support team that doesn’t understand the product. I tried to deploy a V2 Python function only to learn there is no support for Durable Functions in the V2 programming model. I love Azure, but this product needs a complete overhaul that includes accurate error reporting. Failing functions that report red herring errors in the logs make it impossible to troubleshoot problems.
@NielsBerglund
@NielsBerglund Жыл бұрын
I hear you! However, it seems that there is now support (limited perhaps) in v2 for durable functions.
@shreyabatra1208
@shreyabatra1208 Жыл бұрын
Hi Cory, I am sorry to hear about your experience with Azure Functions so far. Durable Functions is supported for the v2 programming model, and you can find more information on the official Microsoft docs, and the link is included in the video description with the title "Python V2 model Azure Functions triggers and bindings (preview)". If you do try it out, or if you have additional feedback for the team, we would love to hear from you. You can let the team know your comments directly by clicking the link in the description with the title "V2 Programming Model for Azure Functions using Python" and opening the discussion.
@JosiahWarren
@JosiahWarren Жыл бұрын
You must be kidding. I use azure functions for a year and it works like magic. I was not expecting that to be honest
@JosiahWarren
@JosiahWarren Жыл бұрын
​@@NielsBerglund i use durable functions in production code and the documentation. I had initial problem understqnding that the durable task framework just saves all the state at some checkpoints and then replays the workflow, but after i got that then everything became crystal clear.
@Amivit
@Amivit Жыл бұрын
This is a horrible misrepresentation of what Azure Functions actually are. You need to get some cloud learnings and experience before making a statement like that. Azure Functions are AMAZING and anyone coming from Google Cloud or AWS can quickly acknowledge that. The documentation isn’t perfect but stellar in comparison. Also backed by open source so we can all change what isn’t perfect ;)
@hasaniqbal813
@hasaniqbal813 Жыл бұрын
It’s not very poor, but extremely poor demo, what a shame…
@SarahTran1240
@SarahTran1240 2 ай бұрын
This demo does not really follow a logic to deploy a function and it made the audience found difficult to understand.
Durable functions in Python for Azure Functions | Azure Friday
18:19
Microsoft Azure
Рет қаралды 13 М.
Learn Azure Functions Python V2 (Local Setup and Examples)
28:04
Data Engineering With Nick
Рет қаралды 16 М.
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 48 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 29 МЛН
Authoring and deploying Azure resources with Bicep | Azure Friday
35:54
AZURE FUNCTIONS IN PYTHON | Python
58:18
Andrey Ivanov | Python
Рет қаралды 46 М.
Know your data types in Python with type hints
3:27
GeekTrainer
Рет қаралды 70
Managing, reporting, and reducing your costs in Azure | Azure Friday
26:11
Build serverless APIs with Azure Functions | Azure Friday
16:35
Microsoft Azure
Рет қаралды 31 М.
Introducing the Azure Developer CLI (azd) | Azure Friday
25:10
Microsoft Azure
Рет қаралды 16 М.
Yanlışlıkla Telefonumu Parçaladım!😱
0:18
Safak Novruz
Рет қаралды 6 МЛН
Nokia 3310 top
0:20
YT 𝒯𝒾𝓂𝓉𝒾𝓀
Рет қаралды 4,8 МЛН
Это iPhone 16
0:52
Wylsacom
Рет қаралды 2,9 МЛН