This will call today() when the function is defined (when the module is loaded) rather than when the function is called. You probably want to default this to None and add
```python
if date is None:
    date = datetime.date.today()
```
in the method.