Merge remote-tracking branch 'origin/cyf_class_management' into lon_students_merge_code_test
# Conflicts: # class_management/database.py # class_management/main.py
This commit is contained in:
@@ -18,7 +18,6 @@ SessionLocal = sessionmaker(bind=engine,autocommit=False, autoflush=False)
|
||||
Base = declarative_base()
|
||||
|
||||
# 获取数据库会话依赖
|
||||
|
||||
def get_db():
|
||||
db = SessionLocal()
|
||||
try :
|
||||
|
||||
Reference in New Issue
Block a user