def update_records(self, domain, records):
        if not isinstance(records, list):
            raise TypeError("Expected records of type list")
        uri = "/domains/%s/records" % utils.get_id(domain)
        resp, resp_body = self._async_call(uri, method="PUT",
                body={"records": records},
                error_class=exc.DomainRecordUpdateFailed, has_response=False)
        return resp_body
Return the Python week number of a date.
dataset/ETHPy150Open rackspace/pyrax/pyrax/clouddns.py/CloudDNSManager.update_records--crossover with--dataset/ETHPy150Open Fantomas42/django-blog-zinnia/zinnia/templatetags/zinnia.py/week_number