code: def load_ipython_extension(ipython):
      
      from google.cloud.bigquery.magics import _cell_magic
  
      ipython.register_magic_function(
          _cell_magic, magic_kind="cell", magic_name="bigquery"
      )
docs: Called by IPython when this module is loaded as an IPython extension.