def get_prop_filter_spec(client_factory, obj_spec, prop_spec):
 prop_filter_spec = client_factory.create('ns0:PropertyFilterSpec')
 prop_filter_spec.propSet = prop_spec
 prop_filter_spec.objectSet = obj_spec
 return prop_filter_spec

def get_prop_filter_spec ( client_factory , obj_spec , prop_spec ) : prop_filter_spec = client_factory . create ( 'ns0:PropertyFilterSpec' ) prop_filter_spec . propSet = prop_spec prop_filter_spec . objectSet = obj_spec return prop_filter_spec
builds the property filter spec object .