示例#1
0
文件: quota.py 项目: tpsilva/manila
    def get_by_class(self, context, quota_class, resource):
        """Get a specific quota by quota class."""

        return db.quota_class_get(context, quota_class, resource)
示例#2
0
文件: quota.py 项目: nkrinner/manila
    def get_by_class(self, context, quota_class, resource):
        """Get a specific quota by quota class."""

        return db.quota_class_get(context, quota_class, resource)