code: def primitive(self, primitive):
          
          self.entry_number = primitive['entry-number']
          self.item_hash = primitive['item-hash']
          self.timestamp = primitive['timestamp']
docs: Entry from Python primitive.