code: def _version_str_to_obj(version_str) -> packaging.version.Version:
      return packaging.version.Version(version_str)
  
file_path: streamlit/lib/streamlit/version.py
imports: import random
  import packaging.version
  from importlib_metadata import version
  from typing_extensions import Final
  import streamlit.logger
label_desc: Use image node_id 1 for calling a global function with example usage: _version_str_to_obj(version_str) and returns: packaging