dev: Refactor legacy
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start with the linked inheritance example in ydb/table.py around line 89, then inspect nearby Python 2 patterns and typing imports. Confirm the intended refactoring scope before changing files; done means the agreed legacy patterns are removed while Python 3.10+ compatibility is preserved and the project tests pass.
Written by the indexing model from the issue text.
Description
Our codebase still contains legacy Python 2 patterns, even though Python 2 is now end-of-life. For instance, explicit inheritance from object is redundant in Python 3. Also, while we could replace typing imports (e.g., List, Dict) with built-in generics (list, dict) since we're on Python 3.9+. Project already requires Python 3.10+. What do you think about a small refactoring? I’d like to work on it.
- Dominant language
- Python
- Stars
- 102
- Forks
- 75
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 13
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.
More from ydb-platform/ydb-python-sdk
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ydb-platform/ydb-python-sdk#290 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
ydb-platform/ydb-python-sdk#897 ·
-
enhancement
ydb-platform/ydb-python-sdk#895 · 1 comment · 1 assignee ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
ydb-platform/ydb-python-sdk#876 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ydb-platform/ydb-python-sdk#866 · 1 comment ·
All issues in ydb-platform/ydb-python-sdk
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100