mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-25 19:17:16 +08:00
Use lowercase type everywhere (#6853)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import Any, Type
|
||||
from typing import Any
|
||||
|
||||
from pyVmomi.vim import ManagedEntity
|
||||
|
||||
@@ -12,4 +12,4 @@ class ViewManager:
|
||||
# but in practice it seems to be `list[Type[ManagedEntity]]`
|
||||
# Source: https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.view.ViewManager.html
|
||||
@staticmethod
|
||||
def CreateContainerView(container: ManagedEntity, type: list[Type[ManagedEntity]], recursive: bool) -> ContainerView: ...
|
||||
def CreateContainerView(container: ManagedEntity, type: list[type[ManagedEntity]], recursive: bool) -> ContainerView: ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any, Type
|
||||
from typing import Any
|
||||
|
||||
from pyVmomi.vim import ManagedEntity
|
||||
from pyVmomi.vim.view import ContainerView
|
||||
@@ -6,17 +6,17 @@ from pyVmomi.vmodl import DynamicProperty
|
||||
|
||||
class PropertyCollector:
|
||||
class PropertySpec:
|
||||
def __init__(self, *, all: bool = ..., type: Type[ManagedEntity] = ..., pathSet: list[str] = ...) -> None: ...
|
||||
def __init__(self, *, all: bool = ..., type: type[ManagedEntity] = ..., pathSet: list[str] = ...) -> None: ...
|
||||
all: bool
|
||||
type: Type[ManagedEntity]
|
||||
type: type[ManagedEntity]
|
||||
pathSet: list[str]
|
||||
class TraversalSpec:
|
||||
def __init__(
|
||||
self, *, path: str = ..., skip: bool = ..., type: Type[ContainerView] = ..., **kwargs: Any # incomplete
|
||||
self, *, path: str = ..., skip: bool = ..., type: type[ContainerView] = ..., **kwargs: Any # incomplete
|
||||
) -> None: ...
|
||||
path: str
|
||||
skip: bool
|
||||
type: Type[ContainerView]
|
||||
type: type[ContainerView]
|
||||
def __getattr__(self, name: str) -> Any: ... # incomplete
|
||||
class RetrieveOptions:
|
||||
def __init__(self, *, maxObjects: int) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user