refac: modernize type annotations (PEP 604 / PEP 585)
This commit is contained in:
1 parent
a59c967d7e
commit
6d0295588e
197 files changed
+3265
-3488
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import logging
|
||||
from typing import Optional, Literal
|
||||
import requests
|
||||
from typing import Literal, Optional
|
||||
|
||||
import requests
|
||||
from open_webui.retrieval.web.main import SearchResult, get_filtered_results
|
||||
|
||||
MODELS = Literal[
|
||||
|
||||
Reference in new issue
Block a user