pyncm icon indicating copy to clipboard operation
pyncm copied to clipboard

更多的类型注释

Open glyh opened this issue 1 year ago • 1 comments

  • 现在如果downstream用户使用pyncm,pyright会在大部分被decorator包裹的函数调用处报错。因为pyright没办法推导出返回的类型。
    • 参考:https://github.com/microsoft/pyright/issues/774
  • async branch中的大部分函数都应该被标记成async。

如果欢迎PR我可以帮忙看一下。

glyh avatar Apr 18 '24 08:04 glyh

?

glyh avatar Jan 05 '25 11:01 glyh