code: def get_specs(self, service):
          
          uid = api.get_uid(service)
          keyword = service.getKeyword()
          specs = ResultsRangeDict(keyword=keyword, uid=uid).copy()
          for key in specs.keys():
              specs_value = self.request.form.get(key, [{}])[0].get(uid, None)
              specs[key] = specs_value or specs.get(key)
          return specs
docs: Returns the analysis specs available in the request for the given uid