Remove pyvmomi from pyright's exclude (#8943)

This commit is contained in:
Nikita Sobolev
2022-10-20 17:10:34 +03:00
committed by GitHub
parent 122bceeade
commit b0b0cc6474
4 changed files with 7 additions and 6 deletions

View File

@@ -73,7 +73,6 @@
"stubs/PyMySQL",
"stubs/python-dateutil",
"stubs/python-jose",
"stubs/pyvmomi",
"stubs/pywin32",
"stubs/PyYAML",
"stubs/redis",

View File

@@ -36,7 +36,7 @@ class PerformanceManager:
class MetricId:
counterId: int
instance: str
def __init__(self, counterId: int, instance: str): ...
def __init__(self, counterId: int, instance: str) -> None: ...
class PerfCounterInfo:
key: int

View File

@@ -8,7 +8,7 @@ class Event:
class EventFilterSpec:
class ByTime:
def __init__(self, beginTime: datetime): ...
def __init__(self, beginTime: datetime) -> None: ...
time: EventFilterSpec.ByTime
class EventManager:

View File

@@ -13,7 +13,9 @@ class PropertyCollector:
pathSet: list[str]
class TraversalSpec:
def __init__(self, *, path: str = ..., skip: bool = ..., type: type[ContainerView] = ..., **kwargs) -> None: ...
def __init__(
self, *, path: str = ..., skip: bool = ..., type: type[ContainerView] = ..., **kwargs: Incomplete
) -> None: ...
path: str
skip: bool
type: type[ContainerView]
@@ -37,14 +39,14 @@ class PropertyCollector:
*,
propSet: list[PropertyCollector.PropertySpec] = ...,
objectSet: list[PropertyCollector.ObjectSpec] = ...,
**kwargs,
**kwargs: Incomplete,
) -> None: ...
propSet: list[PropertyCollector.PropertySpec]
objectSet: list[PropertyCollector.ObjectSpec]
def __getattr__(self, name: str) -> Incomplete: ...
class ObjectContent:
def __init__(self, *, obj: ManagedEntity = ..., propSet: list[DynamicProperty] = ..., **kwargs) -> None: ...
def __init__(self, *, obj: ManagedEntity = ..., propSet: list[DynamicProperty] = ..., **kwargs: Incomplete) -> None: ...
obj: ManagedEntity
propSet: list[DynamicProperty]
def __getattr__(self, name: str) -> Incomplete: ...