cpdflow.wml.wml.check_model_promoted

check_model_promoted(config: dict, model_name: str, space_type: str, log_format: str) bool[source]

Check if model is promoted in given space.

Parameters:
  • config (dict) – configuration dictionary

  • model_name (str) – model name

  • space_type (str) – development or production environment

  • log_format (str) – log format for this method

Returns:

True if model exists in given space_type, otherwise False

Return type:

bool