Closed hallvictoria closed 1 month ago
Attention: Patch coverage is 0%
with 20 lines
in your changes are missing coverage. Please review.
Project coverage is 44.55%. Comparing base (
cd13c6a
) to head (8359a44
). Report is 1 commits behind head on dev.:exclamation: Current head 8359a44 differs from pull request most recent head 419d951
Please upload reports for the commit 419d951 to get more accurate results.
Files | Patch % | Lines |
---|---|---|
azure_functions_worker/bindings/datumdef.py | 0.00% | 10 Missing :warning: |
azure_functions_worker/bindings/generic.py | 0.00% | 10 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
Implicit output is now enabled for generic bindings, so the worker needs to support returning the same python types as it did when implicit output wasn't enabled. The other types that have been returned include:
TypedData only supports string, json, bytes, stream, http, int, double, collection types, and model_binding_data. Therefore, types that are not supported (dict, list, bool), are converted to supported types (json, json, int respectively).
Added E2E tests for all supported return types to check if the functions are executing correctly and unit tests to test the return values.
Fixes #
PR information
Quality of Code and Contribution Guidelines