get_file_diff doesn't work for projects that changed schema
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by tracing get_file_diff and get_versions_with_file_changes, focusing on how file_history entries are handled when a schema change leaves no diff. Reproduce a version range containing a schema change, then verify that the unsupported range produces the intended exception rather than attempting a file diff.
Written by the indexing model from the issue text.
Description
If you change the schema there is no diff in file_history, but this version is still in get_versions_with_file_changes returned list.
Probably for such case the function should return exception that diff is not supported for this version range.
- Dominant language
- Python
- Stars
- 23
- Forks
- 12
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 7
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 MerginMaps/python-api-client
-
Vacuuming Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
MerginMaps/python-api-client#320 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
MerginMaps/python-api-client#270 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
MerginMaps/python-api-client#257 · 3 comments ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 25/100
MerginMaps/python-api-client#254 · 1 comment ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
MerginMaps/python-api-client#245 ·
All issues in MerginMaps/python-api-client
Similar issues
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DiamondLightSource/dodal#2211 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openml/openml-python#1749 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sipyourdrink-ltd/bernstein#6191 ·