python LS: some more cleanup#12325
Merged
austin3dickey merged 8 commits intomainfrom Mar 9, 2026
Merged
Conversation
|
E2E Tests 🚀 |
austin3dickey
commented
Mar 6, 2026
| def __init__(self, server: PositronLanguageServer, converter: cattrs.Converter): | ||
| super().__init__(server, converter) | ||
| # Queue for handling message batching (performance optimization) | ||
| self._messages_to_handle: list[Any] = [] |
|
|
||
| def _get_dataframe_column_completions(obj: Any, prefix: str) -> list[types.CompletionItem]: | ||
| """Get column name completions for DataFrame/Series objects.""" | ||
| """Get column name completions for DataFrame objects.""" |
Contributor
Author
There was a problem hiding this comment.
This was never used for series, though I just realized that the _handle_hover() function was mistakenly relying on this to handle series. So I'll fix that in the next commit
isabelizimm
reviewed
Mar 6, 2026
Contributor
Author
|
Okay thanks for your patience, this should be good to review! |
isabelizimm
approved these changes
Mar 9, 2026
Contributor
isabelizimm
left a comment
There was a problem hiding this comment.
this makes a lot of the document parsing way easier to follow, thanks!! 👾
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Addresses part of #12014, before I make bigger structural changes.
Release Notes
New Features
Bug Fixes
QA Notes
CI should be green; completions/hovers working correctly.
Try completions/hovers for these lines of code: