Skip to content

Commit aaf8cf3

Browse files
committed
add task_node attribute=executetype
1 parent c9bbcb6 commit aaf8cf3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

muagent/schemas/ekg/ekg_graph.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ class EKGTaskNodeSchema(EKGNodeSchema):
111111
# needcheck: bool
112112
# when to access
113113
accesscriteria: str
114+
executetype: str
114115
#
115116
# owner: str
116117

@@ -122,7 +123,7 @@ def attrbutes(self, ):
122123
"description": self.description,
123124
"teamids": self.teamids,
124125
"accesscriteria": self.accesscriteria,
125-
"needcheck": self.needcheck,
126+
"executetype": self.executetype,
126127
# "tool": self.tool
127128
},
128129
**extra_attr

tests/service/ekg_construct_test_2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ def generate_node(id, type):
104104

105105
if type == "opsgptkg_task":
106106
extra_attr["accesscriteria"] = "hello"
107+
extra_attr["executetype"] = "hello"
107108

108109
if type == "opsgptkg_analysis":
109110
extra_attr["accesscriteria"] = "hello"

0 commit comments

Comments
 (0)