MCPcopy Create free account
hub / github.com/Tong89/smartNode / scenario_current

Function scenario_current

backend/api.py:1014–1016  ·  view source on GitHub ↗

返回当前内存中保存的场景(若有);否则返回空。

()

Source from the content-addressed store, hash-verified

1012
1013@app.route('/api/scenario/current', methods=['GET'])
1014def scenario_current():
1015 """返回当前内存中保存的场景(若有);否则返回空。"""
1016 return ok(_saved_scene)
1017
1018
1019# ==========================================

Callers

nothing calls this directly

Calls 1

okFunction · 0.90

Tested by

no test coverage detected