Skip to content

Conversation

@SunnyR
Copy link
Contributor

@SunnyR SunnyR commented Jun 21, 2024

Summary

  • Fixes for missing attributes on the class.
  • [json] Use json.dumps() function directly in export_set().
  • [yaml] Use yaml.dump() and yaml.safe_dump() function directly in export_set().
  • [yaml] Dropped keyword argument ordered as plain dicts are already ordered since Python 3.6 - Removed OrderedDict usage jazzband/tablib#581.
Related Links
Ready for QA Checklist
  • Code Review
  • Dev QA
  • Rebase and Squash

@SunnyR SunnyR self-assigned this Jun 21, 2024
@SunnyR SunnyR requested a review from kgojmerac June 21, 2024 15:02
Copy link

@kgojmerac kgojmerac left a comment

Choose a reason for hiding this comment

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

+1

Fixes look ok to me, added one comment where some reordering may be occurring but otherwise nothing jumped out.

The new tests added to cover the errors hit in the export_set functions look adequate to me for new coverage for validating the bug fix, so I don't think we need to add any additional tests right now.

@SunnyR SunnyR merged commit 7b73f6a into master Jun 21, 2024
@SunnyR SunnyR deleted the fix/pie-1773/library-export branch June 21, 2024 23:07
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.

3 participants