# tmuxp.plugin.TmuxpPlugin.before_workspace_builder

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

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

Provide a session hook previous to creating the workspace.

This runs after the session has been created but before any of
the windows/panes/commands are entered.

## Parameters

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