code: def linked_artifact(wandb_init, user, logged_artifact) -> Artifact:
      with wandb_init(entity=user, project="other-project") as run:
          run.link_artifact(logged_artifact, "linked-from-portfolio")
  
      return wandb.Api().artifact(
          f"{user}/other-project/linked-from-portfolio:v0"
      )
  
imports: import pytest
  import wandb
  from wandb.sdk.artifacts.artifact import Artifact
label_desc: Use image node_id 2 for calling a global function with example usage: linked_artifact(wandb_init, user, logged_artifact) and returns: wandb