def __init__(self, value_type, **kwargs):
inheritance_comparator = issubclass if isinstance(value_type, type) else isinstance<EOL>if not inheritance_comparator(value_type, Column):<EOL><INDENT>raise ValidationError('<STR_LIT>')<EOL><DEDENT>if inheritance_comparator(value_type, BaseContainerColumn):<EOL><INDENT>raise ValidationError('<STR_LIT>')<EOL><DEDENT>if value_type.db_type is None:<EOL><INDENT>raise ValidationError('<STR_LIT>')<EOL><DEDENT>if isinstance(value_type, type):<EOL><INDENT>self.value_type = value_type<EOL>self.value_col = self.value_type()<EOL><DEDENT>else:<EOL><INDENT>self.value_col = value_type<EOL>self.value_type = self.value_col.__class__<EOL><DEDENT>super(BaseContainerColumn, self).__init__(**kwargs)<EOL>
:param value_type: a column class indicating the types of the value