code: def service_execution(self, name=None, pk=None, scope=None, service=None, **kwargs):
          
          _service_executions = self.service_executions(name=name, pk=pk, scope=scope, service=service, **kwargs)
  
          if len(_service_executions) == 0:
              raise NotFoundError("No service execution fits criteria")
          if len(_service_executions) != 1:
              raise MultipleFoundError("Multiple service executions fit criteria")
  
          return _service_executions[0]
docs: Retrieve single KE-chain ServiceExecution.
  
          Uses the same interface as the :func:`service_executions` method but returns only a single
          pykechain :class:`models.ServiceExecution` instance.
  
          If additional `keyword=value` arguments are provided, these are added to the request parameters. Please
          refer to the documentation of the KE-chain API for additional query parameters.
  
          :param name: (optional) name to limit the search for
          :type name: basestring or None
          :param pk: (optional) primary key or id (UUID) of the service to search for
          :type pk: basestring or None
          :param scope: (optional) id (UUID) of the scope to search in
          :type scope: basestring or None
          :param kwargs: (optional) additional search keyword arguments
          :type kwargs: dict or None
          :return: a single :class:`models.ServiceExecution` object
          :raises NotFoundError: When no `ServiceExecution` object is found
          :raises MultipleFoundError: When more than a single `ServiceExecution` object is found