```python
return api.templates.get(TEMP_TMP_NAME)
```
And similarly in the others. This might be more usable. And you can `assert`/`if`/whatever with it later when you decide :+1: