# libtmux.Client.refresh

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/38e368c11117fb4aeb2f082d552cd4f210eae06a/src/libtmux/client.py#L93
- **Page:** https://libtmux.org/en/py/stable/reference/libtmux-client-refresh/

```
libtmux.Client.refresh(self) -> None
```

Refresh client attributes from tmux.

## Raises

- [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError): When ``client_name`` is unset. Surfaces a clear error under
``python -O``, where an ``assert`` would be stripped.
