class_docstr: Global constants for dataset and model URLs.
class_docstr_tok: ["Global","constants","for","dataset","and","model","URLs","."]
docstr: Return local path where to download based on `c_key`
docstr_tok: ["Return","local","path","where","to","download","based","on","`","c_key","`"]
code: def path(url=".", c_key="archive"):
      "Return local path where to download based on `c_key`"
      fname = url.split("/")[-1]
      local_path = (
          URLs.LOCAL_PATH
          / ("models" if c_key == "models" else "datasets")
          / fname
      )
      if local_path.exists():
          return local_path
      return Config()[c_key] / fname
  
file_path: gluon-cv/gluoncv/auto/data/auto_data.py
imports: import os
  import re
  from pathlib import Path
  import yaml
  from ...utils.download import download
  from ...utils.filesystem import unzip, untar, PathTree
label_desc: Use image node_id 1 for calling the URLs obj's underlying member method code with example usage: obj.path(url, c_key) and returns: unknown, local_path