SIENTIAPDE-1094

fix: update variable names for consistency and bump image tag version
This commit is contained in:
vitor-aignosi
2025-06-10 08:48:44 -03:00
parent 17b98392a7
commit 881e7232e9
3 changed files with 4 additions and 4 deletions

View File

@@ -139,7 +139,7 @@ class Gates(BaseActivity):
continue
try:
if mlflow_response_filter_functions[fil](data, config):
filter_output.append(config['POLICY'])
filter_output.append(config['policy'])
comments.append(data['content']['message'])
self.notification_handler.build_and_send_notification(
notification_id=f"{gate_type.upper()}_GATE_RESPONSE_FILTER__{fil}",

View File

@@ -13,7 +13,7 @@ def filter_specific_variables_null_values(data: DataFrame, config: dict) -> bool
bool: True if the specific columns have null values, False otherwise.
"""
return not data[
data['variable'].isin(config['VARIABLES']) & data['value'].isna()].empty
data['variable'].isin(config['variables']) & data['value'].isna()].empty
def filter_empty_data(data: DataFrame, _config: dict) -> bool: