code: def kwargs_to_spec(self, **kwargs):
          
  
          spec = self.create_spec(**kwargs)
          self.prepare_spec(spec, **kwargs)
          return spec
docs: Turn the provided kwargs into arguments ready for toolchain.