code: async def connect(url, *, apikey=None, insecure=False):
      
      from .facade import Client  # Lazy.
      from .viscera import Origin  # Lazy.
      profile, origin = await Origin.connect(
          url, apikey=apikey, insecure=insecure)
      return Client(origin)
docs: Connect to MAAS at `url` using a previously obtained API key.
  
      :param url: The URL of MAAS, e.g. http://maas.example.com:5240/MAAS/
      :param apikey: The API key to use, e.g.
          SkTvsyHhzkREvvdtNk:Ywn5FvXVupVPvNUhrN:cm3Q2f5naXYPYsrPDPfQy9Q9cUFaEgbM
      :param insecure: Whether to check TLS certificates when using HTTPS.
  
      :return: A client object.