fix(oocana): export TypedDict types in __all__#465
Conversation
Add missing TypedDict types to __all__ in context.py: - ToNode, ToFlow: output targeting types - QueryBlockResponse: query block response type - FlowDownstream, NodeDownstream, Downstream: downstream query types - OOMOL_LLM_ENV, HostInfo: environment info types This allows users to import these types for proper type annotations.
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. Comment |
There was a problem hiding this comment.
Pull request overview
This PR adds missing TypedDict type exports to the __all__ list in context.py, enabling users to import these types for proper type hinting when using the oocana API.
Changes:
- Export 8 TypedDict classes that were previously defined but not exported:
ToNode,ToFlow,QueryBlockResponse,FlowDownstream,NodeDownstream,Downstream,OOMOL_LLM_ENV, andHostInfo - Format the
__all__list as a multi-line list for better readability - Add an inline comment to identify TypedDict exports
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
context.py__all__QueryBlockResponse,Downstream,FlowDownstream,NodeDownstream,OOMOL_LLM_ENV,HostInfoProblem
Several TypedDict classes were defined but not exported:
Solution
Update
__all__incontext.py:Test Plan
from oocana import QueryBlockResponse