We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a13fa9 commit 699bbbcCopy full SHA for 699bbbc
azure_functions_worker/loader.py
@@ -48,14 +48,13 @@ def uninstall() -> None:
48
49
50
def build_binding_protos(indexed_function: List[Function]) -> Dict:
51
- binding_protos = {}
52
- for binding in indexed_function.get_bindings():
53
- binding_protos[binding.name] = protos.BindingInfo(
+ return {
+ binding.name: protos.BindingInfo(
54
type=binding.type,
55
data_type=binding.data_type,
56
direction=binding.direction)
57
-
58
- return binding_protos
+ for binding in indexed_function.get_bindings()
+ }
59
60
61
def process_indexed_function(functions_registry: functions.Registry,
0 commit comments