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

Dimensioned streams #846

merged 12 commits into from Sep 9, 2016

Disabled the DynamicMap cache for dimensionless contents

  • Loading branch information...
jlstevens committed Sep 2, 2016
commit 26ab71cf2035a843394228b540f20e7f1c98862c
Copy path View file
@@ -672,8 +672,8 @@ def __getitem__(self, key):

# Cache lookup
if self.streams:
raise KeyError('Using streams disables DynamicMap cache')
if util.dimensionless_contents(self.streams, self.kdims):
raise KeyError('Using dimensionless streams disables DynamicMap cache')
cache = super(DynamicMap,self).__getitem__(key)
# Return selected cache items in a new DynamicMap
if isinstance(cache, DynamicMap) and self.mode=='open':
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.