validate¶
-
Pipeline.
validate
()[source]¶ Checks both the types and the values of all instance variables and raises an exception if something is off.
- Raises:
- KeyError: If an unsupported instance variable is
encountered.
TypeError: If any instance variable is of wrong type.
- ValueError: If any instance variable does not match its
possible choices (string) or is out of the expected bounds (numerical).
- Note:
This method is triggered at the end of the __init__ constructor and every time a function communicating with the getML engine - except
refresh()
- is called.