We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a591055 commit 24fc8c1Copy full SHA for 24fc8c1
azure_functions_worker/loader.py
@@ -249,7 +249,8 @@ def get_fx_raw_bindings(indexed_function, function_info):
249
# 1. Library is imported
250
# 2. At least one binding is a defined deferred binding type
251
# 3. DEFERRED_BINDINGS_REGISTRY is not None
252
- if bindings.meta.DEFERRED_BINDINGS_ENABLED:
+ if (bindings.meta.DEFERRED_BINDINGS_ENABLED
253
+ and bindings.meta.DEFERRED_BINDINGS_REGISTRY is not None):
254
# Reset the flag
255
bindings.meta.DEFERRED_BINDINGS_ENABLED = False
256
return bindings.meta.DEFERRED_BINDINGS_REGISTRY.get_raw_bindings(
0 commit comments