Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow importing 'ragged' .xlsx files through dataset #547

Merged
merged 2 commits into from
Apr 11, 2023

Conversation

ClemenceAlain
Copy link
Contributor

@ClemenceAlain ClemenceAlain commented Apr 7, 2023

Fixes #465.

This is an almost blind copy paste of the work done by @claudep in #466 to allow importing ragged file through dataset also.
(#465 (comment))

@claudep
Copy link
Contributor

claudep commented Apr 7, 2023

Good catch! I wonder if it would be worth factorizing that sheet import loop between both methods so such mistakes are less probable in the future? What do you think?

@hugovk hugovk changed the title Fixes jazzband#465 - Allow importing 'ragged' .xlsx files through dataset Allow importing 'ragged' .xlsx files through dataset Apr 8, 2023
@codecov
Copy link

codecov bot commented Apr 8, 2023

Codecov Report

Merging #547 (1e37bce) into master (7f47b33) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #547   +/-   ##
=======================================
  Coverage   91.39%   91.40%           
=======================================
  Files          28       28           
  Lines        2720     2723    +3     
=======================================
+ Hits         2486     2489    +3     
  Misses        234      234           
Impacted Files Coverage Δ
src/tablib/formats/_xlsx.py 100.00% <100.00%> (ø)
tests/test_tablib.py 98.73% <100.00%> (+<0.01%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ClemenceAlain
Copy link
Contributor Author

Agreed ! I propose a new function import_sheet 1e37bce

Copy link
Contributor

@claudep claudep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@claudep
Copy link
Contributor

claudep commented Apr 11, 2023

@hugovk I'm not sure that if I "Rebase and merge", the commit message change you suggested will be taken into account. May I let you do the merge?

@hugovk hugovk merged commit cb21395 into jazzband:master Apr 11, 2023
@hugovk
Copy link
Member

hugovk commented Apr 11, 2023

Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tablib no longer able to import Google Docs exported xlsx
3 participants