INNER CODE UNIT · Python

_resolve_contextual_mapping

pdpipe/pdpipe · src/pdpipe/core.py:484

    def _resolve_contextual_mapping(
        value,
        fit_context,
        application_context,
    ):
        """Resolve contextual parameters nested in mapping keys and values."""
        return {
            PdPipelineStage._resolve_contextual_value(
                key, fit_context, application_context
            ): PdPipelineStage._resolve_contextual_value(
                val, fit_context, application_context
            )
            for key, val in value.items()
        }

    @staticmethod
    def _resolve_contextual_items(
        value,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…