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

Restore mixed deserialization of dicts #13696

Merged
merged 16 commits into from Feb 15, 2024

Conversation

mattpap
Copy link
Contributor

@mattpap mattpap commented Feb 14, 2024

This PR restores deserialization of Python dict as either a plain object for string keys or a Map for other kinds of keys. This allows to maintain compatibility, especially for panel and other extensions. All other changes introduced in PR #13618 were kept, allowing for seamless operation on plain objects (as pseudo dicts) and Map at the same time.

This PR also adds settings.serialize_include_defaults for testing/debugging, which is used in this PR in new cross integration tests for issue #13637.

fixes #13637
addresses #13055

Copy link

codecov bot commented Feb 14, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (b627a15) 92.59% compared to head (bb0a79c) 92.59%.

Additional details and impacted files
@@             Coverage Diff             @@
##           branch-3.4   #13696   +/-   ##
===========================================
  Coverage       92.59%   92.59%           
===========================================
  Files             323      323           
  Lines           20575    20590   +15     
===========================================
+ Hits            19051    19066   +15     
  Misses           1524     1524           

bokehjs/src/lib/core/kinds.ts Show resolved Hide resolved
@mattpap mattpap force-pushed the mattpap/13637_restore_map_deserialization branch from cda38f4 to bb0a79c Compare February 15, 2024 10:50
@mattpap mattpap merged commit b46bf47 into branch-3.4 Feb 15, 2024
30 checks passed
@mattpap mattpap deleted the mattpap/13637_restore_map_deserialization branch February 15, 2024 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Regression handling glyph border_radius that is a dict
2 participants