code: def get_admin_client(node_type: str):
      node = sy.orchestra.launch(
          name=sy.UID().to_string(),
          node_type=node_type,
          dev_mode=True,
          reset=True,
          local_db=True,
      )
      return node.login(
          email="info@openmined.org", password="changethis"
      )
  
file_path: PySyft/packages/syft/tests/syft/gateways/gateway_test.py
imports: from faker import Faker
  from hagrid.orchestra import NodeHandle
  import syft
  from syft.abstract_node import NodeType
  from syft.client.domain_client import DomainClient
  from syft.client.enclave_client import EnclaveClient
  from syft.client.gateway_client import GatewayClient
  from syft.service.network.node_peer import NodePeer
  from syft.service.response import SyftSuccess
  from syft.service.user.user_roles import ServiceRole
label_desc: Use image node_id 2 for calling a global function with example usage: get_admin_client(node_type) and returns: node