this method is long and contains multiple control flow statements/branching.  

would this be a good place to break some of the code out into two smaller methods -

```
for name, method in inspect.getmembers(resource_class, predicate=inspect.ismethod):
    _handle_links(name, method)
    _handle_fields(name, method)
```

for example?