def build_selection_spec(client_factory, name):
 sel_spec = client_factory.create('ns0:SelectionSpec')
 sel_spec.name = name
 return sel_spec

def build_selection_spec ( client_factory , name ) : sel_spec = client_factory . create ( 'ns0:SelectionSpec' ) sel_spec . name = name return sel_spec
builds the selection spec .