code: def create(cls, package, inputs=None, settings=None, resume_from=None,
                 name=None, secret_settings=None, api=None):
          
          package = Transform.to_automation_package(package)
  
          data = {'package': package}
          if inputs:
              data['inputs'] = inputs
          if settings:
              data['settings'] = settings
          if resume_from:
              data['resume_from'] = resume_from
          if name:
              data['name'] = name
          if secret_settings:
              data['secret_settings'] = secret_settings
  
          api = api or cls._API
          automation_run = api.post(
              url=cls._URL['query'],
              data=data,
          ).json()
          return AutomationRun(api=api, **automation_run)
docs: Create and start a new run.
          :param package: Automation package id
          :param inputs: Input dictionary
          :param settings: Settings override dictionary
          :param resume_from: Run to resume from
          :param name: Automation run name
          :param secret_settings: dict to override secret_settings from
          automation template
          :param api: sevenbridges Api instance
          :return: AutomationRun object