DetachHead

Results 929 comments of DetachHead

looks like my example will be addressed in #1533

could you provide an example? go to definition on `TypedDict` keys works for me now

yeah i don't see why this shouldn't work. i don't understand the argument in https://github.com/microsoft/pyright/issues/9110#issuecomment-2383770629 about the `__init__` and `__new__` methods. since [the signatures are supposed to always match](https://basedpyright.com/?typeCheckingMode=all&code=GYJw9gtgBALgngBwJYDsDmUkQWEMoDKApgDbABQlAxiQIYDO9UAggFzlSdQAmRwUAfQEoiAdyEAKGvQCUUALQA%2BQqWDsuGqADodlDb35DUSGJPqqANFAbc1mFDDlKoAOTAj1mzggb0gA) i...

the environment variable seems easy enough to just pass using the `--env` argument. i believe if you omit the value it will use the value from the host environment. as...

> I just think the `--env` argument part should be in the docs. happy to add this. i intended this feature to "just work" out of the box without any...

hmm i thought we had an issue for this already but i guess not. thanks

same with `NoneType` except only `reportUnreachable` is reported but not `reportUnnecessaryComparison`

rejected upstream issue: https://github.com/microsoft/pyright/issues/8825

here's a repro: ```py from typing import Literal type Foo = Literal["aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"] foo: Foo = '' # completion here ``` thanks for finding the code

i think it's an edge case that you want to access the attribute like that. 99% of the time it would be accessed from outside of the class (or inside...