Skip to content

Commit 7196a90

Browse files
author
Hanzhang Zeng (Roger)
committed
Revert "bindings meta"
This reverts commit e5e923d.
1 parent e5e923d commit 7196a90

File tree

1 file changed

+1
-6
lines changed
  • azure_functions_worker/bindings

1 file changed

+1
-6
lines changed

azure_functions_worker/bindings/meta.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,8 @@ def get_binding_registry():
1212

1313
if func is not None:
1414
return func.get_binding_registry()
15-
16-
try:
17-
import azure.functions as func
18-
return func.get_binding_registry()
19-
except ImportError:
15+
else:
2016
return None
21-
return None
2217

2318

2419
def get_binding(bind_name: str) -> object:

0 commit comments

Comments
 (0)