Skip to content

Commit

Permalink
feat: Add preparation_state to feedback email
Browse files Browse the repository at this point in the history
The preparation state was not part of the email, only the state.
  • Loading branch information
MoritzWeber0 committed Dec 10, 2024
1 parent d4de17f commit bc20960
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion backend/capellacollab/feedback/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,12 @@ class AnonymizedSession(core_pydantic.BaseModel):

version: tools_models.MinimalToolVersionWithTool

state: str = pydantic.Field(default="UNKNOWN")
preparation_state: sessions_models.SessionPreparationState = (
pydantic.Field(default=sessions_models.SessionPreparationState.UNKNOWN)
)
state: sessions_models.SessionState = pydantic.Field(
default=sessions_models.SessionState.UNKNOWN
)
warnings: list[core_models.Message] = pydantic.Field(default=[])

connection_method: (
Expand Down

0 comments on commit bc20960

Please sign in to comment.