-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Litestar REST API, WebSocket feed, and approval queue (M6) #189
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
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
4b44e44
feat: add Litestar app skeleton with REST controllers, middleware, an…
Aureliolo 2a7acc7
feat: add WebSocket real-time feed with Litestar channels (#34)
Aureliolo fa2afca
fix: update defaults and event tests for new API module
Aureliolo ca647e8
fix: pre-PR review fixes for Litestar API layer (#31, #33, #34)
Aureliolo b4b350b
fix: pre-PR review fixes for Litestar API layer (#31, #33, #34)
Aureliolo 783b123
feat: implement human approval queue API (#37)
Aureliolo a1e438e
fix: pre-PR review fixes for Litestar API layer (#31, #33, #34, #37)
Aureliolo 637daa2
fix: pre-PR review fixes for Litestar API layer (#31, #33, #34, #37)
Aureliolo 358e94f
ci: allow Python-2.0.1 license in dependency review
Aureliolo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| """API module — Litestar REST + WebSocket interface. | ||
|
|
||
| Import ``create_app`` from ``ai_company.api.app`` directly to | ||
| avoid circular imports with ``config.schema``. | ||
| """ |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🧩 Analysis chain
🏁 Script executed:
Repository: Aureliolo/ai-company
Length of output: 46
🏁 Script executed:
grep -n "pydantic" pyproject.tomlRepository: Aureliolo/ai-company
Length of output: 221
🏁 Script executed:
Repository: Aureliolo/ai-company
Length of output: 218
🏁 Script executed:
grep -n "litestar" pyproject.tomlRepository: Aureliolo/ai-company
Length of output: 163
🏁 Script executed:
Repository: Aureliolo/ai-company
Length of output: 781
🏁 Script executed:
Repository: Aureliolo/ai-company
Length of output: 124
🏁 Script executed:
Repository: Aureliolo/ai-company
Length of output: 141
Scope the Pydantic V1 warning filter to the specific third-party emitter.
Line 208 suppresses
Core Pydantic V1 functionalitywarnings globally. While the project is fully Pydantic v2 compliant (verified in code), suppressing warnings at the test level masks the signal for any future regressions. Rather than"ignore:Core Pydantic V1 functionality:UserWarning", scope this to the specific library emitting the warning (likely Litestar), for example:"ignore:Core Pydantic V1 functionality:UserWarning:litestar"or addfilterwarningsonly for specific affected tests if warnings originate from Litestar's own code path.🤖 Prompt for AI Agents