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

Add support for saving and loading embedded data from JSON #301

Merged
merged 14 commits into from Mar 14, 2019

Conversation

philippjfr
Copy link
Member

Makes it possible to export the embedded state to JSON files which can be loaded independently. Unlike the equivalent functionality in HoloViews each state is stored as a separate file which means it can be loaded only when it is needed, allowing a huge state space to be exported with a minimal file size penalty.

@jbednar
Copy link
Member

jbednar commented Mar 13, 2019

Nice!

@codecov-io
Copy link

codecov-io commented Mar 14, 2019

Codecov Report

Merging #301 into master will increase coverage by 0.34%.
The diff coverage is 87.34%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #301      +/-   ##
==========================================
+ Coverage   88.92%   89.26%   +0.34%     
==========================================
  Files          63       63              
  Lines        6331     6504     +173     
==========================================
+ Hits         5630     5806     +176     
+ Misses        701      698       -3
Impacted Files Coverage Δ
setup.py 0% <ø> (ø) ⬆️
panel/widgets/input.py 97.72% <100%> (+0.03%) ⬆️
panel/widgets/select.py 89.92% <100%> (+0.11%) ⬆️
panel/tests/test_io.py 100% <100%> (ø) ⬆️
panel/models/state.py 100% <100%> (ø) ⬆️
panel/widgets/button.py 90% <66.66%> (-4.12%) ⬇️
panel/io.py 67.24% <72.46%> (-2.23%) ⬇️
panel/viewable.py 77.58% <78.12%> (+4.28%) ⬆️
panel/widgets/base.py 97.43% <87.5%> (-2.57%) ⬇️
panel/tests/fixtures.py 97.5% <90.9%> (-2.5%) ⬇️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e5be1d4...9e4d1e1. Read the comment docs.

@philippjfr philippjfr merged commit b0a873a into master Mar 14, 2019
@philippjfr philippjfr deleted the json_embed branch September 9, 2019 16:37
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.

None yet

3 participants