code: def test_init_with_config_file(temp_workdir):
      with open("keepsake.yaml", "w") as f:
          f.write("repository: file://.keepsake/")
      experiment = keepsake.init()
      assert isinstance(experiment, Experiment)
      experiment.stop()
  
imports: import math
  import datetime
  import json
  import os
  import pytest
  import tarfile
  import tempfile
  import time
  from pathlib import Path
  from unittest.mock import patch
  from waiting import wait
  import keepsake
  from keepsake.exceptions import DoesNotExist, ConfigNotFound, IncompatibleRepositoryVersion
  from keepsake.experiment import Experiment, ExperimentList
  from keepsake.project import Project
  from keepsake.metadata import rfc3339_datetime
  from tests.factories import experiment_factory, checkpoint_factory
label_desc: Use image node_id 2 for calling a global function with example usage: test_init_with_config_file(temp_workdir) without return types