def get_catalog_discover_hack(service_type, url):
 return _VERSION_HACKS.get_discover_hack(service_type, url)

def get_catalog_discover_hack ( service_type , url ) : return _VERSION_HACKS . get_discover_hack ( service_type , url )
apply the catalog hacks and figure out an unversioned endpoint .