code: def test_init(argilla_user: User):
      argilla.client.singleton.init(api_key=argilla_user.api_key)
      client = active_client()
      assert client.user.username == "argilla"
  
      argilla.client.singleton.init(api_key="argilla.apikey")
      client = active_api()
      assert client.user.username == "argilla"
  
file_path: argilla/tests/integration/client/test_init.py
imports: import argilla.client.singleton
  import pytest
  from argilla.client import api
  from argilla.client.models import TextClassificationRecord
  from argilla.client.singleton import active_api, active_client
  from argilla.server.models import User
  from tests.factories import UserFactory, WorkspaceFactory
  from tests.integration.utils import delete_ignoring_errors
label_desc: Use image node_id 3 for calling a global function with example usage: test_init(argilla_user) without return types