Default tag
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.1k
- Forks
- 193
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 15
Description
Description
Hi, is there any ways to default a tag? for example
bookTicker: {'u': 26218595314, 's': 'ETHUSDT', 'b': '1670.39000000', 'B': '86.53880000', 'a': '1670.40000000', 'A': '70.13720000'} # which does not has 'e' in the message
depthUpdate: {'e': 'depthUpdate', 'E': 1692526763992, 's': 'BTCUSDT', 'U': 38408158254, 'u': 38408158256, 'b': [['13062.23000000', '0.00091000']], 'a': [['26126.94000000', '0.11860000']]}
(from the binance websocket streams)
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 reproducing the reported Binance websocket examples and review msgspec's existing handling of mappings or tagged messages. The issue is resolved when the supported way to provide a default tag for messages without an 'e' field is defined and verified against both bookTicker and depthUpdate data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100