### Describe the Bug https://stackoverflow.com/questions/62267544/generate-pydantic-model-from-a-dict even a website for this https://jsontopydantic.com/ usage: I have code like this ``` def f(): return {"a": 1, "b": [1, 2]} ``` ``` class F(TypedDict): a: int b: list[int] def f() -> F: return {"a": 1, "b": [1, 2]} ``` convert them to handle something like `f()["a"]` ### Sandbox Link _No response_ ### (Only applicable for extension issues) IDE Information _No response_