Fix typo: LastValue --> EphemeralValue.

This commit is contained in:
Andrew Nguonly
2024-05-17 10:44:40 -07:00
parent 93897c6df8
commit 0e77ad88ef
+1 -1
View File
@@ -54,7 +54,7 @@ class EphemeralValue(Generic[Value], BaseChannel[Value, Value, Value]):
finally:
return
if len(values) != 1 and self.guard:
raise InvalidUpdateError("LastValue can only receive one value per step.")
raise InvalidUpdateError("EphemeralValue can only receive one value per step.")
self.value = values[-1]