lale.schema_utils module¶
- lale.schema_utils.atomize_schema_enumerations(schema: Union[None, Dict[str, Any], List[Dict[str, Any]]]) None [source]¶
Given a schema, converts structured enumeration values (records, arrays) into schemas where the structured part is specified as a schema, with the primitive as the enum.
- lale.schema_utils.check_operators_schema(schema: Optional[Union[List[Dict[str, Any]], Dict[str, Any]]], warnings: List[str]) None [source]¶
Given a schema, collect warnings if there are any enumeration with all Operator values that are not marked as ‘laleType’:’operator’. This should be called after simplification.