Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 45
Changed outputs to list#131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,9 +1,9 @@ | ||||||
| from pydantic import BaseModel, Field | ||||||
| from typing import Any | ||||||
| from typing import Any, List | ||||||
| from .state_status_enum import StateStatusEnum | ||||||
| class ExecutedRequestModel(BaseModel): | ||||||
| outputs: dict[str, Any] = Field(..., description="Outputs of the state") | ||||||
| outputs: List[dict[str, Any]] = Field(..., description="Outputs of the state") | ||||||
| ||||||
| outputs: List[dict[str, Any]] =Field(..., description="Outputs of the state") | |
| outputs: List[dict[str, Any]] =Field(..., description="List of output dictionaries from the state execution") |
🤖 Prompt for AI Agents
In state-manager/app/models/executed_models.py at line 6, the type of the
outputs field was changed to a list of dictionaries, which is a breaking change.
Update the API version to indicate this breaking change, revise the field
description to clearly state that outputs is now a list of dictionaries, and
coordinate with API consumers to implement a migration strategy so they can
handle the new data structure properly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not needed as we are in beta
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NiveditJain, understood! You're absolutely right - breaking changes are expected and acceptable during beta phase. API stability guarantees don't typically apply until a stable release. Thanks for clarifying the project's current development stage.
✏️ Learnings added
Learnt from: NiveditJain
PR: exospherehost/exospherehost#131
File: state-manager/app/models/executed_models.py:0-0
Timestamp: 2025-08-03T04:26:00.112Z
Learning: The exospherehost project is currently in beta phase, so breaking changes in APIs are acceptable and don't require versioning or migration strategies.
Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.
Uh oh!
There was an error while loading. Please reload this page.