OperationCode/back-end

View on GitHub

Showing 3 of 3 total issues

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

@swagger_auto_schema(manual_parameters=[email_param])
def patch(self, request, *args, **kwargs):
return super().patch(request, *args, **kwargs)
Severity: Minor
Found in src/core/views.py and 2 other locations - About 30 mins to fix
src/core/views.py on lines 85..87
src/core/views.py on lines 93..95

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

@swagger_auto_schema(manual_parameters=[email_param])
def put(self, request, *args, **kwargs):
return super().put(request, *args, **kwargs)
Severity: Minor
Found in src/core/views.py and 2 other locations - About 30 mins to fix
src/core/views.py on lines 85..87
src/core/views.py on lines 89..91

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

@swagger_auto_schema(manual_parameters=[email_param])
def get(self, request, *args, **kwargs):
return super().get(request, *args, **kwargs)
Severity: Minor
Found in src/core/views.py and 2 other locations - About 30 mins to fix
src/core/views.py on lines 89..91
src/core/views.py on lines 93..95
Severity
Category
Status
Source
Language