validate_base

validate_base(input_type, base=None, declaration_mode=False, hard_validation=False, enable_selector=False, type_approval_mode=False)[source]

Validate base data.

Parameters:
  • input_type (str) – Type of file input.
  • base (dict) – Base data.
  • declaration_mode (bool) – Use only the declaration data.
  • hard_validation (bool) – Add extra data validations.
  • enable_selector (bool) – Enable the selection of the best model to predict both H/L cycles.
  • type_approval_mode (bool) – Is launched for TA?
Returns:

Validated base data.

Return type:

dict