code: def mock_ecr_registry(monkeypatch):
      monkeypatch.setattr(
          "wandb.sdk.launch.builder.docker_builder.registry_from_uri",
          lambda uri: uri,
      )
  
imports: import pytest
  from wandb.sdk.launch.builder.docker_builder import DockerBuilder
label_desc: Use image node_id 1 for calling a global function with example usage: mock_ecr_registry(monkeypatch) without return types