OpServ-Monitoring/opserv-backend

View on GitHub
app/server/apis/websocket/websocket_handler.py

Summary

Maintainability
A
1 hr
Test Coverage

Function __on_measurement_received has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def __on_measurement_received(self, component_type: str, component_arg: str, metric: str, timestamp: int,
Severity: Minor
Found in app/server/apis/websocket/websocket_handler.py - About 35 mins to fix

    Function broadcast_new_measurement has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def broadcast_new_measurement(cls, component_type: str, component_arg: str, metric: str, timestamp: int,
    Severity: Minor
    Found in app/server/apis/websocket/websocket_handler.py - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status