1 feels like a magic number here. this is a dumb example but can we make it a constant and then access it, like

```python
MAX_ITERATIONS = 3
return iterations[:MAX_ITERATIONS]
```

alternately, maybe pull out the access into a method?

```python
def _get_representation(mediatype):
     return self.representations[mediatype][MAGIC_VAL](data, *args, *kwargs)
```