Fix a parsing issue where the iothub metadata is not handled properly. The iothub_metadata does not exist in trigger_metadata, instead, it is placed in SystemProperties (cardinality = one) and SystemPropertiesArray (cardinality = many)
Fix an issue where the IoTHub event messages are treated as single message. Since the message format is json, thus, it is handled with decode_single_event. This PR will make sure the cardinality is handled correctly.
Resolves https://github.com/Azure/azure-functions-python-worker/issues/418
json
, thus, it is handled withdecode_single_event
. This PR will make sure the cardinality is handled correctly.