mark weight type as optional (#16701)

pull/16722/head
Jyong 11 months ago committed by GitHub
parent a113356695
commit 78f2ec8f32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -95,7 +95,7 @@ class WeightKeywordSetting(BaseModel):
class WeightModel(BaseModel):
weight_type: str
weight_type: Optional[str] = None
vector_setting: Optional[WeightVectorSetting] = None
keyword_setting: Optional[WeightKeywordSetting] = None

Loading…
Cancel
Save