kragniz / kragniz/python-etcd3
leader ID None
Open
question
- Dominant language
- Python
- Stars
- 450
- Forks
- 194
- PR merge metrics
- No merged PRs in 30d
Description
python-etcd3 version 0.5.2
client.py
336 for m in self.members:
337 if m.id == status_response.leader:
338 leader = m
339 else:
340 # raise exception?
341 leader = None
leader maybe return None in most cases
Contributor guide
Research direction
Start in client.py around lines 336-341, where members are compared with status_response.leader and leader may be reset to None. Reproduce the leader lookup with the reported python-etcd3 0.5.2 behavior and verify that a matching member is retained instead of becoming None.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100