code: def _get_module_root():
      return pathlib.Path(allennlp.__file__).parent
  
file_path: magnitude/pymagnitude/third_party/allennlp/commands/test_install.py
imports: from __future__ import absolute_import
  import argparse
  import logging
  import os
  import pathlib
  import pytest
  import allennlp
  from allennlp.commands.subcommand import Subcommand
label_desc: Use image node_id 1 for calling a global function with example usage: _get_module_root() and returns: pathlib