mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #7943] bug: sqlalchemy.engine.result.Result is not a generic class #14939
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chtxia on GitHub (Dec 19, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7943
C:\Users\xxx>pip -V
pip 22.0.4 from C:\Users\xxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip (python 3.11)
C:\Users\xxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\typing_extensions.py:2922 in │
│ _check_generic │
│ │
│ 2919 │ │ This gives a nice error message in case of count mismatch. │
│ 2920 │ │ """ │
│ 2921 │ │ if not elen: │
│ > 2922 │ │ │ raise TypeError(f"{cls} is not a generic class") │
│ 2923 │ │ alen = len(parameters) │
│ 2924 │ │ if alen != elen: │
│ 2925 │ │ │ expect_val = elen │
│ │
│ ┌─────── locals ───────┐ │
│ │ elen = 0 │ │
│ │ parameters = (~_TP,) │ │
│ └──────────────────────┘ │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
TypeError: <class 'sqlalchemy.engine.result.Result'> is not a generic class
for help