show(context, id)

    Show a file.

    >>> dcictl file-show [OPTIONS]

    :param string id: ID of the file to show [required]
480678
def show(context, id):
    
    content = file.content(context, id=id)
    click.echo(content.text)
221341
def show(record_id = nil, **params)
      if record_id.nil? && !singular_resource?
        raise ArgumentError, "record_id cannot be nil"
      end
      path = nest_path_within_parent(singular_path_for_record(record_id, params), params)
      api_request(:get, path, params: params)
    end
651874
def show(object_type, id)
      url = generate_rest_url(:show, object_type, id)
      result = retrieve(url.path)
      parsed_result = parse_xml(result)
      find_object_in_result(parsed_result, object_type, :show)
    end
329642
def show():
    """"""
    items = list(collection.find())
    # JSON conversion chokes on the _id objects, so we convert
    # them to strings here
    for i in items:
        i['_id'] = str(i['_id'])
    return items
523383
def show(args):
    
    domain = check_infile(args.infile)
    action = True
    try:
        print(json.dumps(set_json(domain, action, filename=args.infile),
                         sort_keys=True, indent=2))
    except UnicodeDecodeError as e:
        sys.stderr.write("ERROR: \"%s\" is invalid format file.\n"
                         % args.infile)
        exit(1)
98522
def display_with_id(self, obj, display_id, update=False):
        """"""
        ip = get_ipython()
        if hasattr(ip, "kernel"):
            data, md = ip.display_formatter.format(obj)
            content = {
                'data': data,
                'metadata': md,
                'transient': {'display_id': display_id},
            }
            msg_type = 'update_display_data' if update else 'display_data'
            ip.kernel.session.send(ip.kernel.iopub_socket, msg_type, content, parent=ip.parent_header)
        else:
            display(obj)
814782
def load!(id)
      doc = load(id)
      if id.is_a?(Array)
        missing_docs = id - doc.map(&:id)
      end
      raise(CouchPotato::NotFound, missing_docs.try(:join, ', ')) if doc.nil? || missing_docs.try(:any?)
      doc
    end
404791
def show(context, id):
    
    result = feeder.get(context, id=id)
    utils.format_output(result, context.format)
149995
function(id) {
			var i;
			for (i = files.length - 1; i >= 0; i--) {
				if (files[i].id === id) {
					return files[i];
				}
			}
		}
1335848
def show(self):
        
        display(HTML("""<div id="%s"></div>""" % (self.igv_id)))
        # DON'T check status before showing browser,
        msg = json.dumps({
            "id": self.igv_id,
            "command": "create",
            "options": self.config
        })
        self.comm.send(msg)
621229
def show
      if params[:id]
        @content = Content.find(params[:id])
      elsif params[:element_id] && params[:name]
        @content = Content.find_by!(element_id: params[:element_id], name: params[:name])
      end
      authorize! :show, @content
      respond_with @content
    end
824767
public function actionShowFile(string $id): void
	{
		$response = $this->app->logs->getFile($id);
		if ($response) {
			$this->sendResponse($response);
		} else {
			$this->error();
		}
	}
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)
531922
def department_show(self, department_id, **kwargs):
        ""
        api_path = "/api/v2/departments/{department_id}"
        api_path = api_path.format(department_id=department_id)
        return self.call(api_path, **kwargs)
859516
def files_info(self, *, id: str, **kwargs) -> SlackResponse:
        
        kwargs.update({"id": id})
        return self.api_call("files.info", http_verb="GET", params=kwargs)
127102
public function show($id)
    {
        $lists      = $this->mailjet->getAllLists();
        $newsletter = $this->newsletter->find($id);

        return view('newsletter::Backend.template.show')->with(['newsletter' => $newsletter, 'lists' => $lists]);
    }
112496
function(id) {
            var buttonId;

            if (qq.supportedFeatures.ajaxUploading) {
                buttonId = this._handler.getFile(id).qqButtonId;
            }
            else {
                buttonId = this._getButtonId(this._handler.getInput(id));
            }

            if (buttonId) {
                this._buttonIdsForFileIds[id] = buttonId;
            }
        }