Typically, I use the pattern:

```python
self.published_at = release.get('published_at')
if self.published_at:
    self.published_at = self._strptime(self.published_at)
```

This prevents the problem where the attribute as returned by the API is `None`.