class_docstr: Twelve Labs API handler implementation.
class_docstr_tok: ["Twelve","Labs","API","handler","implementation","."]
docstr: Validates the create arguments. This method is called when creating a new model, prior to calling the create() method.
  
  Parameters
  ----------
  target : str
      Name of the target column.
  
  args : Dict
      Arguments from the USING clause.
  
  kwargs : Dict
      Additional arguments.
  
  Raises
  ------
  MissingConnectionParams
      If a USING clause is not provided.
  
  ValueError
      If the parameters in the USING clause are invalid.
docstr_tok: ["Validates","the","create","arguments",".","This","method","is","called","when","creating","a","new","model",",","prior","to","calling","the","create","(",")","method",".","Parameters","--","--","--","--","--","target",":","str","Name","of","the","target","column",".","args",":","Dict","Arguments","from","the","USING","clause",".","kwargs",":","Dict","Additional","arguments",".","Raises","--","--","--","MissingConnectionParams","If","a","USING","clause","is","not","provided",".","ValueError","If","the","parameters","in","the","USING","clause","are","invalid","."]
code: def create_validation(
      target: str, args: Dict = None, **kwargs: Dict
  ) -> None:
      """
      Validates the create arguments. This method is called when creating a new model, prior to calling the create() method.
  
      Parameters
      ----------
      target : str
          Name of the target column.
  
      args : Dict
          Arguments from the USING clause.
  
      kwargs : Dict
          Additional arguments.
  
      Raises
      ------
      MissingConnectionParams
          If a USING clause is not provided.
  
      ValueError
          If the parameters in the USING clause are invalid.
      """
  
      # check for USING clause
      if "using" not in args:
          raise MissingConnectionParams(
              "Twelve Labs engine requires a USING clause! Refer to its documentation for more details."
          )
      else:
          # get USING args
          args = args["using"]
          # pass args to TwelveLabsHandlerModel for validation
          TwelveLabsHandlerModel(**args)
  
file_path: mindsdb/mindsdb/integrations/handlers/twelve_labs_handler/twelve_labs_handler.py
imports: import pandas
  from typing import Optional, Dict
  from mindsdb.utilities import log
  from mindsdb.integrations.libs.base import BaseMLEngine
  from mindsdb.integrations.utilities.handler_utils import get_api_key
  from mindsdb.integrations.libs.api_handler_exceptions import MissingConnectionParams
  from mindsdb.integrations.handlers.twelve_labs_handler.settings import TwelveLabsHandlerModel
  from mindsdb.integrations.handlers.twelve_labs_handler.twelve_labs_api_client import TwelveLabsAPIClient
label_desc: Use image node_id 2 for calling the TwelveLabsHandler obj's underlying member method code with example usage: obj.create_validation(target, args) without return types