from lexos.receivers.base_receiver import BaseReceiver


class StatsReceiver(BaseReceiver):
    def __init__(self):
        """So far there is no frontend option for statistics analysis"""
        super().__init__()

    def options_from_front_end(self):
        """So far there is no frontend option for statistics analysis"""
        pass

from lexos.receivers.base_receiver import BaseReceiver


class StatsReceiver(BaseReceiver):
    def __init__(self):
        """So far there is no frontend option for statistics analysis"""
        super().__init__()

    def options_from_front_end(self):
        """So far there is no frontend option for statistics analysis"""
        raise NotImplementedError

Modify receiver to prevent using in future
Modify receiver to prevent using in future

  from lexos.receivers.base_receiver import BaseReceiver
  
  
  class StatsReceiver(BaseReceiver):
      def __init__(self):
          """So far there is no frontend option for statistics analysis"""
          super().__init__()
  
      def options_from_front_end(self):
          """So far there is no frontend option for statistics analysis"""
-         pass
+         raise NotImplementedError
  
Modify receiver to prevent using in future
## Code Before:
from lexos.receivers.base_receiver import BaseReceiver


class StatsReceiver(BaseReceiver):
    def __init__(self):
        """So far there is no frontend option for statistics analysis"""
        super().__init__()

    def options_from_front_end(self):
        """So far there is no frontend option for statistics analysis"""
        pass

## Instruction:
Modify receiver to prevent using in future
## Code After:
from lexos.receivers.base_receiver import BaseReceiver


class StatsReceiver(BaseReceiver):
    def __init__(self):
        """So far there is no frontend option for statistics analysis"""
        super().__init__()

    def options_from_front_end(self):
        """So far there is no frontend option for statistics analysis"""
        raise NotImplementedError
