code: def _try_import():
      # since pandas is a dependency of pandas-gbq
      # we need to import on first use
      msg = (
          "pandas-gbq is required to load data from Google BigQuery. "
          "See the docs: https://pandas-gbq.readthedocs.io."
      )
      pandas_gbq = import_optional_dependency("pandas_gbq", extra=msg)
      return pandas_gbq
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any
  from pandas.compat._optional import import_optional_dependency
label_desc: Use image node_id 1 for calling a global function with example usage: _try_import() and returns: pandas_gbq