code: def from_versions(cls, versions):
      return cls({"releases": {v: [v + ".whl"] for v in versions}})
  
file_path: mlflow/tests/dev/test_update_ml_package_versions.py
imports: import json
  import re
  from pathlib import Path
  from unittest import mock
  import pytest
  from dev import update_ml_package_versions
label_desc: Use image node_id 5 for calling the MockResponse obj's underlying member method code with example usage: obj.from_versions(cls, versions) and returns: cls