code: def update(self, y, trend, season):
      self.append(
          self.alpha
          * (y / (season[-season.seasonality] if season else 1))
          + (1 - self.alpha) * (self[-1] + (trend[-1] if trend else 0))
      )
  
imports: from __future__ import annotations
  import operator
  import statistics
  from collections import deque
  from river import time_series
label_desc: Use image node_id 2 for calling the MultiplicativeLevel obj's underlying member method code with example usage: obj.update(y, trend, season) without return types