matrix-org / matrix-org/matrix-python-sdk

Consider allowing MatrixClient.__init__ to take sync_token kwarg

Open
#266 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Client layer enhancement
Dominant language
Python
Stars
266
Forks
118
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at MatrixClient.init and inspect how MatrixClient.sync_token is currently initialized and later used. Add support for the requested sync_token keyword argument, then verify that a client can resume with the supplied token without manual attribute assignment.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.