Azure / azure-functions-python-library

Azure Functions Python SDK
MIT License
150 stars 63 forks source link

Adding V2 programming model support for Dapr Extension #181

Closed ASHIQUEMD closed 1 year ago

ASHIQUEMD commented 1 year ago

This PR adds Python V2 programming model support for Dapr bindings and triggers.

Triggers

  1. daprBindingTrigger
  2. daprServiceInvocationTrigger
  3. daprTopicTrigger

Bindings

  1. daprStateInput
  2. daprSecret
  3. daprState
  4. daprInvoke
  5. daprPublish
  6. daprBinding
codecov[bot] commented 1 year ago

Codecov Report

Merging #181 (e1adfe4) into dev (88f96d3) will increase coverage by 0.43%. The diff coverage is 98.85%.

:exclamation: Current head e1adfe4 differs from pull request most recent head 5f4ea2d. Consider uploading reports for the commit 5f4ea2d to get more accurate results

@@            Coverage Diff             @@
##              dev     #181      +/-   ##
==========================================
+ Coverage   90.70%   91.13%   +0.43%     
==========================================
  Files          55       57       +2     
  Lines        3183     3360     +177     
  Branches      822      841      +19     
==========================================
+ Hits         2887     3062     +175     
- Misses        219      220       +1     
- Partials       77       78       +1     
Flag Coverage Δ
unittests 91.10% <98.85%> (+0.43%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
azure/functions/__init__.py 100.00% <ø> (ø)
azure/functions/decorators/__init__.py 100.00% <ø> (ø)
...ure/functions/decorators/dapr/dapr_function_app.py 97.61% <97.61%> (ø)
azure/functions/decorators/constants.py 100.00% <100.00%> (ø)
azure/functions/decorators/dapr/dapr.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes