feat: base handle_ticket 默认参数

This commit is contained in:
caoqianming 2025-11-09 20:11:32 +08:00
parent 058141151e
commit 0710696aa4
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ class WfService(object):
return field_info_dict
@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,
by_task: bool = False, by_hook: bool = False):
just_created = False