Skip to content

Commit a26ff87

Browse files
authored
Update Modles.py to support pydantic 2.0+ (#3)
Update Modles.py to support pydantic 2.0+
1 parent 7486b8c commit a26ff87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wechatrobot/Modles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from pydantic import BaseModel
1+
from pydantic.v1 import BaseModel
22

33
# login check
44
WECHAT_IS_LOGIN = 0 # 登录检查

0 commit comments

Comments
 (0)