fix: no longer throws error for overlapping keys, the warning should hopefully be enough?

This commit is contained in:
Deepak Mallubhotla 2024-04-28 20:51:43 -05:00
parent e5f7085324
commit f3ba4cbfd3
Signed by: deepak
GPG Key ID: BEBAEBF28083E022

View File

@ -61,7 +61,7 @@ def write_uncoalesced_dict(
if not (set(model_field_names).isdisjoint(calculation_field_names)):
_logger.info(f"Detected model field names {model_field_names}")
_logger.info(f"Detected calculation field names {calculation_field_names}")
raise ValueError(
_logger.warning(
f"model field names {model_field_names} and calculation {calculation_field_names} have an overlap, which is possibly a problem"
)
collected_fieldnames = list(model_field_names)