code: def set_gateway(self, gateway):
          '''
          :param crabpy.gateway.crab.CrabGateway gateway: Gateway to use.
          '''
          self.gateway = gateway
          self.gewest.gateway = gatewaf set_gateway(self, gateway):
          '''
          :param crabpy.gateway.crab.CrabGateway gateway: Gateway to use.
          '''
          self.gateway = gateway
          self.gewest.gateway = gateway
docs: :param crabpy.gateway.crab.CrabGateway gateway: Gateway to use.