The best approach is to set sync_interval to None in the function definition. Then you check:

```python
if sync_interval is None:
    sync_interval = SYNC_INTERVAL["hour"]
```