Updates a recurring

        :param recurring_id: the recurring id
        :param recurring_dict: dict
        :return: dict
542177
def update_recurring(self, recurring_id, recurring_dict):
        
        return self._create_put_request(resource=RECURRINGS, billomat_id=recurring_id, send_data=recurring_dict)
494868
def get_recurring_bill_by_client(self, *, customer_id, date_begin=None, date_final=None):
        
        params = {
            "customerId": customer_id,
        }
        if date_begin and date_final:
            params['dateBegin'] = date_begin.strftime('%Y-%m-%d')
            params['dateFinal'] = date_final.strftime('%Y-%m-%d')
        return self.client._get(self.url + 'recurringBill', params=params, headers=self.get_headers())
1299031
def update_settings(instance_id, settings)
      params = {
        :instance_id => instance_id
      }

      instance = Models::RegistryInstance[params] || Models::RegistryInstance.new(params)
      instance.settings = settings
      instance.save
    end
927470
def update_record(self, domain, record, data=None, priority=None,
            ttl=None, comment=None):
        
        rdict = {"id": record.id,
                "name": record.name,
                }
        pdict = {"data": data,
                "priority": priority,
                "ttl": ttl,
                "comment": comment,
                }
        utils.params_to_dict(pdict, rdict)
        return self.update_records(domain, [rdict])
385393
def get_all_recurrings(self, params=None):
        
        if not params:
            params = {}
        return self._iterate_through_pages(self.get_recurrings_per_page, resource=RECURRINGS, **{'params': params})
993815
def refresh(self):
        '''
        
        '''
        d = self.rr.table(self.table).get(self.pk_value).run()
        if d is None:
            raise KeyError
        for k in d:
            dict.__setitem__(
                    self, k, watch(d[k], callback=self._updated, field=k))
327874
def update(self, data=None, **kwargs):
        
        if data is None:
            data = {}
        data.update(kwargs)
        return self.model.write([self.id], data)
503567
def get_items_of_recurring_per_page(self, recurring_id, per_page=1000, page=1):
        
        return self._get_resource_per_page(
            resource=RECURRING_ITEMS,
            per_page=per_page,
            page=page,
            params={'recurring_id': recurring_id},
        )
1207096
public function withRecurringInfo($recurringType, $recurringSequence)
    {
        $this->recurringType = $recurringType;
        $this->recurringSequence = $recurringSequence;
        return $this;
    }
943921
def update(self, instance):
        
        assert isinstance(instance, UnitOfWork)
        if instance.db_id:
            query = {'_id': ObjectId(instance.db_id)}
        else:
            query = {unit_of_work.PROCESS_NAME: instance.process_name,
                     unit_of_work.TIMEPERIOD: instance.timeperiod,
                     unit_of_work.START_ID: instance.start_id,
                     unit_of_work.END_ID: instance.end_id}
        self.ds.update(COLLECTION_UNIT_OF_WORK, query, instance)
        return instance.db_id
917517
public void updateRepeatNumber(int newNum, int path_id, String client_uuid) throws Exception {
        updateRequestResponseTables("repeat_number", newNum, getProfileIdFromPathID(path_id), client_uuid, path_id);
    }
1313006
def update(self, iterable):
        
        e = self.evolver()
        for element in iterable:
            e.add(element)

        return e.persistent()
76247
public TVDBUpdates getWeeklyUpdates(int seriesId) throws TvDbException {
        StringBuilder urlBuilder = new StringBuilder();

        urlBuilder.append(BASE_URL)
                  .append(apiKey)
                  .append(WEEKLY_UPDATES_URL);

        LOG.trace(URL, urlBuilder.toString());
        return TvdbParser.getUpdates(urlBuilder.toString(), seriesId);
    }
331407
def update_remote_ids(self, remote_folder):
        
        self.remote_id = remote_folder.id
        _update_remote_children(remote_folder, self.children)
909901
def update(self, id, data):
        
        id = self.as_id(id)
        response = self.http.patch(
            '%s/%s' % (self, id), json=data, auth=self.auth
        )
        response.raise_for_status()
        return response.json()
698654
protected function _updateExistingBillingAgreementsStatus($customerReference, $recurringReferencesList)
    {
        $billingAgreements = Mage::getResourceModel('adyen/billing_agreement_collection')
            ->addFieldToFilter('customer_id', $customerReference);

        foreach ($billingAgreements as $billingAgreement) {
            if (!in_array($billingAgreement->getReferenceId(), $recurringReferencesList)) {
                $billingAgreement->setStatus(Adyen_Payment_Model_Billing_Agreement::STATUS_CANCELED);
            } else {
                $billingAgreement->setStatus(Adyen_Payment_Model_Billing_Agreement::STATUS_ACTIVE);
            }

            $billingAgreement->save();
        }
    }
632383
def update_cache_key(cls, cache_key, item=None):
        
        contents = cls.__thread_id_cache.get(cache_key, None)
        if item is not None:
            cls.__thread_id_cache[cache_key] = item

        return contents