def normalize_key_for_search(library_key):
 return library_key.replace(version_guid=None, branch=None)

def normalize_key_for_search ( library_key ) : return library_key . replace ( version_guid = None , branch = None )
normalizes library key for use with search indexing .