From fed2e5e0ad95fbbdfefea66d46ac7fe71f34dec4 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Mon, 8 Aug 2022 05:25:22 -0700 Subject: [PATCH] psutil: improve svmem types (#8503) --- stubs/psutil/psutil/_psbsd.pyi | 22 +++++++++++----------- stubs/psutil/psutil/_pslinux.pyi | 22 +++++++++++----------- stubs/psutil/psutil/_psosx.pyi | 16 ++++++++-------- stubs/psutil/psutil/_pswindows.pyi | 10 +++++----- 4 files changed, 35 insertions(+), 35 deletions(-) diff --git a/stubs/psutil/psutil/_psbsd.pyi b/stubs/psutil/psutil/_psbsd.pyi index a9f87ff0c..326025ce0 100644 --- a/stubs/psutil/psutil/_psbsd.pyi +++ b/stubs/psutil/psutil/_psbsd.pyi @@ -26,17 +26,17 @@ HAS_PROC_NUM_FDS: Any kinfo_proc_map: Any class svmem(NamedTuple): - total: Any - available: Any - percent: Any - used: Any - free: Any - active: Any - inactive: Any - buffers: Any - cached: Any - shared: Any - wired: Any + total: int + available: int + percent: float + used: int + free: int + active: int + inactive: int + buffers: int + cached: int + shared: int + wired: int class scputimes(NamedTuple): user: Any diff --git a/stubs/psutil/psutil/_pslinux.pyi b/stubs/psutil/psutil/_pslinux.pyi index e68bf0205..77efae1e3 100644 --- a/stubs/psutil/psutil/_pslinux.pyi +++ b/stubs/psutil/psutil/_pslinux.pyi @@ -41,17 +41,17 @@ PROC_STATUSES: Any TCP_STATUSES: Any class svmem(NamedTuple): - total: Any - available: Any - percent: Any - used: Any - free: Any - active: Any - inactive: Any - buffers: Any - cached: Any - shared: Any - slab: Any + total: int + available: int + percent: float + used: int + free: int + active: int + inactive: int + buffers: int + cached: int + shared: int + slab: int class sdiskio(NamedTuple): read_count: Any diff --git a/stubs/psutil/psutil/_psosx.pyi b/stubs/psutil/psutil/_psosx.pyi index 9affcc5cf..9afe1213c 100644 --- a/stubs/psutil/psutil/_psosx.pyi +++ b/stubs/psutil/psutil/_psosx.pyi @@ -26,14 +26,14 @@ class scputimes(NamedTuple): idle: Any class svmem(NamedTuple): - total: Any - available: Any - percent: Any - used: Any - free: Any - active: Any - inactive: Any - wired: Any + total: int + available: int + percent: float + used: int + free: int + active: int + inactive: int + wired: int class pmem(NamedTuple): rss: Any diff --git a/stubs/psutil/psutil/_pswindows.pyi b/stubs/psutil/psutil/_pswindows.pyi index 15625c7ff..b8f154ef5 100644 --- a/stubs/psutil/psutil/_pswindows.pyi +++ b/stubs/psutil/psutil/_pswindows.pyi @@ -62,11 +62,11 @@ class scputimes(NamedTuple): dpc: Any class svmem(NamedTuple): - total: Any - available: Any - percent: Any - used: Any - free: Any + total: int + available: int + percent: float + used: int + free: int class pmem(NamedTuple): rss: Any