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

Change exclude_none back to exclude_unset #247

Merged
merged 1 commit into from
Jul 4, 2022

Conversation

alcarney
Copy link
Collaborator

@alcarney alcarney commented Jul 4, 2022

Description (e.g. "Related to ...", etc.)

This undoes the change in #236 as well as bring back the explicit setting of non None default fields as suggested in this comment

This commit also introduces serialization test cases that hopefully cover all the scenarios raised in #245, #231 and #198
Let me know if you think there are any other scenarios that should be covered by the new tests.

Closes #245

Code review checklist (for code reviewer to complete)

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
  • Title summarizes what is changing
  • Commit messages are meaningful (see this for details)
  • Tests have been included and/or updated, as appropriate
  • Docstrings have been included and/or updated, as appropriate
  • Standalone docs have been updated accordingly
  • CONTRIBUTORS.md was updated, as appropriate
  • Changelog has been updated, as needed (see CHANGELOG.md)

@alcarney alcarney force-pushed the undo-exclude-none branch from 934ba94 to 23a644c Compare July 4, 2022 19:00
This undoes the change in openlawlibrary#236 as well as bring back the explicit
setting of non `None` default fields as suggested in [1]

This commit also introduces serialization test cases that hopefully
cover all the scenarios raised in openlawlibrary#245, openlawlibrary#231 and openlawlibrary#198

[1]: openlawlibrary#245 (comment)
@alcarney alcarney force-pushed the undo-exclude-none branch from 23a644c to 0ff5867 Compare July 4, 2022 19:06
@tombh
Copy link
Collaborator

tombh commented Jul 4, 2022

Amazing. It looks great to me. Let's merge whenever you're ready.

@alcarney
Copy link
Collaborator Author

alcarney commented Jul 4, 2022

It's ready to go, I guess we just need a formal review to enable the merge button?

@tombh tombh merged commit c9ce5ac into openlawlibrary:master Jul 4, 2022
@tombh
Copy link
Collaborator

tombh commented Jul 4, 2022

Shipped 🚢

@alcarney alcarney deleted the undo-exclude-none branch July 4, 2022 22:38
@tombh tombh mentioned this pull request Jul 5, 2022
8 tasks
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.

exclude_none = True breaks shutdown requests
2 participants