may be good to pull that out and set at the object scope level. ie:

```python
class foo:
    style_css = os.path.join(os.path.dirname(__file__), 'assets/style.css')
    # ... then the rest of the class definition
```