Skip to content

Commit

Permalink
Fixed flakes
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Apr 15, 2020
1 parent a7ba958 commit d3833cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 8 additions & 2 deletions panel/io/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,17 @@ class _state(param.Parameterized):
apps to indicate their state to a user.
"""

cache = param.Dict(default={}, doc="""
Global location you can use to cache large datasets or expensive computation results
across multiple client sessions for a given server.""")

webdriver = param.Parameter(default=None, doc="""
Selenium webdriver used to export bokeh models to pngs.""")

_curdoc = param.ClassSelector(class_=Document, doc="""
The bokeh Document for which a server event is currently being
processed.""")

# Whether to hold comm events
_hold = False

Expand All @@ -49,8 +57,6 @@ class _state(param.Parameterized):
# Stores a set of locked Websockets, reset after every change event
_locks = WeakSet()

_curdoc = None

def __repr__(self):
server_info = []
for server, panel, docs in self._servers.values():
Expand Down
3 changes: 0 additions & 3 deletions panel/tests/models/test_location.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import panel as pn

from panel.models.location import Location


def test_constructor():
# When
actual = Location()
Expand Down

0 comments on commit d3833cc

Please sign in to comment.