code: def attach_service(cls, service):
          
          invalid_service = True
          _service_classes = {'_tcp_service': TCPService, '_http_service': HTTPService}
          for key, value in _service_classes.items():
              if isinstance(service, value):
                  cls._services[key] = service
                  invalid_service = False
                  break
          if invalid_service:
              cls._logger.error('Invalid argument attached as service')
          cls._set_bus(service)
docs: Allows you to attach one TCP and one HTTP service
  
          deprecated:: 2.1.73 use http and tcp specific methods
          :param service: A vyked TCP or HTTP service that needs to be hosted