Skip to content

Commit

Permalink
explicit pyright ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt-bartscher committed Feb 8, 2025
1 parent 4aea16e commit ad7dbc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reflex/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -2277,7 +2277,7 @@ def _deserialize(
substate_schema, state = data # pyright: ignore[reportUnknownVariableType,reportGeneralTypeIssues]
if substate_schema != state._to_schema(): # pyright: ignore[reportAttributeAccessIssue,reportUnknownMemberType]
raise StateSchemaMismatchError()
return state # type: ignore
return state # pyright: ignore[reportUnknownVariableType,reportReturnType]


T_STATE = TypeVar("T_STATE", bound=BaseState)
Expand Down

0 comments on commit ad7dbc2

Please sign in to comment.