We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 119318e commit 5d73f96Copy full SHA for 5d73f96
function_schema/core.py
@@ -38,7 +38,7 @@ def is_doc_meta(obj):
38
"""
39
return getattr(obj, '__class__') == Doc and hasattr(obj, 'documentation')
40
41
-def unwrap_doc(obj: Doc | str):
+def unwrap_doc(obj: typing.Union[Doc, str]):
42
43
Get the documentation string from the given object.
44
Parameters:
0 commit comments