code: def parse_query(query):
      if isinstance(query, GeoDataFrame):
          return "polygon"
      elif isinstance(query, tuple):
          return "coordinates"
      elif re.match("""[A-Z][0-9]+""", query):
          return "osmid"
      else:
          return "address"
  
file_path: prettymaps/prettymaps/fetch.py
imports: import re
  import warnings
  import numpy
  import osmnx
  from copy import deepcopy
  from shapely.geometry import box, Point, Polygon, MultiPolygon, LineString, MultiLineString
  from geopandas import GeoDataFrame
  from shapely.affinity import rotate
  from shapely.ops import unary_union
  from shapely.errors import ShapelyDeprecationWarning
label_desc: Use image node_id 1 for calling a global function with example usage: parse_query(query) and returns: str, str, str, str