code: def _wandb_use(name: str, data: Path, datasets=False, run=None, testing=False, *args, **kwargs):  # type: ignore
      if testing:
          return "datasets" if datasets else None
  
      if datasets:
          run.use_artifact(f"{name}:latest")
          wandb.termlog(f"Using artifact: {name} ({type(data)})")
  
file_path: wandb/wandb/integration/metaflow/metaflow.py
imports: import inspect
  import pickle
  from functools import wraps
  from pathlib import Path
  import wandb
  from wandb.sdk.lib import telemetry
label_desc: Use image node_id 6 for calling a global function with example usage: _wandb_use(name, data, datasets, run, testing) and returns: unknown