@@ -658,17 +658,19 @@ def test_constructor_fields_required(self) -> None:
658658 """
659659 with pytest .raises (ValidationError ):
660660 # missing all parameters
661- _ = AuthorizedResponse () # pyright: ignore
661+ _ = AuthorizedResponse () # pyright: ignore[reportCallIssue]
662662
663663 with pytest .raises (ValidationError ):
664664 # missing user_id parameter
665- _ = AuthorizedResponse (username = "testuser" ) # pyright: ignore
665+ _ = AuthorizedResponse (
666+ username = "testuser"
667+ ) # pyright: ignore[reportCallIssue]
666668
667669 with pytest .raises (ValidationError ):
668670 # missing username parameter
669671 _ = AuthorizedResponse (
670672 user_id = "123e4567-e89b-12d3-a456-426614174000"
671- ) # pyright: ignore
673+ ) # pyright: ignore[reportCallIssue]
672674
673675
674676class TestConversationResponse :
@@ -753,7 +755,7 @@ def test_constructor_not_deleted(self) -> None:
753755 def test_missing_required_parameters (self ) -> None :
754756 """Test ConversationDeleteResponse raises ValidationError when required fields missing."""
755757 with pytest .raises (ValidationError ):
756- ConversationDeleteResponse () # pylint: disable=missing-kwoa # pyright: ignore
758+ ConversationDeleteResponse () # pylint: disable=missing-kwoa # pyright: ignore[reportCallIssue]
757759 with pytest .raises (ValidationError ):
758760 ConversationDeleteResponse ( # pylint: disable=missing-kwoa # pyright: ignore[reportCallIssue]
759761 deleted = True
@@ -1287,7 +1289,9 @@ class NoExamplesResponse(AbstractSuccessfulResponse):
12871289 """Class without examples."""
12881290
12891291 field : str = "test"
1290- model_config : ConfigDict = {"json_schema_extra" : {}} # pyright: ignore
1292+ model_config : ConfigDict = {
1293+ "json_schema_extra" : {}
1294+ } # pyright: ignore[reportIncompatibleVariableOverride]
12911295
12921296 with pytest .raises (SchemaError , match = "Examples not found" ):
12931297 NoExamplesResponse .openapi_response ()
0 commit comments