def unhide(unit):
 unit['hidden'] = False
 for child in unit.get('children', ()):
  unhide(child)

def unhide ( unit ) : unit [ 'hidden' ] = False for child in unit . get ( 'children' , ( ) ) : unhide ( child )
recursively unhide a unit and all of its children in the ccx schedule .