def METHOD_NAME(self, access_token, project_id):
    """获取项目下所有的命名空间信息"""
    namespace_results = self.get_namespace_data(access_token, project_id)
    id_name_map = {}
    name_id_map = {}
    for info in namespace_results:
        id_name_map.update({info["id"]: info["name"]})
        name_id_map.update({info["name"]: info["id"]})
    return id_name_map, name_id_map