code: def from_source(self, checkpoint):
          
          self.partition_id = checkpoint.partition_id
          self.offset = checkpoint.offset
          self.sequence_number = checkpoint.sequence_number
docs: Creates a new Checkpoint from an existing checkpoint.
  
          :param checkpoint: Existing checkpoint.
          :type checkpoint: ~azure.eventprocessorhost.checkpoint.Checkpoint