Skip to content

Refactor get_devices to reduce complexity

Tim Metzner requested to merge get_devices_refactor into main

Make another function, devices.views.get_devices, compliant with "C901 too complex".

I think I found a nice way to do it.

Merge request reports