i just want these to not be lists
Browse files
app.py
CHANGED
|
@@ -87,8 +87,8 @@ class Planting(BaseModel):
|
|
| 87 |
crop: List[str] = Field(..., title="Crop", description="A list of the crops in this planting")
|
| 88 |
variety: List[str] = Field(..., title="Variety", description="A list of the crop varieties in this planting")
|
| 89 |
logs: List[Log] = Field(..., title="Logs", description="A list of all the logs that are associated with the farm activities")
|
| 90 |
-
soil:
|
| 91 |
-
|
| 92 |
|
| 93 |
class FarmActivities(BaseModel):
|
| 94 |
name: str = Field(..., title="Name", description="The name of the agricultural field.")
|
|
|
|
| 87 |
crop: List[str] = Field(..., title="Crop", description="A list of the crops in this planting")
|
| 88 |
variety: List[str] = Field(..., title="Variety", description="A list of the crop varieties in this planting")
|
| 89 |
logs: List[Log] = Field(..., title="Logs", description="A list of all the logs that are associated with the farm activities")
|
| 90 |
+
soil: Soil = Field(..., title="Soil", description="A single soil profile for this planting, containing only one soil description")
|
| 91 |
+
yield_: Yield = Field(..., title="Yield", description="One set of quantitative and qualitative yield observations for this planting")
|
| 92 |
|
| 93 |
class FarmActivities(BaseModel):
|
| 94 |
name: str = Field(..., title="Name", description="The name of the agricultural field.")
|