pip install eve python from eve import Eve python app = Eve() yaml people: schema: firstname: type: string required: true lastname: type: string required: true datasource: driver: mongodb database: test python app = Eve(settings='settings.yml') python if __name__ == '__main__': app.run()


上一篇:
下一篇:
切换中文