def strip_uri_prefix(path):
 return re.sub('^(/v\\d+)?', '', six.text_type(path))

def strip_uri_prefix ( path ) : return re . sub ( '^(/v\\d+)?' , '' , six . text_type ( path ) )
remove potential version prefix in uri .