Skip to content

Commit 142b5ce

Browse files
committed
merge fix
1 parent 7a8ce47 commit 142b5ce

File tree

1 file changed

+7
-3
lines changed
  • azure_functions_worker/bindings

1 file changed

+7
-3
lines changed

azure_functions_worker/bindings/meta.py

+7-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
deferred_bindings_cache = {}
2828

2929

30-
def _check_http_input_type_annotation(bind_name: str, pytype: type, is_deferred_binding: bool) -> bool:
30+
def _check_http_input_type_annotation(bind_name: str, pytype: type,
31+
is_deferred_binding: bool) -> bool:
3132
if HttpV2Registry.http_v2_enabled():
3233
return HttpV2Registry.ext_base().RequestTrackerMeta \
3334
.check_type(pytype)
@@ -115,10 +116,13 @@ def is_trigger_binding(bind_name: str) -> bool:
115116
return binding.has_trigger_support()
116117

117118

118-
def check_input_type_annotation(bind_name: str, pytype: type) -> bool:
119+
def check_input_type_annotation(bind_name: str,
120+
pytype: type,
121+
is_deferred_binding: bool) -> bool:
119122
global INPUT_TYPE_CHECK_OVERRIDE_MAP
120123
if bind_name in INPUT_TYPE_CHECK_OVERRIDE_MAP:
121-
return INPUT_TYPE_CHECK_OVERRIDE_MAP[bind_name](bind_name, pytype, is_deferred_binding)
124+
return INPUT_TYPE_CHECK_OVERRIDE_MAP[bind_name](bind_name, pytype,
125+
is_deferred_binding)
122126

123127
binding = get_binding(bind_name, is_deferred_binding)
124128

0 commit comments

Comments
 (0)