mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 03:41:28 +08:00
[psutil] add settable info property (#10275)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user