def _get_cache_key_namespace(cache_key):
 return force_str(cache_key).split(str(u':'), 1)[0]

def _get_cache_key_namespace ( cache_key ) : return force_str ( cache_key ) . split ( str ( u':' ) , 1 ) [ 0 ]
split the given cache key by the first colon to get a namespace .