@imp/rules/python/lock

Module: @imp/rules/python/lock.

python_workspace_lock(options)

Declare an uncached lock task. Options: workspace, sources, uv (tool handle), and python_version. Return a Python lock task handle for the GEN_LOCKFILES slot. sources must include workspace metadata.

Source: rules/python/lock.luau:8.