code: def quantopian_quandl_bundle(
      environ,
      asset_db_writer,
      minute_bar_writer,
      daily_bar_writer,
      adjustment_writer,
      calendar,
      start_session,
      end_session,
      cache,
      show_progress,
      output_dir,
  ):
      if show_progress:
          data = download_with_progress(
              QUANTOPIAN_QUANDL_URL,
              chunk_size=ONE_MEGABYTE,
              label="Downloading Bundle: quantopian-quandl",
          )
      else:
          data = download_without_progress(QUANTOPIAN_QUANDL_URL)
  
      with tarfile.open("r", fileobj=data) as tar:
          if show_progress:
              log.info("Writing data to %s." % output_dir)
          tar.extractall(output_dir)
  
imports: from io import BytesIO
  import tarfile
  from zipfile import ZipFile
  from click import progressbar
  from logbook import Logger
  import pandas
  import requests
  from six.moves.urllib.parse import urlencode
  from six import iteritems
  from trading_calendars import register_calendar_alias
  from .None import core
  import numpy
label_desc: Use image node_id 11 for calling a global function with example usage: quantopian_quandl_bundle(environ, asset_db_writer, minute_bar_writer, daily_bar_writer, adjustment_writer, calendar, start_session, end_session, cache, show_progress, output_dir) without return types