docs: def _delete_cell(args, _):
    """Implements the BigQuery cell magic used to delete datasets and tables.
  
     The supported syntax is:
  
       %%bigquery delete dataset -n|--name <name>
  
     or:
  
       %%bigquery delete table -n|--name <name>
  
    Args:
      args: the argument following '%bigquery delete <command>'.
    """
    # TODO(gram): add support for wildchars and multiple arguments at some point. The latter is
    # easy, the former a bit more tricky if non-default projects are involved.
    if args['command'] == 'dataset':
      try:
        datalab.bigquery.Dataset(args['name']).delete()
      except Exception as e:
        print('Failed to delete dataset %s: %s' % (args['name'], e))
    else:
      try:
        datalab.bigquery.Table(args['name']).delete()
      except Exception as e:
        print('Failed to delete table %s: %s' % (args['name'], e))