original_docstring: Build an index name from parts.
  
      :param parts: Parts that should be combined to make an index name.
      
docstring: Build an index name from parts.
docstring_tokens: Build an index name from parts .
code: def build_index_name(app, *parts):
      """Build an index name from parts.
  
      :param parts: Parts that should be combined to make an index name.
      """
      base_index = os.path.splitext(
          '-'.join([part for part in parts if part])
      )[0]
  
      return prefix_index(app=app, index=base_index)
code_tokens: def build_index_name ( app , * parts ) : base_index = os . path . splitext ( '-' . join ( [ part for part in parts if part ] ) ) [ 0 ] return prefix_index ( app = app , index = base_index )
short_docstring: Build an index name from parts.
short_docstring_tokens: Build an index name from parts .
comment: """Build an index name from parts.
  
      :param parts: Parts that should be combined to make an index name.
      """