mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-29 06:55:27 +08:00
16 lines
349 B
Python
16 lines
349 B
Python
# -*- coding: utf-8 -*-
|
|
from flask import Flask
|
|
from flask_sqlalchemy import SQLAlchemy
|
|
|
|
print ("Load paramters")
|
|
app = Flask(__name__)
|
|
app.config.from_object('engine.settings')
|
|
|
|
#创建数据库对象
|
|
print ("Create database instance")
|
|
db = SQLAlchemy(app)
|
|
|
|
from engine.model.IndexTable import IndexTable
|
|
|
|
from engine.controller import IndexManage
|