openml.flows
.assert_flows_equal¶
- openml.flows.assert_flows_equal(flow1: OpenMLFlow, flow2: OpenMLFlow, ignore_parameter_values_on_older_children: str | None = None, ignore_parameter_values: bool = False, ignore_custom_name_if_none: bool = False, check_description: bool = True) None ¶
Check equality of two flows.
Two flows are equal if their all keys which are not set by the server are equal, as well as all their parameters and components.
- Parameters:
- flow1OpenMLFlow
- flow2OpenMLFlow
- ignore_parameter_values_on_older_childrenstr (optional)
If set to
OpenMLFlow.upload_date
, ignores parameters in a child flow if it’s upload date predates the upload date of the parent flow.- ignore_parameter_valuesbool
Whether to ignore parameter values when comparing flows.
- ignore_custom_name_if_nonebool
Whether to ignore the custom name field if either flow has custom_name equal to None.
- check_descriptionbool
Whether to ignore matching of flow descriptions.