如何解决使用自定义装饰器时Pylance 类型检测错误?-灵析社区

希望奇迹发生_1

加上这个试试,测试是可以的 from typing import Callable def execute(func) -> Callable[..., Result]:

阅读量:1

点赞量:0

问AI