code: def query_echo(cls, request,
                     foo: (Ptypes.query, String('A query parameter'))) -> [
              (200, 'Ok', String)]:
          '''Echo the query parameter.'''
          log.info('Echoing query param, value is: {}'.format(foo))
          for i in range(randint(0, MAX_LOOP_DURATION)):
              yield
          msg = 'The value sent was: {}'.format(foo)
          Respond(200, msgf query_echo(cls, request,
                     foo: (Ptypes.query, String('A query parameter'))) -> [
              (200, 'Ok', String)]:
          '''Echo the query parameter.'''
          log.info('Echoing query param, value is: {}'.format(foo))
          for i in range(randint(0, MAX_LOOP_DURATION)):
              yield
          msg = 'The value sent was: {}'.format(foo)
          Respond(200, msg)
docs: Echo the query parameter.