def GenerateTab(depth):
  tab_list = []
  if depth > 0:
    tab_list.append('  ')
  tab_list.append('|  ' * depth)
  tab_list.append('+--')
  return ''.join(tab_list)
Generate tabs to represent branching to children.
dataset/ETHPy150Open googleads/googleads-python-lib/examples/dfp/v201508/inventory_service/get_ad_unit_hierarchy.py/GenerateTab