# tmuxp.plugin.TmuxpPlugin.reattach

- **Module:** tmuxp.plugin
- **Package:** tmuxp
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/tmuxp/blob/153acdf6ff1268b14d3d03ed488f545a7123c8f1/src/tmuxp/plugin.py#L352
- **Page:** https://libtmux.org/en/py/stable/workspace/reference/tmuxp-plugin-tmuxpplugin-reattach/

```
tmuxp.plugin.TmuxpPlugin.reattach(
    self, session: Session
) -> None
```

Provide a session hook before reattaching to the session.

## Parameters

- `session` (`Session`): session to hook into
