def get_user_unmapped_drives(self, user):
"""
Returns unmapped drives of a user
:return: list -> list of dicts of unmapped drives of a user
"""
return [d for d in self.get_drives(user.id) if not d['in_use']]
评论列表
文章目录