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

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