为什么“未解决的属性参考”为什么错误仅显示disnake.user,但不显示disnake.member?
最奇怪的是,IDE对成员和用户的自动完成工作。但是“未解决的属性参考”错误仅显示用户。 为什么这样做的工作以及如何使成员也显示此错误?
Pycharm 2022.1.1(社区版) Python 3.10 分开2.5.1 pycharm screenshot
The weirdest thing is that ide autocomplete work on both Member and User. But "Unresolved attribute reference" error showing only with User.
Why it's work this way and how to make Member to show this error too?
PyCharm 2022.1.1 (Community Edition)
Python 3.10
Disnake 2.5.1
pycharm screenshot
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题是在Pycharm Linter中,我尝试了Mypy Linter,它可以正常工作
The problem was in the pycharm linter, I tried MyPy linter and it works as it should