Would it be better to do something like:

```
kwargs['segmentation'] = kwargs.get('segmentation', 'none')
```