code: def constructors_with_only_fw_version_that_need_py_version():
      ctrs = []
      for template in TEMPLATES:
          if template.py_version_for_model:
              ctrs.extend(template.constructors(fw_version=True))
          else:
              ctrs.extend(template._frameworks(fw_version=True))
      return ctrs
  
imports: from __future__ import absolute_import
  import pytest
  from sagemaker.cli.compatibility.v2.modifiers import framework_version
  from tests.unit.sagemaker.cli.compatibility.v2.modifiers.ast_converter import ast_call
label_desc: Use image node_id 4 for calling a global function with example usage: constructors_with_only_fw_version_that_need_py_version() and returns: ctrs