--------------------
Fixes false positives with the mypy plugin.
Happened when `to_pydantic` was called on a type that was converted
pydantic with all_fields=True.
Also fixes the type signature when `to_pydantic` is defined by the user.
python
from pydantic import BaseModel
from typing import Optional
import strawberry
class MyModel(BaseModel):
email: str
password: Optional[str]
strawberry.experimental.pydantic.input(model=MyModel, all_fields=True)
class MyModelStrawberry: ...
MyModelStrawberry(email="").to_pydantic()
previously would complain wrongly about missing email and password
Contributed by [James Chua](https://github.com/thejaminator) via [PR #2017](https://github.com/strawberry-graphql/strawberry/pull/2017/)