I saw this issue opened on pylint saying that class 'HTTPMethod' has no '__members__' when accessing HTTPMethod.__members__, even though HTTPMethod is a valid StrEnum introduced in Python 3.11 and has __members__ at runtime
This is happening because HTTPMethod is missing from astroid/brain/brain_http.py
I'll open a PR fixing that
I saw this issue opened on pylint saying that class 'HTTPMethod' has no
'__members__'when accessingHTTPMethod.__members__, even thoughHTTPMethodis a validStrEnumintroduced in Python 3.11 and has__members__at runtimeThis is happening because
HTTPMethodis missing fromastroid/brain/brain_http.pyI'll open a PR fixing that