Skip to content
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

Remove: 移除过时的 State 注入参数 #1160

Merged
merged 1 commit into from
Aug 20, 2022
Merged

Conversation

yanyongyu
Copy link
Member

- def handle(state: T_State = State()):
+ def handle(state: T_State):

@yanyongyu yanyongyu added enhancement New feature or request Breaking Breaking change labels Aug 19, 2022
@codecov
Copy link

codecov bot commented Aug 19, 2022

Codecov Report

Merging #1160 (91d6501) into master (0f70e97) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1160      +/-   ##
==========================================
+ Coverage   79.76%   79.79%   +0.03%     
==========================================
  Files          41       41              
  Lines        3172     3168       -4     
==========================================
- Hits         2530     2528       -2     
+ Misses        642      640       -2     
Flag Coverage Δ
unittests 79.79% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
nonebot/internal/params.py 98.78% <ø> (+1.17%) ⬆️
nonebot/params.py 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@github-actions
Copy link
Contributor

🚀 Deployed on https://deploy-preview-1160--nonebot2.netlify.app

@github-actions github-actions bot temporarily deployed to pull request August 19, 2022 07:16 Inactive
@yanyongyu yanyongyu merged commit 4deae8f into master Aug 20, 2022
@yanyongyu yanyongyu deleted the update/remove-state branch August 20, 2022 02:17
@yanyongyu yanyongyu changed the title Feature: 移除过时的 State 注入参数 Remove: 移除过时的 State 注入参数 Aug 20, 2022
@yanyongyu yanyongyu removed the enhancement New feature or request label Aug 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking Breaking change
Development

Successfully merging this pull request may close these issues.

None yet

2 participants