Repository navigation
Key transfer tasks by Transfer class, drop setattr in QtSidebarSearch, and stop spelling own class names - #2267
Merged
Merged
Conversation
…, and stop spelling own class names
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Removes three
restated_identityfindings (BOUND-8,MEMB-4), oneBOUND-7setattrcall, and one redundant localimport asyncio:src/toad/qt/window.py: keyself._transfer_tasksdirectly bytype[Transfer](type(request)) instead of thedeclared_namestring (NRAa6c019b787), and remove the redundant function-localimport asyncioinstart_transfer_task.src/toad/client/sidebar_filter.py+src/toad/qt/sidebar_panel.py: addSidebarFilter.set_text(value: str)and connectself.textChanged.connect(search.set_text)directly instead oflambda text: setattr(search, "text", text)(BOUND-7); setQtSidebarPanelFrame's object name fromtype(self).__name__(NRAc1812c77c6).src/toad/client/command_draft.py: build the draft dataclass withtype(self).__name__instead of the bare string'CommandDraft'(NRA36daf77328).Verified:
toad.qt.android.load_client()cold start: 1757 modules (agent_comms.comms=False,packaging=False).QtSidebarSearchsignal propagation intoSidebarFilterverified underQT_QPA_PLATFORM=offscreen.tools/qt_inherit_ratchet.py: 0 / 0 / 0 / 0 / 0;tools/shadow_check.py: 0;tools/guarded_imports.py: 0.tests/guards/test_shared_frontend_members.py+test_qt_members_are_not_shadowed.py: 11 passed (3.80s).