matiasmenares/Nissboard

View on GitHub
dashboard/api/settings/led_setting.py

Summary

Maintainability
A
3 hrs
Test Coverage

Showing 1 of 1 total issue

Similar blocks of code found in 2 locations. Consider refactoring.
Open

def get(self):
led = Led.query.all()
led_schema = LedSchema(many=True)
led_output = LedOutput.query.all()
led_output_schema = LedOutputSchema(many=True)
Severity: Major
Found in dashboard/api/settings/led_setting.py and 1 other location - About 3 hrs to fix
dashboard/api/settings/channels/output.py on lines 7..12
Category
Status