Azure / azure-functions-python-library

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

Fix decorator typehints #162

Closed baluyotraf closed 1 year ago

baluyotraf commented 1 year ago

This fixes other type hints not covered by https://github.com/Azure/azure-functions-python-library/pull/160. https://github.com/Azure/azure-functions-python-library/pull/160 fixed all the callable related type hints, but some decorators do not have their parameter type hints fully defined.

The main issue is https://github.com/Azure/azure-functions-python-worker/issues/1161

codecov[bot] commented 1 year ago

Codecov Report

Merging #162 (3d8b8cc) into dev (1c7fc6c) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #162   +/-   ##
=======================================
  Coverage   90.25%   90.25%           
=======================================
  Files          51       51           
  Lines        2995     2995           
  Branches      796      796           
=======================================
  Hits         2703     2703           
  Misses        215      215           
  Partials       77       77           
Flag Coverage Δ
unittests 90.21% <ø> (ø)

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

Impacted Files Coverage Δ
azure/functions/decorators/function_app.py 99.44% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.