mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-10-31 15:06:42 +00:00 
			
		
		
		
	🔥 remove deprecated State param (#1160)
This commit is contained in:
		| @@ -252,12 +252,6 @@ class StateInner(T_State): | ||||
|     ... | ||||
|  | ||||
|  | ||||
| def State() -> T_State: | ||||
|     """**Deprecated**: 事件处理状态参数,请直接使用 {ref}`nonebot.typing.T_State`""" | ||||
|     warnings.warn("State() is deprecated, use `T_State` instead", DeprecationWarning) | ||||
|     return StateInner() | ||||
|  | ||||
|  | ||||
| class StateParam(Param): | ||||
|     """事件处理状态参数""" | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user