AutoRpa/rpa_yisaiqi/_flow_state.py

18 lines
522 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# coding=utf-8
"""多节点流程图(Main.seq)的跨节点共享状态容器。
艺赛旗编译 Main.seq 后,各代码节点的 PBCode 会在同一 Python 进程中执行。
本模块以「模块级全局变量」承载 browser / ctx / client / spec 等对象,
避免依赖艺赛旗对局部变量的拼接方式,让每个节点都能可靠地取到上一步的产物。
"""
spec = None
client = None
ctx = None
browser = None
submitted = False
contract_no = ""
fd_id = ""
is_dry_run = False
completed = False