Commit 754685b
committed
refactor(ui): cache attribute lookups in session message handling
Use local variables to cache repeated attribute lookups for
_query_in_progress and query_context, improving code readability
and avoiding redundant getattr calls.
Generated with Ripperdoc
Co-Authored-By: Ripperdoc1 parent 40c65d3 commit 754685b
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1523 | 1523 | | |
1524 | 1524 | | |
1525 | 1525 | | |
| 1526 | + | |
| 1527 | + | |
1526 | 1528 | | |
1527 | | - | |
| 1529 | + | |
1528 | 1530 | | |
1529 | 1531 | | |
1530 | | - | |
| 1532 | + | |
1531 | 1533 | | |
1532 | | - | |
| 1534 | + | |
1533 | 1535 | | |
1534 | 1536 | | |
1535 | 1537 | | |
| |||
0 commit comments