code: def __init__(self, beta):
      super().__init__([], maxlen=2)
      self.beta = beta
  
imports: from __future__ import annotations
  import operator
  import statistics
  from collections import deque
  from river import time_series
label_desc: Use image node_id 1 to create a new Trend object from inherited base classes: Component with example: obj = Trend(beta)