nonebot2/tests/plugins/param/param_default.py

3 lines
59 B
Python
Raw Permalink Normal View History

2021-12-20 14:31:48 +08:00
async def default(value: int = 1) -> int:
return value