@@ -71,18 +71,32 @@ class Container(Model):
71
71
follow : bool | None = None ,
72
72
until : datetime .datetime | float | None = None ,
73
73
) -> bytes : ...
74
- def pause (self ): ...
74
+ def pause (self ) -> None : ...
75
75
def put_archive (self , path : str , data ) -> bool : ...
76
- def remove (self , ** kwargs ) -> None : ...
76
+ def remove (self , * , v : bool = False , link : bool = False , force : bool = False ) -> None : ...
77
77
def rename (self , name : str ): ...
78
78
def resize (self , height : int , width : int ): ...
79
- def restart (self , ** kwargs ): ...
80
- def start (self , ** kwargs ) -> None : ...
79
+ def restart (self , * , timeout : float | None = 10 ): ...
80
+ def start (self ) -> None : ...
81
81
def stats (self , ** kwargs ): ...
82
82
def stop (self , * , timeout : float | None = None ) -> None : ...
83
- def top (self , ** kwargs ) : ...
83
+ def top (self , * , ps_args : str | None = None ) -> str : ...
84
84
def unpause (self ): ...
85
- def update (self , ** kwargs ): ...
85
+ def update (
86
+ self ,
87
+ * ,
88
+ blkio_weight : int | None = None ,
89
+ cpu_period : int | None = None ,
90
+ cpu_quota : int | None = None ,
91
+ cpu_shares : int | None = None ,
92
+ cpuset_cpus : str | None = None ,
93
+ cpuset_mems : str | None = None ,
94
+ mem_limit : float | str | None = None ,
95
+ mem_reservation : float | str | None = None ,
96
+ memswap_limit : int | str | None = None ,
97
+ kernel_memory : int | str | None = None ,
98
+ restart_policy : Incomplete | None = None ,
99
+ ): ...
86
100
def wait (self , * , timeout : float | None = None , condition : Literal ["not-running" , "next-exit" , "removed" ] | None = None ): ...
87
101
88
102
class ContainerCollection (Collection [Container ]):
0 commit comments