code: def milestone_version(self) -> str:
      major, minor, patch = self.base_version_tuple
      if patch == "0":
          return f"{major}.{minor}"
      return self.base_version
  
file_path: bokeh/release/config.py
imports: from __future__ import annotations
  import re
  from .enums import VersionType
  from .logger import LOG, Scrubber
label_desc: Use image node_id 14 for calling the Config obj's underlying member method code with example usage: obj.milestone_version() and returns: self, major, str, minor