@access.public
    @loadmodel(model='collection', level=AccessType.READ)
    @describeRoute(
        Description('Get quota and assetstore policies for the collection.')
        .param('id', 'The collection ID', paramType='path')
        .errorResponse('ID was invalid.')
        .errorResponse('Read permission denied on the collection.', 403)
    )
    def getCollectionQuota(self, collection, params):
        if QUOTA_FIELD not in collection:
            collection[QUOTA_FIELD] = {}
        collection[QUOTA_FIELD][
            '_currentFileSizeQuota'] = self._getFileSizeQuota(
            'collection', collection)
        return self._filter('collection', collection)
dataset/ETHPy150Open girder/girder/plugins/user_quota/server/quota.py/QuotaPolicy.getCollectionQuota/original