feat: base handle_ticket 默认参数
This commit is contained in:
parent
058141151e
commit
0710696aa4
|
|
@ -297,7 +297,7 @@ class WfService(object):
|
||||||
return field_info_dict
|
return field_info_dict
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def handle_ticket(cls, ticket: Ticket, transition: Transition, workflow: Workflow, new_ticket_data: dict = {}, oinfo: dict = {}, handler: User = None,
|
def handle_ticket(cls, ticket: Ticket=None, transition: Transition=None, workflow: Workflow=None, new_ticket_data: dict = {}, oinfo: dict = {}, handler: User = None,
|
||||||
suggestion: str = '', by_timer: bool = False,
|
suggestion: str = '', by_timer: bool = False,
|
||||||
by_task: bool = False, by_hook: bool = False):
|
by_task: bool = False, by_hook: bool = False):
|
||||||
just_created = False
|
just_created = False
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue