Skip to content

Commit e991156

Browse files
author
Evan Roman
committed
Keep cmbd check
1 parent 83fc793 commit e991156

File tree

1 file changed

+2
-1
lines changed
  • azure_functions_worker/bindings

1 file changed

+2
-1
lines changed

azure_functions_worker/bindings/meta.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,8 @@ def deferred_bindings_decode(binding: typing.Any,
301301
global deferred_bindings_cache
302302

303303
# Only applies to Event Hub and Service Bus - cannot cache
304-
if (datum.value.source == "AzureEventHubsEventData"
304+
if (datum.type == "collection_model_binding_data"
305+
or datum.value.source == "AzureEventHubsEventData"
305306
or datum.value.source == "AzureServiceBusReceivedMessage"):
306307
return binding.decode(datum,
307308
trigger_metadata=metadata,

0 commit comments

Comments
 (0)