Azure / azure-functions-python-worker

Python worker for Azure Functions.
http://aka.ms/azurefunctions
MIT License
331 stars 100 forks source link

feat: Http V2 Support #1455

Closed YunchuWang closed 2 months ago

YunchuWang commented 3 months ago

Http V2 Worker Changes (only supporting for python 3.8+)

Related github issues https://github.com/Azure/azure-functions-python-worker/discussions/1349 https://github.com/Azure/azure-functions-python-worker/issues/929

Related public documentations Azure Functions: Support for HTTP Streams in Node.js is now in Preview - Microsoft Community Hub

PR information

Quality of Code and Contribution Guidelines

codecov-commenter commented 2 months ago

Codecov Report

Attention: Patch coverage is 48.51064% with 121 lines in your changes are missing coverage. Please review.

Project coverage is 46.68%. Comparing base (330783f) to head (15ba6b4). Report is 2 commits behind head on dev.

:exclamation: Current head 15ba6b4 differs from pull request most recent head 87399e7. Consider uploading reports for the commit 87399e7 to get more accurate results

Files Patch % Lines
azure_functions_worker/http_v2.py 45.08% 93 Missing and 2 partials :warning:
azure_functions_worker/dispatcher.py 12.00% 22 Missing :warning:
azure_functions_worker/bindings/meta.py 78.94% 2 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #1455 +/- ## =========================================== - Coverage 84.64% 46.68% -37.97% =========================================== Files 35 36 +1 Lines 2052 2277 +225 Branches 387 327 -60 =========================================== - Hits 1737 1063 -674 - Misses 232 1136 +904 + Partials 83 78 -5 ``` | [Flag](https://app.codecov.io/gh/Azure/azure-functions-python-worker/pull/1455/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azure) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/Azure/azure-functions-python-worker/pull/1455/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azure) | `46.50% <47.65%> (-38.10%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azure#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

gavin-aguiar commented 2 months ago

Update the description