code: def _get_flow_scopes(node):
      while True:
          node = get_parent_scope(node, include_flows=True)
          if node is None or is_scope(node):
              return
          yield node
  
file_path: catboost/contrib/python/jedi/py2/jedi/evaluate/flow_analysis.py
imports: from jedi.parser_utils import get_flow_branch_keyword, is_scope, get_parent_scope
  from jedi.evaluate.recursion import execution_allowed
label_desc: Use image node_id 1 for calling a global function with example usage: _get_flow_scopes(node) without return types