def METHOD_NAME(
    cls, values: Dict[str, Any]
) -> Dict[str, Any]:
    profiling: Optional[DataLakeProfilerConfig] = values.get("profiling")
    if profiling is not None and profiling.enabled:
        profiling._allow_deny_patterns = values["profile_patterns"]
    return values