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

Callbacks enhancements and docs #1507

Merged
merged 10 commits into from
Jul 29, 2020
Merged

Callbacks enhancements and docs #1507

merged 10 commits into from
Jul 29, 2020

Conversation

philippjfr
Copy link
Member

Closes #1447

  • Allows using pn.serve to start a server on a StoppableThread
  • Adds a pn.state.add_periodic_callback method which will eventually replace the method on each object
  • Adds docs about modifying Bokeh models on threads and scheduling periodic callbacks

@codecov
Copy link

codecov bot commented Jul 29, 2020

Codecov Report

Merging #1507 into master will increase coverage by 0.00%.
The diff coverage is 44.44%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1507   +/-   ##
=======================================
  Coverage   86.27%   86.27%           
=======================================
  Files         142      143    +1     
  Lines       15779    15786    +7     
=======================================
+ Hits        13613    13620    +7     
  Misses       2166     2166           
Impacted Files Coverage Δ
setup.py 0.00% <ø> (ø)
panel/io/callbacks.py 31.11% <31.11%> (ø)
panel/io/state.py 57.26% <31.25%> (-2.37%) ⬇️
panel/reactive.py 85.30% <50.00%> (-0.35%) ⬇️
panel/viewable.py 70.79% <50.00%> (+1.56%) ⬆️
panel/callbacks.py 100.00% <100.00%> (+69.56%) ⬆️
panel/io/__init__.py 100.00% <100.00%> (ø)
panel/io/server.py 66.51% <100.00%> (+1.09%) ⬆️
panel/tests/conftest.py 94.68% <100.00%> (ø)
panel/tests/test_server.py 100.00% <100.00%> (ø)
... and 1 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 cf60b75...ed6d8f0. Read the comment docs.

@philippjfr philippjfr merged commit 844c883 into master Jul 29, 2020
@philippjfr philippjfr deleted the callbacks_enhancements branch July 29, 2020 03:12
philippjfr added a commit that referenced this pull request Sep 17, 2020
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.

Bokeh update causing "_pending_writes should be non-None"
1 participant