File tree 1 file changed +7
-3
lines changed
azure_functions_worker/bindings
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 27
27
deferred_bindings_cache = {}
28
28
29
29
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 :
31
32
if HttpV2Registry .http_v2_enabled ():
32
33
return HttpV2Registry .ext_base ().RequestTrackerMeta \
33
34
.check_type (pytype )
@@ -115,10 +116,13 @@ def is_trigger_binding(bind_name: str) -> bool:
115
116
return binding .has_trigger_support ()
116
117
117
118
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 :
119
122
global INPUT_TYPE_CHECK_OVERRIDE_MAP
120
123
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 )
122
126
123
127
binding = get_binding (bind_name , is_deferred_binding )
124
128
You can’t perform that action at this time.
0 commit comments