Describe the Bug
now on hover parametrize only shows
(attribute) __call__: _ParametrizeMarkDecorator
Go to [_ParametrizeMarkDecorator](vscode-file://vscode-app/opt/visual-studio-code-insiders/resources/app/out/vs/code/electron-browser/workbench/workbench.html)
@pytest.mark.parametrize(
("role", "status"),
[
(TenantAccountRole.OWNER, 200),
(TenantAccountRole.ADMIN, 200),
(TenantAccountRole.EDITOR, 200),
(TenantAccountRole.NORMAL, 403),
(TenantAccountRole.DATASET_OPERATOR, 403),
],
)
then go to the type definition
class _ParametrizeMarkDecorator(MarkDecorator):
def __call__( # type: ignore[override]
self,
argnames: str | Sequence[str],
argvalues: Iterable[ParameterSet | Sequence[object] | object],
*,
indirect: bool | Sequence[str] = ...,
ids: Iterable[None | str | float | int | bool]
| Callable[[Any], object | None]
| None = ...,
scope: _ScopeName | None = ...,
) -> MarkDecorator: ...
So I think it should show the __call__ definition.
Sandbox Link
No response
(Only applicable for extension issues) IDE Information
No response
Describe the Bug
now on hover
parametrizeonly showsthen go to the type definition
So I think it should show the
__call__definition.Sandbox Link
No response
(Only applicable for extension issues) IDE Information
No response