[psutil] add settable info property (#10275)

This commit is contained in:
Matthew Hoffman
2024-03-15 02:16:06 -07:00
committed by GitHub
parent 1a275547b4
commit 53443ac4d0

View File

@@ -169,6 +169,8 @@ class Process:
def __hash__(self) -> int: ...
@property
def pid(self) -> int: ...
# Only present if attrs argument is passed to process_iter
info: dict[str, Any]
def oneshot(self) -> AbstractContextManager[None]: ...
def as_dict(
self, attrs: list[str] | tuple[str, ...] | set[str] | frozenset[str] | None = None, ad_value: Incomplete | None = None