@classmethod
def get_max_folder_size(cls, field_name):
    """Get the maximum allowed folder size in bytes.

        :param field_name: folder (blob dict) field name
        :return: maximum folder size in bytes
        """
    return getattr(cls.fields[field_name], 'max_folder_size')
