File tree 1 file changed +2
-4
lines changed
azure_functions_worker/bindings
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 20
20
21
21
22
22
def _check_http_input_type_annotation (bind_name : str , pytype : type ) -> bool :
23
- if sys .version_info .minor >= BASE_EXT_SUPPORTED_PY_MINOR_VERSION and \
24
- is_envvar_true (PYTHON_ENABLE_INIT_INDEXING ):
23
+ if sys .version_info .minor >= BASE_EXT_SUPPORTED_PY_MINOR_VERSION :
25
24
import azure .functions .extension .base as ext_base
26
25
if ext_base .HttpV2FeatureChecker .http_v2_enabled ():
27
26
return ext_base .RequestTrackerMeta .check_type (pytype )
@@ -31,8 +30,7 @@ def _check_http_input_type_annotation(bind_name: str, pytype: type) -> bool:
31
30
32
31
33
32
def _check_http_output_type_annotation (bind_name : str , pytype : type ) -> bool :
34
- if sys .version_info .minor >= BASE_EXT_SUPPORTED_PY_MINOR_VERSION and \
35
- is_envvar_true (PYTHON_ENABLE_INIT_INDEXING ):
33
+ if sys .version_info .minor >= BASE_EXT_SUPPORTED_PY_MINOR_VERSION :
36
34
import azure .functions .extension .base as ext_base
37
35
if ext_base .HttpV2FeatureChecker .http_v2_enabled ():
38
36
return ext_base .ResponseTrackerMeta .check_type (pytype )
You can’t perform that action at this time.
0 commit comments