fix: properly annotate EventCallback.fn for tests - #6894
fix: properly annotate EventCallback.fn for tests#6894benedikt-bartscher wants to merge 2 commits into
Conversation
Greptile SummaryThe PR adds a static-only annotation for
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| packages/reflex-base/src/reflex_base/event/init.py | Adds a type-checking-only fn annotation whose leading state parameter matches the raw undecorated method stored by EventHandler. |
| tests/units/test_event.py | Removes obsolete Pyright suppressions from existing runtime assertions without changing test behavior. |
Reviews (2): Last reviewed commit: "rewrite comment with one ai to make anot..." | Re-trigger Greptile
Merging this PR will not alter performance
Comparing Footnotes
|
There was a problem hiding this comment.
All reported issues were addressed across 2 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Uh oh!
There was an error while loading. Please reload this page.