code: def create(self, create_info=None, hyperparameter=None, server='local', insights=False):
          
          if not create_info:
              create_info = {
                  'server': server,
                  'config': {
                      'insights': insights,
                      'command': ' '.join(sys.argv)
                  }
              }
              config = find_config(self.config_path, logger=self.logger)
  
              if not config['model']:
                  raise Exception('AETROS config file (aetros.yml) not found.')
  
              # first transform simple format in the full definition with parameter types
              # (string, number, group, choice_group, etc)
              full_hyperparameters = lose_parameters_to_full(config['parameters'])
  
              # now extract hyperparameters from full definition, and overwrite stuff using
              # incoming_hyperparameter if available
              hyperparameter = extract_parameters(full_hyperparameters, hyperparameter)
              create_info['config']['parameters'] = hyperparameter
  
          self.job = create_info
  
          if 'server' not in self.job and server:
              # setting this disables server assignment
              self.job['server'] = server
  
          self.job['optimization'] = None
          self.job['type'] = 'custom'
  
          if 'parameters' not in self.job['config']:
              self.job['config']['parameters'] = {}
  
          if 'insights' not in self.job['config']:
              self.job['config']['insights'] = insights
  
          self.job['created'] = time.time()
          self.git.create_job_id(self.job)
  
          self.logger.debug("Job created with Git ref " + self.git.ref_head)
  
          return self.job_id
docs: Creates a new job in git and pushes it.
  
          :param create_info: from the api.create_job_info(id). Contains the config and job info (type, server)
          :param hyperparameter: simple nested dict with key->value, which overwrites stuff from aetros.yml
          :param server: if None, the the job will be assigned to a server.
          :param insights: whether you want to activate insights (for simple models)