Azure / Azure/azure-functions-python-worker
Send IncludeEmptyEntriesInMessagePayload capability to host to get empty entries in payload
- Dominant language
- Python
- Stars
- 357
- Forks
- 116
- Avg merge
- 32m
- Merged PRs (30d)
- 1
Description
For trigger payloads of collection type(ex: event hub trigger payload with batched messages), host will [skip empty entries ](https://github.com/Azure/azure-functions-host/issues/8499)by default. We [recently made a host level change](https://github.com/Azure/azure-functions-host/pull/8642) so that host will not skip empty entries if worker includes `IncludeEmptyEntriesInMessagePayload` capability when advertising the capability list to host. The [dotnet worker was updated to send this capability](https://github.com/Azure/azure-functions-dotnet-worker/pull/1091/) if user opts in for that(_In the next major version, we will enable it by default_). Python worker should consider making similar change.
Contributor guide
Assessment
This issue has not been assessed yet.