code: def with_source(self, lease):
          
          self.partition_id = lease.partition_id
          self.epoch = lease.epoch
          self.owner = lease.owner
          self.token = lease.token
          self.event_processor_context = lease.event_processor_context
docs: Init with existing lease.
  
          :param lease: An existing Lease.
          :type lease: ~azure.eventprocessorhost.lease.Lease