Skip to content

Conversation

@YunchuWang
Copy link
Member

@YunchuWang YunchuWang commented Dec 5, 2022

Fix for Azure/azure-functions-python-worker#1135. Adding warmup context class as part of context class for customers to access in warmup function parameters.

@YunchuWang YunchuWang force-pushed the wangbill/warmup-context branch from fe3a3a3 to 5a4a3d4 Compare December 6, 2022 20:28
@codecov
Copy link

codecov bot commented Dec 6, 2022

Codecov Report

Merging #154 (1ca7496) into dev (132b8da) will increase coverage by 0.44%.
The diff coverage is 90.90%.

@@            Coverage Diff             @@
##              dev     #154      +/-   ##
==========================================
+ Coverage   89.69%   90.13%   +0.44%     
==========================================
  Files          50       50              
  Lines        2921     3002      +81     
  Branches      399      400       +1     
==========================================
+ Hits         2620     2706      +86     
+ Misses        223      220       -3     
+ Partials       78       76       -2     
Flag Coverage Δ
unittests 90.10% <90.90%> (+0.41%) ⬆️

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

Impacted Files Coverage Δ
azure/functions/_eventhub.py 92.10% <ø> (ø)
azure/functions/_http.py 93.04% <ø> (+0.73%) ⬆️
azure/functions/kafka.py 91.79% <ø> (ø)
azure/functions/servicebus.py 85.93% <ø> (ø)
azure/functions/_abc.py 75.91% <83.33%> (+0.65%) ⬆️
azure/functions/decorators/generic.py 100.00% <100.00%> (ø)
azure/functions/decorators/servicebus.py 100.00% <100.00%> (ø)
azure/functions/blob.py 100.00% <0.00%> (ø)
azure/functions/decorators/function_app.py 99.44% <0.00%> (+0.04%) ⬆️
azure/functions/decorators/utils.py 97.46% <0.00%> (+0.06%) ⬆️
... and 10 more

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

@YunchuWang YunchuWang merged commit bd11d48 into dev Dec 6, 2022
@YunchuWang YunchuWang deleted the wangbill/warmup-context branch December 6, 2022 21:34
YunchuWang added a commit that referenced this pull request Dec 14, 2022
YunchuWang added a commit that referenced this pull request Dec 14, 2022
YunchuWang added a commit that referenced this pull request Dec 16, 2022
YunchuWang added a commit that referenced this pull request Mar 2, 2023
* Revert "add warmup context (#154)"

This reverts commit bd11d48.

* add warmup converter

* add tests

* warmup context

* fix test style

---------

Co-authored-by: peterstone2017 <yunchuwang5@gmail.com>
Co-authored-by: Varad Meru <vrdmr@users.noreply.github.com>
Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants