Skip to main content

migrated_get_versions_batch

Function migrated_get_versions_batch 

Source
pub fn migrated_get_versions_batch(component_ids: &[&str]) -> Vec<VersionInfo>
Expand description

Rust equivalent of up_get_versions_batch() from update_helper.sh.

Queries versions for multiple Python ML modules in a single subprocess. Returns component_id=version pairs.

ยงDifferences from Shell

The shell function takes the python interpreter as the first argument. This Rust version auto-discovers interpreters via python_interpreters().