code: def asdict(self):
          
  
          timestamp_str = None
          if self.reading_time is not None:
              timestamp_str = self.reading_time.isoformat()
  
          return {
              'stream': self.stream,
              'device_timestamp': self.raw_time,
              'streamer_local_id': self.reading_id,
              'timestamp': timestamp_str,
              'value': self.value
          }
docs: Encode the data in this reading into a dictionary.
  
          Returns:
              dict: A dictionary containing the information from this reading.