Will this code be too complicated for below functions? 
```python
def __getattr__(self, name):
   if name in ['get', 'post', 'put', 'delete']:
      return functools.partial(self._request, name)
```