我正在尝试在 weaviate 中为我的班级定义一个模式。但是,我上传的数据有时不完整。架构中定义的某些属性将为 None。目前,我收到如下错误:
{'error': [{'message': "invalid number property 'avg_grade' on class 'Course': requires a float, the given value is 'None'"}]}
有没有一种方法可以将属性定义为可选的?