woodwork.type_sys.type_system.TypeSystem.remove_type#
- TypeSystem.remove_type(logical_type: LogicalType, treatment: Optional[str] = None)[source]#
Remove a logical type from the TypeSystem. Any children of the remove type will have their parent set to the parent of the removed type.
- Parameters:
logical_type (LogicalType) – The LogicalType to remove.
treatment (str, optional) – If the specified logical type doesn’t exist, determine the logic that should be applied. Options are “ignore” and None (default). “ignore” will not raise an error if the passed LogicalType doesn’t exists. The default value of None will raise an error.