Skip to content

Commit a2c0cda

Browse files
author
Martin Durant
committed
Remove current_value setter in collections
(because it is set in the stream instead)
1 parent d7d97dc commit a2c0cda

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

streamz/collection.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -232,18 +232,12 @@ def _repr_html_(self):
232232
def current_value(self):
233233
return self.stream.current_value
234234

235-
@current_value.setter
236-
def current_value(self, *args, **kwargs):
237-
# this actually happens in self.stream - Streaming.emit is ignored
238-
pass
239-
240235
def _ipython_display_(self, **kwargs):
241236
return self.stream.latest().rate_limit(
242237
0.5).gather()._ipython_display_(**kwargs)
243238

244239
def emit(self, x):
245240
self.verify(x)
246-
self.current_value = x
247241
self.stream.emit(x)
248242

249243
def verify(self, x):

0 commit comments

Comments
 (0)