code: def append(
      self, observation, action, reward, terminal, training=True
  ):
      self.recent_observations.append(observation)
      self.recent_terminals.append(terminal)
  
imports: from __future__ import absolute_import
  from collections import deque, namedtuple
  import warnings
  import random
  import numpy
label_desc: Use image node_id 3 for calling the Memory obj's underlying member method code with example usage: obj.append(observation, action, reward, terminal, training) without return types