Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various fixes related to inspect API #232

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 30 additions & 11 deletions vsgenstubs4/_vapoursynth.part.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1010,24 +1010,27 @@ class RawNode:

def is_inspectable(self, version: Union[int, None] = None) -> bool: ...

if not TYPE_CHECKING:
@property
def _node_name(self) -> str: ...
@property
def node_name(self) -> str: ...

@property
def _name(self) -> str: ...
@property
def timings(self) -> int: ...

@property
def _inputs(self) -> Dict[str, _VapourSynthMapValue]: ...
@timings.setter
def timings(self) -> None: ...

@property
def _timings(self) -> int: ...
@property
def mode(self) -> FilterMode: ...

@property
def dependencies(self): ...

if not TYPE_CHECKING:
@property
def _mode(self) -> FilterMode: ...
def _name(self) -> str: ...

@property
def _dependencies(self): ...
def _inputs(self) -> Dict[str, _VapourSynthMapValue]: ...

@overload
def __eq__(self: 'SelfRawNode', other: 'SelfRawNode', /) -> bool: ... # type: ignore[misc]
Expand Down Expand Up @@ -1123,6 +1126,20 @@ class LogHandle:
def __init__(self) -> NoReturn: ...


class CoreTimings:
@property
def enabled(self) -> bool: ...

@enabled.setter
def enabled(self) -> None: ...

@property
def freed_nodes(self) -> int: ...

@freed_nodes.setter
def freed_nodes(self) -> None: ...


class Function:
plugin: 'Plugin'
name: str
Expand Down Expand Up @@ -1153,6 +1170,8 @@ class Plugin:


class Core:
timings: CoreTimings

def __init__(self) -> NoReturn: ...

@property
Expand Down