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 aa99ea0 commit 82e06b1Copy full SHA for 82e06b1
jupyter_ai_router/utils.py
@@ -3,7 +3,10 @@
3
"""
4
5
6
-def get_first_word(input_str: str) -> str | None:
+from typing import Optional
7
+
8
9
+def get_first_word(input_str: str) -> Optional[str]:
10
11
Finds the first word in a given string, ignoring leading whitespace.
12
0 commit comments