code: def test_artifact_run_logged_cursor(user, api, sample_data):
      artifacts = api.run("uncategorized/first_run").logged_artifacts()
      count = 0
      for _artifact in artifacts:
          count += 1
  
      assert len(artifacts) == count
  
imports: import os
  import platform
  import pytest
  import wandb
  from wandb.sdk.artifacts.exceptions import ArtifactFinalizedError
label_desc: Use image node_id 14 for calling a global function with example usage: test_artifact_run_logged_cursor(user, api, sample_data) without return types