module

compat

module laco.compat

Backward-compatibility shim for 0.x Laco configs (task G32a).

Importing this module installs a :func:`migrate_target` hook that rewrites legacy ``_target_: laco.ops.partial`` nodes to the canonical ``_partial_: true`` Hydra representation.

Members

function

  • installInstall the 0.x → v1 ``migrate_target`` hook into :mod:`laco._lazy`.
  • uninstallRemove the compat hook, restoring the identity migrate_target.

Source: laco/compat.py:1