-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
启动时出现报错 #6
Comments
用了py3.10的语法 加个Optional和 Unino
***@***.***>
时间: 8月27日 (周日) 11:45
主题: [kexue-z/nonebot-plugin-dailysign] 启动时出现报错 (Issue #6)
***@***.***>
***@***.***>
[image: image]<https://user-images.githubusercontent.com/121467598/263507098-c46e8cd7-67a1-4811-a5c3-2855cbc2fcd1.png>
不太明白,格式不对?我也没改什么东西啊qwq
… —
Reply to this email directly, view it on GitHub<#6>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ARELD2RYIEPEW7O4XINPZBLXXK7DNANCNFSM6AAAAAA4AAYUUA>.
You are receiving this because you are subscribed to this thread.[image: https://github.com/notifications/beacon/ARELD2W74HTOPTOFY6KBLBLXXK7DNA5CNFSM6AAAAAA4AAYUUCWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHG6XFKUA.gif]Message ID: ***@***.***>
|
怎么做呢,求教qwq(没基础的铸币) |
先导入typing
from typing import Union
然后把那个 | 运算改成 Union[A,B] 就行
A B 就是上图的那个东西
… ***@***.***>
时间: 8月27日 (周日) 11:48
主题: Re: [kexue-z/nonebot-plugin-dailysign] 启动时出现报错 (Issue #6)
***@***.***>
***@***.***>, ***@***.***>
怎么做呢,求教qwq(没基础的铸币)
—
Reply to this email directly, view it on GitHub<#6 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ARELD2VTWMNIWJYLDHSZLDLXXK7RTANCNFSM6AAAAAA4AAYUUA>.
You are receiving this because you commented.[image: https://github.com/notifications/beacon/ARELD2W2MXVQ5BSQXLMIWY3XXK7RTA5CNFSM6AAAAAA4AAYUUCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTFAD22W.gif]Message ID: ***@***.***>
|
最简单的方法 升级py版本 |
导不进去没有union.....? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
不太明白,格式不对?我也没改什么东西啊qwq
The text was updated successfully, but these errors were encountered: