https://developer.zendesk.com/rest_api/docs/chat/shortcuts#update-shortcut
497140
def shortcut_update(self, shortcut_id, data, **kwargs):
        ""
        api_path = "/api/v2/shortcuts/{shortcut_id}"
        api_path = api_path.format(shortcut_id=shortcut_id)
        return self.call(api_path, method="PUT", data=data, **kwargs)
191730
def org_update(object_id, input_params={}, always_retry=True, **kwargs):
    
    return DXHTTPRequest('/%s/update' % object_id, input_params, always_retry=always_retry, **kwargs)
751436
def users_create_or_update(self, data, **kwargs):
        ""
        api_path = "/api/v2/users/create_or_update.json"
        return self.call(api_path, method="POST", data=data, **kwargs)
774653
def shortcut_create(self, data, **kwargs):
        ""
        api_path = "/api/v2/shortcuts"
        return self.call(api_path, method="POST", data=data, **kwargs)
688023
def update(object_type, id, data)
      url = generate_rest_url(:update, object_type, id)
      object_name = object_name_for(object_type, :update)
      xml_data = data.to_xml(:root => object_name, :skip_instruct => true, :dasherize => false)
      result = retrieve(url.path, url.method, {'Content-type' => 'application/xml'}, xml_data)
      find_object_in_result(result, object_type, :update)
    end
1114416
def shortcut_show(self, shortcut_id, **kwargs):
        ""
        api_path = "/api/v2/shortcuts/{shortcut_id}"
        api_path = api_path.format(shortcut_id=shortcut_id)
        return self.call(api_path, **kwargs)
528486
def project_update(object_id, input_params={}, always_retry=True, **kwargs):
    
    return DXHTTPRequest('/%s/update' % object_id, input_params, always_retry=always_retry, **kwargs)
467564
def update(callback=None, path=None, method=Method.PUT, resource=None, tags=None, summary="Update specified resource.",
           middleware=None):
    # type: (Callable, Path, Methods, Resource, Tags, str, List[Any]) -> Operation
    
    def inner(c):
        op = ResourceOperation(c, path or PathParam('{key_field}'), method, resource, tags, summary, middleware)
        op.responses.add(Response(HTTPStatus.NO_CONTENT, "{name} has been updated."))
        op.responses.add(Response(HTTPStatus.BAD_REQUEST, "Validation failed.", Error))
        op.responses.add(Response(HTTPStatus.NOT_FOUND, "Not found", Error))
        return op
    return inner(callback) if callback else inner
198088
function updateHooks() {
    Object.keys(require.extensions).forEach(function (ext) {
      var fn = require.extensions[ext];
      if (typeof fn === 'function' && fn.name !== 'nodeDevHook') {
        require.extensions[ext] = createHook(fn);
      }
    });
  }
101958
def stream_chat_show(self, metric_key, department_id=None, window=None, **kwargs):
        ""
        api_path = "/stream/chats/{metric_key}"
        api_path = api_path.format(metric_key=metric_key)
        api_query = {}
        if "query" in kwargs.keys():
            api_query.update(kwargs["query"])
            del kwargs["query"]
        if department_id:
            api_query.update({
                "department_id": department_id,
            })
        if window:
            api_query.update({
                "window": window,
            })
        return self.call(api_path, query=api_query, **kwargs)
686773
def update!(opts={})
      response = Hubspot::Connection.post_json(FORM_PATH, params: { form_guid: @guid }, body: opts)
      self.send(:assign_properties, response)
      self
    end
358958
def update_shortlink(self, shortlink_id, callback_uri=None,
                         description=None):
        
        arguments = {'callback_uri': callback_uri,
                     'description': description}
        return self.do_req('PUT',
                           self.merchant_api_base_url + '/shortlink/' +
                           shortlink_id + '/', arguments)
1340921
async def update_pin(**payload):
    
    data = payload["data"]
    web_client = payload["web_client"]
    channel_id = data["channel_id"]
    user_id = data["user"]

    # Get the original tutorial sent.
    onboarding_tutorial = onboarding_tutorials_sent[channel_id][user_id]

    # Mark the pin task as completed.
    onboarding_tutorial.pin_task_completed = True

    # Get the new message payload
    message = onboarding_tutorial.get_message_payload()

    # Post the updated message in Slack
    updated_message = await web_client.chat_update(**message)

    # Update the timestamp saved on the onboarding tutorial object
    onboarding_tutorial.timestamp = updated_message["ts"]
922324
def goal_update(self, goal_id, data, **kwargs):
        ""
        api_path = "/api/v2/goals/{goal_id}"
        api_path = api_path.format(goal_id=goal_id)
        return self.call(api_path, method="PUT", data=data, **kwargs)
280077
def update
      Heroku::JSPlugin.update
      plugins = if plugin = shift_argument
        [plugin]
      else
        ::Heroku::Plugin.list
      end
      validate_arguments!

      plugins.each do |plugin|
        begin
          action("Updating #{plugin}") do
            begin
              Heroku::Plugin.new(plugin).update
            rescue Heroku::Plugin::ErrorUpdatingSymlinkPlugin
              status "skipped symlink"
            end
          end
        rescue SystemExit
          # ignore so that other plugins still update
        end
      end
    end
1151707
def do_update(pool,request,models):
  ""
  return {k:fkapply(models,pool,process_update,missing_update,k,v) for k,v in request.items()}
282921
def cli(obj, name, email, password, status, text):
    """"""
    if not any([name, email, password, status, text]):
        click.echo('Nothing to update.')
        sys.exit(1)

    client = obj['client']
    try:
        r = client.update_me(name=name, email=email, password=password, status=status, attributes=None, text=text)
    except Exception as e:
        click.echo('ERROR: {}'.format(e))
        sys.exit(1)
    if r['status'] == 'ok':
        click.echo('Updated.')
    else:
        click.echo(r['message'])