matrix-org / matrix-org/matrix-python-sdk
Consider allowing MatrixClient.__init__ to take sync_token kwarg
未关闭
还没有人认领这个 Issue。
Client layer
enhancement
- 主要语言
- Python
- 星标
- 266
- 派生
- 118
- PR 合并指标
- 30 天内没有已合并 PR
描述
This way users that want to just continue from where they left off last time don't have to muck about with manually setting MatrixClient.sync_token.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 MatrixClient.init 开始,检查 MatrixClient.sync_token 当前是如何初始化以及之后如何使用的。添加对所请求的 sync_token 关键字参数的支持,然后验证 client 可以使用提供的 token 继续运行,而无需手动赋值该属性。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- api
- Issue 类型
- 功能
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 45/100