feat generate 升级 attribute retrieve 迁移
This commit is contained in:
12
app/schemas/attribute_retrieve.py
Normal file
12
app/schemas/attribute_retrieve.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class CategoryRecognitionModel(BaseModel):
|
||||
colony: str
|
||||
sketch_img_url: str
|
||||
|
||||
|
||||
class AttributeRecognitionModel(BaseModel):
|
||||
category: str
|
||||
colony: str
|
||||
sketch_img_url: str
|
||||
Reference in New Issue
Block a user