Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
e59e1f50
Commit
e59e1f50
authored
May 30, 2024
by
Беклемишев Петр Алексеевич
Browse files
Fix rebase artifacts
parent
e1fa453e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
backend/apps/webui/internal/db.py
backend/apps/webui/internal/db.py
+3
-7
No files found.
backend/apps/webui/internal/db.py
View file @
e59e1f50
import
json
from
peewee
import
*
from
peewee_migrate
import
Router
from
playhouse.db_url
import
connect
from
config
import
SRC_LOG_LEVELS
,
DATA_DIR
,
DATABASE_URL
,
BACKEND_DIR
import
os
import
logging
import
json
from
peewee
import
*
from
peewee_migrate
import
Router
from
playhouse.db_url
import
connect
from
apps.webui.internal.wrappers
import
PeeweeConnectionState
,
register_peewee_databases
from
config
import
SRC_LOG_LEVELS
,
DATA_DIR
,
DATABASE_URL
from
config
import
SRC_LOG_LEVELS
,
DATA_DIR
,
DATABASE_URL
,
BACKEND_DIR
log
=
logging
.
getLogger
(
__name__
)
log
.
setLevel
(
SRC_LOG_LEVELS
[
"DB"
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment