Skip to content

Commit

Permalink
Taking the union of items over the set of streams
Browse files Browse the repository at this point in the history
Co-Authored-By: jlstevens <jlrstevens@gmail.com>
  • Loading branch information
philippjfr and jlstevens committed Apr 25, 2019
1 parent e19b288 commit bb95701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/streams.py
Expand Up @@ -135,7 +135,7 @@ def trigger(cls, streams):
needs to be called once.
"""
# Union of stream contents
items = [stream.contents.items() for stream in streams]
items = [stream.contents.items() for stream in set(streams)]
union = [kv for kvs in items for kv in kvs]
klist = [k for k, _ in union]
key_clashes = set([k for k in klist if klist.count(k) > 1])
Expand Down

0 comments on commit bb95701

Please sign in to comment.