# sec_interp.core.controller module

class sec_interp.core.controller.ProfileController

  Bases: `object`

  Orchestrates data generation services for SecInterp.

  Initialize services and cache.

  __init__()

    Initialize services and cache.

  get_cached_data(inputs: dict[str, Any]) → dict[str, Any] | None

    Retrieve data from cache if available.

  cache_data(inputs: dict[str, Any], data: dict[str, Any]) → None

    Cache the generated data.

  generate_profile_data(values: dict[str, Any]) → tuple[list, Any, Any, Any, list[str]]

    Unified method to generate all profile data components.

    Parameters:

      values (dict) – Validated input values.

    Returns:

      (profile_data, geol_data, struct_data, drillhole_data, messages)

    Return type:

      tuple