I have code like this:

```
thing = thing.query.filter_by(id=thing_id).limit(1).all()[0]

```

`all()[0]` feels a bit messy and redundant in the `limit(1)` case. Is there a more terse (and/or otherwise optimal) way to achieve this?