explicit pyright ignores

This commit is contained in:
Benedikt Bartscher 2025-02-08 21:00:13 +01:00
parent 4aea16e84a
commit ad7dbc2436
No known key found for this signature in database

View File

@ -2277,7 +2277,7 @@ class BaseState(Base, ABC, extra=pydantic.Extra.allow):
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)