code: def enable_api_call():
      """Contextmanager which locally re-enable API calls."""
      with mock.patch.object(
          github_path.GithubApi, "query", _original_query_github
      ):
          yield
  
file_path: datasets/tensorflow_datasets/core/github_api/github_path_test.py
imports: import contextlib
  import os
  import textwrap
  from unittest import mock
  from etils import epath
  import pytest
  from tensorflow_datasets.core.github_api import github_path
label_desc: Use image node_id 1 for calling a global function with example usage: enable_api_call() without return types