You have to do

```
::Client.new{{if .Api.base_as_arg}}('{{.Api.base}}'){{end}}
```