Azure / azure-functions-python-worker

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

Setting pythonpath for all environments #1180

Closed gavin-aguiar closed 1 year ago

gavin-aguiar commented 1 year ago

Description

Setting pythonpath to add customer dependencies for all environments. This change would resolve issues with custom containers using custom libraries.

Fixes #


PR information

Quality of Code and Contribution Guidelines

codecov[bot] commented 1 year ago

Codecov Report

Merging #1180 (8f68a10) into dev (840a894) will decrease coverage by 53.00%. The diff coverage is n/a.

:exclamation: Current head 8f68a10 differs from pull request most recent head 2fad546. Consider uploading reports for the commit 2fad546 to get more accurate results

@@             Coverage Diff             @@
##              dev    #1180       +/-   ##
===========================================
- Coverage   84.91%   31.92%   -53.00%     
===========================================
  Files          34       34               
  Lines        1889     1889               
  Branches      363      363               
===========================================
- Hits         1604      603     -1001     
- Misses        220     1285     +1065     
+ Partials       65        1       -64     
Flag Coverage Δ
unittests 31.92% <ø> (-52.94%) :arrow_down:

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

Impacted Files Coverage Δ
...e_functions_worker/bindings/nullable_converters.py 21.62% <0.00%> (-78.38%) :arrow_down:
azure_functions_worker/functions.py 25.00% <0.00%> (-71.28%) :arrow_down:
.../shared_memory_data_transfer/file_accessor_unix.py 19.60% <0.00%> (-69.61%) :arrow_down:
azure_functions_worker/dispatcher.py 19.74% <0.00%> (-69.24%) :arrow_down:
azure_functions_worker/utils/tracing.py 31.81% <0.00%> (-68.19%) :arrow_down:
azure_functions_worker/utils/common.py 33.33% <0.00%> (-66.67%) :arrow_down:
azure_functions_worker/bindings/meta.py 25.30% <0.00%> (-57.84%) :arrow_down:
...ared_memory_data_transfer/shared_memory_manager.py 26.80% <0.00%> (-55.68%) :arrow_down:
...s/shared_memory_data_transfer/shared_memory_map.py 28.57% <0.00%> (-55.36%) :arrow_down:
azure_functions_worker/bindings/datumdef.py 20.13% <0.00%> (-54.17%) :arrow_down:
... and 14 more

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