Spaces:
Running
Running
Update features/insight_and_tasks/data_models/tasks.py
Browse files
features/insight_and_tasks/data_models/tasks.py
CHANGED
@@ -122,8 +122,7 @@ class KeyResult(BaseModel):
|
|
122 |
A measurable outcome that contributes to an Objective.
|
123 |
"""
|
124 |
key_result_description: str = Field( # Renamed from 'key_result'
|
125 |
-
description="A clear, specific, and measurable description of the key result."
|
126 |
-
min_length=100
|
127 |
)
|
128 |
tasks: List[Task] = Field(
|
129 |
default_factory=list,
|
@@ -160,8 +159,7 @@ class OKR(BaseModel):
|
|
160 |
Defines an Objective and its associated Key Results (OKRs).
|
161 |
"""
|
162 |
objective_description: str = Field( # Renamed from 'objective'
|
163 |
-
description="A high-level, qualitative goal that the team aims to achieve. Should be aspirational and motivating."
|
164 |
-
min_length=100
|
165 |
)
|
166 |
key_results: List[KeyResult] = Field(
|
167 |
default_factory=list,
|
|
|
122 |
A measurable outcome that contributes to an Objective.
|
123 |
"""
|
124 |
key_result_description: str = Field( # Renamed from 'key_result'
|
125 |
+
description="A clear, specific, and measurable description of the key result."
|
|
|
126 |
)
|
127 |
tasks: List[Task] = Field(
|
128 |
default_factory=list,
|
|
|
159 |
Defines an Objective and its associated Key Results (OKRs).
|
160 |
"""
|
161 |
objective_description: str = Field( # Renamed from 'objective'
|
162 |
+
description="A high-level, qualitative goal that the team aims to achieve. Should be aspirational and motivating."
|
|
|
163 |
)
|
164 |
key_results: List[KeyResult] = Field(
|
165 |
default_factory=list,
|