2
0

go_api_w_watch_list.py 309 B

123456789
  1. from .tool.func import *
  2. async def api_w_watch_list(name = 'Test', do_type = 'watch_list', num = 1):
  3. other_set = {}
  4. other_set["name"] = name
  5. other_set["do_type"] = do_type
  6. other_set["num"] = str(num)
  7. return flask.jsonify(await python_to_golang(sys._getframe().f_code.co_name, other_set))