You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I was trying to get jedi (actually python-lsp-server) working with pytest and I bumped into the fact that jedi apparently doesn't recognize asynchronous pytest fixtures. The autocomplete works on synchronous fixtures (both from pytest itself and from my conftest.py, but the asynchronous fixtures are not picked up. Showcase:
The sync_fixture is picked up by jedi and hinted properly. The async_fixture seems to be completely ignored.
I didn't have time yet to delve into jedi code and research how difficult such support would be, but I believe it shouldn't be enormous amount of work, considering we already have working detection for synchronous fixtures.
The text was updated successfully, but these errors were encountered:
Hi! I was trying to get jedi (actually
python-lsp-server
) working with pytest and I bumped into the fact that jedi apparently doesn't recognize asynchronous pytest fixtures. The autocomplete works on synchronous fixtures (both from pytest itself and from myconftest.py
, but the asynchronous fixtures are not picked up. Showcase:The
sync_fixture
is picked up by jedi and hinted properly. Theasync_fixture
seems to be completely ignored.I didn't have time yet to delve into
jedi
code and research how difficult such support would be, but I believe it shouldn't be enormous amount of work, considering we already have working detection for synchronous fixtures.The text was updated successfully, but these errors were encountered: