Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/docker/docker-py
/ leave
Method
leave
docker/models/swarm.py:140–141 ·
view source on GitHub ↗
(self, *args, **kwargs)
Source
from the content-addressed store, hash-verified
138
join.__doc__ = APIClient.join_swarm.__doc__
139
140
def
leave(self, *args, **kwargs):
141
return
self.client.api.leave_swarm(*args, **kwargs)
142
leave.__doc__ = APIClient.leave_swarm.__doc__
143
144
def
reload(self):
Callers
2
force_leave_swarm
Function · 0.80
test_init_update_leave
Method · 0.80
Calls
1
leave_swarm
Method · 0.80
Tested by
1
test_init_update_leave
Method · 0.64