changed colons to equal signs
Browse files
app.py
CHANGED
|
@@ -35,38 +35,38 @@ class Status(str, Enum):
|
|
| 35 |
|
| 36 |
# Depending on how well this works, come back and hard-code this based on some parameter(s)
|
| 37 |
class Convention(str, Enum):
|
| 38 |
-
ACTIVITY
|
| 39 |
-
OBSERVATION
|
| 40 |
-
FLAMING
|
| 41 |
-
GRAZING
|
| 42 |
-
MOWING
|
| 43 |
-
SOLARIZATION
|
| 44 |
-
TERMINATION
|
| 45 |
-
TILLAGE
|
| 46 |
-
HARVEST
|
| 47 |
-
HERBICIDE
|
| 48 |
-
IRRIGATION
|
| 49 |
-
LIME
|
| 50 |
-
ORGANIC
|
| 51 |
-
SEEDTREAT
|
| 52 |
-
SEEDLINGTREAT
|
| 53 |
-
MODUS
|
| 54 |
-
SEEDING
|
| 55 |
-
TRANSPLANT
|
| 56 |
|
| 57 |
class Structure(str, Enum):
|
| 58 |
-
CLAY
|
| 59 |
-
SANDYCLAY
|
| 60 |
-
SILTYCLAY
|
| 61 |
-
SANDYCLAYLOAM
|
| 62 |
-
SILYCLAMLOAM
|
| 63 |
-
CLAYLOAM
|
| 64 |
-
SANDYLOAM
|
| 65 |
-
SILTLOAM
|
| 66 |
-
LOAM
|
| 67 |
-
LOAMYSAND
|
| 68 |
-
SAND
|
| 69 |
-
SILT
|
| 70 |
|
| 71 |
class Soil(BaseModel):
|
| 72 |
description: str = Field(..., title="Description", description="A general description of the soil")
|
|
|
|
| 35 |
|
| 36 |
# Depending on how well this works, come back and hard-code this based on some parameter(s)
|
| 37 |
class Convention(str, Enum):
|
| 38 |
+
ACTIVITY = 'log--activity'
|
| 39 |
+
OBSERVATION = 'log--observation'
|
| 40 |
+
FLAMING = 'log--activity--flaming'
|
| 41 |
+
GRAZING = 'log--activity--grazing'
|
| 42 |
+
MOWING = 'log--activity--mowing'
|
| 43 |
+
SOLARIZATION = 'log--activity--solarization'
|
| 44 |
+
TERMINATION = 'log--activity--termination'
|
| 45 |
+
TILLAGE = 'log--activity--tillage'
|
| 46 |
+
HARVEST = 'log--activity--harvest'
|
| 47 |
+
HERBICIDE = 'log--input--herbicide_or_pesticide'
|
| 48 |
+
IRRIGATION = 'log--input--irrigation'
|
| 49 |
+
LIME = 'log--input--lime'
|
| 50 |
+
ORGANIC = 'log--input--organic_matter'
|
| 51 |
+
SEEDTREAT = 'log--input--seed_treatment'
|
| 52 |
+
SEEDLINGTREAT = 'log--input--seedling_treatment'
|
| 53 |
+
MODUS = 'log--lab_test--modus_lab_test'
|
| 54 |
+
SEEDING = 'log--seeding--seeding'
|
| 55 |
+
TRANSPLANT = 'log--transplanting--transplant'
|
| 56 |
|
| 57 |
class Structure(str, Enum):
|
| 58 |
+
CLAY = 'clay'
|
| 59 |
+
SANDYCLAY = 'sandy clay'
|
| 60 |
+
SILTYCLAY = 'silty clay'
|
| 61 |
+
SANDYCLAYLOAM = 'sandy clay loam'
|
| 62 |
+
SILYCLAMLOAM = 'silty clay loam'
|
| 63 |
+
CLAYLOAM = 'clay loam'
|
| 64 |
+
SANDYLOAM = 'sandy loam'
|
| 65 |
+
SILTLOAM = 'silt loam'
|
| 66 |
+
LOAM = 'loam'
|
| 67 |
+
LOAMYSAND = 'loamy sand'
|
| 68 |
+
SAND = 'sand'
|
| 69 |
+
SILT = 'silt'
|
| 70 |
|
| 71 |
class Soil(BaseModel):
|
| 72 |
description: str = Field(..., title="Description", description="A general description of the soil")
|