Skip to content

Commit bc9ca7f

Browse files
committed
fix
1 parent 5ce390a commit bc9ca7f

File tree

1 file changed

+2
-4
lines changed
  • azure_functions_worker/bindings

1 file changed

+2
-4
lines changed

azure_functions_worker/bindings/meta.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020

2121

2222
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:
2524
import azure.functions.extension.base as ext_base
2625
if ext_base.HttpV2FeatureChecker.http_v2_enabled():
2726
return ext_base.RequestTrackerMeta.check_type(pytype)
@@ -31,8 +30,7 @@ def _check_http_input_type_annotation(bind_name: str, pytype: type) -> bool:
3130

3231

3332
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:
3634
import azure.functions.extension.base as ext_base
3735
if ext_base.HttpV2FeatureChecker.http_v2_enabled():
3836
return ext_base.ResponseTrackerMeta.check_type(pytype)

0 commit comments

Comments
 (0)