code: def goto_assignments(self):
      if self._name.tree_name is None:
          return self
  
      names = self._evaluator.goto(
          self._name.parent_context, self._name.tree_name
      )
      return [Definition(self._evaluator, n) for n in names]
  
imports: import re
  from parso.python.tree import search_ancestor
  from jedi import settings
  from jedi.evaluate.utils import ignored, unite
  from jedi.cache import memoize_method
  from jedi.evaluate import imports
  from jedi.evaluate import compiled
  from jedi.evaluate.imports import ImportName
  from jedi.evaluate.context import instance
  from jedi.evaluate.context import ClassContext, FunctionExecutionContext
  from jedi.api.keywords import KeywordName
label_desc: Use image node_id 12 for calling the BaseDefinition obj's underlying member method code with example usage: obj.goto_assignments() and returns: unknown, self