code: def consul_fetch(client, path):
      '''
      Query consul for all keys/values within base path
      '''
      # Unless the root path is blank, it needs a trailing slash for
      # the kv get from Consul to work as expected
      return client.kv.get('' if not path else path.rstrip('/') + '/', recurse=Truef consul_fetch(client, path):
      '''
      Query consul for all keys/values within base path
      '''
      # Unless the root path is blank, it needs a trailing slash for
      # the kv get from Consul to work as expected
      return client.kv.get('' if not path else path.rstrip('/') + '/', recurse=True)
docs: Query consul for all keys/values within base path