code: def get_netrc_file_path() -> str:
      netrc_file = os.environ.get("NETRC")
      if netrc_file:
          return os.path.expanduser(netrc_file)
      return os.path.join(os.path.expanduser("~"), ".netrc")
  
file_path: wandb/wandb/sdk/lib/apikey.py
imports: import os
  import stat
  import sys
  import textwrap
  from functools import partial
  from typing import TYPE_CHECKING, Callable, Dict, Optional, Union
  from urllib.parse import urlparse
  import click
  import requests.utils
  import wandb
  from wandb.apis import InternalApi
  from wandb.errors import term
  from wandb.util import _is_databricks, isatty, prompt_choices
  from .wburls import wburls
label_desc: Use image node_id 2 for calling a global function with example usage: get_netrc_file_path() and returns: os, os