MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / _generate_session_id

Method _generate_session_id

src/services/flow_client.py:4276–4278  ·  view source on GitHub ↗

生成sessionId: ;timestamp

(self)

Source from the content-addressed store, hash-verified

4274 debug_logger.log_warning(f"[reCAPTCHA RemoteBrowser] 上报 finish 失败: {e}")
4275
4276 def _generate_session_id(self) -> str:
4277 """生成sessionId: ;timestamp"""
4278 return f";{int(time.time() * 1000)}"
4279
4280 def _generate_scene_id(self) -> str:
4281 """生成sceneId: UUID"""

Callers 10

upload_imageMethod · 0.95
generate_imageMethod · 0.95
upsample_imageMethod · 0.95
generate_video_textMethod · 0.95
generate_video_extendMethod · 0.95
upsample_videoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected