-
Notifications
You must be signed in to change notification settings - Fork 22
[Fix] Circular Import Bug #871
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
base: main
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
Bug fix, Enhancement
Description
Centralize LSP execution context storage
Remove server-scoped contextvars attribute
Update context usage in beta and messages
Introduce shared context module
Diagram Walkthrough
File Walkthrough
beta.py
Use shared execution context in betacodeflash/lsp/beta.py
execution_context_varsserver.execution_context_varsusagelsp_message.py
Decouple message serialization from server contextcodeflash/lsp/lsp_message.py
execution_context_varsfrom context moduleserverfor context accesscontext.py
Introduce shared LSP execution context modulecodeflash/lsp/context.py
execution_context_varsContextVarserver.py
Remove server-scoped execution contextvarscodeflash/lsp/server.py
execution_context_vars