void () { final String text = """ from typing import TypedDict class VehicleTypedDict(TypedDict): id: int vin: str zip: str make: str trim: str def get_something(vehicle: VehicleTypedDict): return vehicle['<caret>']"""; runWithLanguageLevel( LanguageLevel.getLatest(), () -> { myFixture.configureByText(PythonFileType.INSTANCE, text); myFixture.completeBasic(); myFixture.checkResult(text); assertContainsElements(myFixture.getLookupElementStrings(), "'id'", "'vin'", "'zip'", "'make'", "'trim'"); } ); }