code: def pkg_basename(pkg, rust_extension):
      if pkg == _FILE_DESCRIPTOR_SET:
          return _FILE_DESCRIPTOR_SET
      else:
          return "%s%s" % (pkg, rust_extension)
  
file_path: tensorboard/tensorboard/data/server/update_protos.py
imports: import os
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: pkg_basename(pkg, rust_extension) and returns: _FILE_DESCRIPTOR_SET, unknown