code: def get_docs_version(version=None):
      version = get_complete_version(version)
      if version[3] != "final":
          return "dev"
      else:
          return "%d.%d" % version[:2]
  
file_path: wandb/wandb/vendor/graphql-core-1.1/wandb_graphql/pyutils/version.py
imports: from __future__ import unicode_literals
  import datetime
  import os
  import subprocess
label_desc: Use image node_id 4 for calling a global function with example usage: get_docs_version(version) and returns: str, unknown