pycoze 0.1.73__py3-none-any.whl → 0.1.74__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
pycoze/ui/base.py CHANGED
@@ -40,12 +40,7 @@ def get_ui():
40
40
  return json.load(f)
41
41
  else:
42
42
  assert by == "workflow"
43
- workflow_file = params["uiData"]["workflowFile"]
44
- node_id = params["uiData"]["nodeId"]
45
- with open(workflow_file, "r", encoding="utf-8") as f:
46
- cells = json.load(f)["graph"]["cells"]
47
- node = [cell for cell in cells if cell["id"] == node_id][0]
48
- return json.loads(node["data"]["ui"])
43
+ return params["uiData"]["uiRecord"][match_ui_file]
49
44
  except Exception as e:
50
45
  if i == 9:
51
46
  raise e
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycoze
3
- Version: 0.1.73
3
+ Version: 0.1.74
4
4
  Summary: Package for pycoze only!
5
5
  Author: Yuan Jie Xiong
6
6
  Author-email: aiqqqqqqq@qq.com
@@ -15,15 +15,15 @@ pycoze/bot/agent/agent_types/react_prompt.py,sha256=jyovokGaPzNIe5bvTRvn0gmsWLx5
15
15
  pycoze/gpu/__init__.py,sha256=cuxwDdz2Oo-VcwZ50FtFtEIJXdqoz2el-n0QpSt_NMc,75
16
16
  pycoze/gpu/gpu_reserve.py,sha256=JEyYh38v_RHolsqcIBoCjI8P-K-Ew3FsEyGhoISYmCQ,5415
17
17
  pycoze/ui/__init__.py,sha256=7xAfL2lfG7-jllPJEZUJO89xUE9sNzvo1y0WmBswjBI,458
18
- pycoze/ui/base.py,sha256=FFgiwST08PaaQOQc2-PNTjdoy_YoIWlmwGUWgL4YUdU,1603
18
+ pycoze/ui/base.py,sha256=SCXVDK7PpMaBv6ovvabHcfRq_d2AWM0BRyxpNhuJN5A,1285
19
19
  pycoze/ui/color.py,sha256=cT9Ib8uNzkOKxyW0IwVj46o4LwdB1xgNCj1_Rou9d_4,854
20
20
  pycoze/ui/typ.py,sha256=NpT0FrbHvByOszBZMFtroRp7I7pN-38tYz_zPOPejF4,1723
21
21
  pycoze/ui/ui_def.py,sha256=UhhU_yB3GV9ISbvTWT48hsHPHI250BhMILh6bu5Uioo,4206
22
22
  pycoze/utils/__init__.py,sha256=TNJhFfY7JYdLlzuP9GvgxfNXUtbgH_NUUJSqHXCxJn4,78
23
23
  pycoze/utils/arg.py,sha256=kA3KBQzXc2WlH5XbF8kfikfpqljiKaW7oY_GE4Qyffc,753
24
24
  pycoze/utils/text_or_file.py,sha256=gpxZVWt2DW6YiEg_MnMuwg36VNf3TX383QD_1oZNB0Y,551
25
- pycoze-0.1.73.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
26
- pycoze-0.1.73.dist-info/METADATA,sha256=YzpQkb9bF08UQ9IZbk4fVIcvzeFJWaFT2aRn6DG8Prk,719
27
- pycoze-0.1.73.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
28
- pycoze-0.1.73.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
29
- pycoze-0.1.73.dist-info/RECORD,,
25
+ pycoze-0.1.74.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
26
+ pycoze-0.1.74.dist-info/METADATA,sha256=E8JaxFVZGmkpjBpvIIJkiWp4YLrCN_orTD3PI7gaf2U,719
27
+ pycoze-0.1.74.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
28
+ pycoze-0.1.74.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
29
+ pycoze-0.1.74.dist-info/RECORD,,