code: def validate_detector(self, body, params=None):
          
          if body in SKIP_IN_PATH:
              raise ValueError("Empty value passed for a required argument 'body'.")
          return self.transport.perform_request(
              "POST",
              "/_ml/anomaly_detectors/_validate/detector",
              params=params,
              body=body,
          )
docs: `<>`_
  
          :arg body: The detector