This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
beimingwu
/
learnware
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
1
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
[MNT] fix bug in db init
tags/v0.3.2
zouxiaochuan
2 years ago
parent
2e9bf05120
commit
b051fa9b1b
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
learnware/market/easy/database_ops.py
+ 1
- 0
learnware/market/easy/database_ops.py
View File
@@ -60,6 +60,7 @@ class DatabaseOperations(object):
if dbname.lower() not in db_list:
database_exists = False
conn.commit()
conn.execution_options(isolation_level="AUTOCOMMIT").execute(
text("CREATE DATABASE {0};".format(dbname))
)
Write
Preview
Loading…
Cancel
Save