We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e598da6 commit f868c54Copy full SHA for f868c54
1 file changed
src/humanloop/decorators/tool.py
@@ -213,7 +213,7 @@ def _build_function_parameters_property(func) -> _JSONSchemaFunctionParameters:
213
)
214
215
216
-if sys.version_info >= (3, 10):
+if sys.version_info >= (3, 11):
217
_PRIMITIVE_TYPES = Union[
218
str,
219
int,
@@ -223,7 +223,7 @@ def _build_function_parameters_property(func) -> _JSONSchemaFunctionParameters:
223
Ellipsis, # type: ignore
224
]
225
else:
226
- # Ellipsis not supported in typing module before Python 3.10
+ # Ellipsis not supported as type before Python 3.10
227
228
229
0 commit comments