'Inspect the swarm on the server and store the response in
:py:attr:`attrs`.
Raises:
:py:class:`docker.errors.APIError`
If the server returns an error.'

def reload(self):

    self.attrs = self.client.api.inspect_swarm()
