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

Use filters to limit data pulled by /sync

Open
#153 4 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

We can check what kind of events we have hooks registered for and use the filter api to only pull needed data through /sync. This will help limit data usage for e.g. embedded applications.

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 by tracing the /sync entry point and the filter API in the Python SDK, then inspect how registered event hooks are represented. Determine how the sync request could limit returned data to events with registered hooks, and verify that embedded-app data usage is reduced without omitting needed events.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
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.