explicit pyright ignores
This commit is contained in:
parent
4aea16e84a
commit
ad7dbc2436
@ -2277,7 +2277,7 @@ class BaseState(Base, ABC, extra=pydantic.Extra.allow):
|
|||||||
substate_schema, state = data # pyright: ignore[reportUnknownVariableType,reportGeneralTypeIssues]
|
substate_schema, state = data # pyright: ignore[reportUnknownVariableType,reportGeneralTypeIssues]
|
||||||
if substate_schema != state._to_schema(): # pyright: ignore[reportAttributeAccessIssue,reportUnknownMemberType]
|
if substate_schema != state._to_schema(): # pyright: ignore[reportAttributeAccessIssue,reportUnknownMemberType]
|
||||||
raise StateSchemaMismatchError()
|
raise StateSchemaMismatchError()
|
||||||
return state # type: ignore
|
return state # pyright: ignore[reportUnknownVariableType,reportReturnType]
|
||||||
|
|
||||||
|
|
||||||
T_STATE = TypeVar("T_STATE", bound=BaseState)
|
T_STATE = TypeVar("T_STATE", bound=BaseState)
|
||||||
|
Loading…
Reference in New Issue
Block a user