Skip to content

Conversation

@mobyw
Copy link
Member

@mobyw mobyw commented May 29, 2024

修复使用 console 适配器的单元测试示例代码中的 User 参数

class User:
    """用户"""

    id: str
    avatar: str = field(default="👤")
    nickname: str = field(default="User")

相关 PR:nonebot/adapter-console#34

@mobyw mobyw changed the title 📝 Docs: 修复插件测试示例代码 📝 Docs: 修复文档中的单元测试示例代码 May 29, 2024
@mobyw mobyw changed the title 📝 Docs: 修复文档中的单元测试示例代码 📝 Docs: 修复单元测试示例代码 May 29, 2024
@github-actions
Copy link
Contributor

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

@github-actions github-actions bot temporarily deployed to pull request May 29, 2024 11:27 Inactive
@yanyongyu yanyongyu added the documentation Improvements or additions to documentation label May 29, 2024
@yanyongyu yanyongyu changed the title 📝 Docs: 修复单元测试示例代码 Docs: 修复单元测试示例代码 May 30, 2024
@yanyongyu yanyongyu merged commit 38e4291 into nonebot:master May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Development

Successfully merging this pull request may close these issues.

2 participants