code: def test_from_path(mock_server, api):
      sweep = api.from_path("test/test/sweeps/test")
      assert isinstance(sweep, wandb.apis.public.Sweep)
  
imports: import wandb
label_desc: Use image node_id 1 for calling a global function with example usage: test_from_path(mock_server, api) without return types