Skip to content
  • This project
    • Loading...
  • Sign in

胡边 / WebService-python-framework

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • WebService-python-framework
  • server
  • api
  • resources
  • user.py
  • 胡边's avatar
    first time enhancement for the code structure · 0c035fbd
    胡边 committed 2017-10-18 11:16:19 +0800
    0c035fbd Browse File
user.py 217 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# -*- coding: utf-8 -*-


from flask_restful import Resource


class UserResource(Resource):
    def get(self):
        return "server started"


class UserListResource(Resource):
    def get(self):
        return []