code: def retrieve(fid, share_key=None):
      """
      Retrieve a folder from Plotly.
  
      :param (str) fid: The `{username}:{idlocal}` identifier. E.g. `foo:88`.
      :param (str) share_key: The secret key granting 'read' access if private.
      :returns: (requests.Response) Returns response directly from requests.
  
      """
      url = build_url(RESOURCE, id=fid)
      params = make_params(share_key=share_key)
      return request("get", url, params=params)
  
file_path: plotly.py/packages/python/chart-studio/chart_studio/api/v2/folders.py
imports: from __future__ import absolute_import
  from chart_studio.api.v2.utils import build_url, make_params, request
label_desc: Use image node_id 2 for calling a global function with example usage: retrieve(fid, share_key) and returns: request