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

Move MatrixClient._sync method to MatrixClient.sync

Open
#192 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

  • Docstring for _sync needs to be written.
  • Make sure the _sync method signature is what we want to expose to users
    long-term.
  • Rename _sync to sync.
  • Deprecate listen_for_events.

Some discussion of this plan on #173.

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

Review the discussion on #173 first, then locate MatrixClient._sync and listen_for_events. Clarify the long-term public signature before renaming _sync to sync, document it, and deprecate listen_for_events; done means all four checklist items are resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.