algo_dict = { "helmet": "apps.helmet.algo.helmet" } class AiService: def analyse(codes: list, path: str): """多线程进行算法分析图片 Args: codes: 算法列表 path (str): 图片地址 """ for i in codes: if i in algo_dict: pass