@@ -61,15 +61,15 @@ def list(self, instance: Dict, is_valid=True):
6161 self .is_valid (raise_exception = True )
6262 KnowledgeWorkflowActionListQuerySerializer (data = instance ).is_valid (raise_exception = True )
6363 return [{'id' : a .id , 'knowledge_id' : a .knowledge_id , 'state' : a .state ,
64- 'details' : a . details , ' meta' : a .meta , 'run_time' : a .run_time } for a in self .get_query_set (instance )]
64+ 'meta' : a .meta , 'run_time' : a .run_time } for a in self .get_query_set (instance )]
6565
6666 def page (self , current_page , page_size , instance : Dict , is_valid = True ):
6767 if is_valid :
6868 self .is_valid (raise_exception = True )
6969 KnowledgeWorkflowActionListQuerySerializer (data = instance ).is_valid (raise_exception = True )
7070 return page_search (current_page , page_size , self .get_query_set (instance ),
7171 lambda a : {'id' : a .id , 'knowledge_id' : a .knowledge_id , 'state' : a .state ,
72- 'details' : a . details , ' meta' : a .meta , 'run_time' : a .run_time })
72+ 'meta' : a .meta , 'run_time' : a .run_time })
7373
7474 def action (self , instance : Dict , user , with_valid = True ):
7575 if with_valid :
0 commit comments