massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / pyvmomi / pyVmomi / vim / view.pyi
1 from typing import Any, Type
2
3 from pyVmomi.vim import ManagedEntity
4
5 def __getattr__(name: str) -> Any: ...  # incomplete
6
7 class ContainerView:
8     def Destroy(self) -> None: ...
9
10 class ViewManager:
11     # Doc says the `type` parameter of CreateContainerView is a `list[str]`,
12     # but in practice it seems to be `list[Type[ManagedEntity]]`
13     # Source: https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.view.ViewManager.html
14     @staticmethod
15     def CreateContainerView(container: ManagedEntity, type: list[Type[ManagedEntity]], recursive: bool) -> ContainerView: ...