matrix-org / matrix-org/matrix-python-sdk
Use filters to limit data pulled by /sync
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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