code: def get_client(self, service, region, public=True, cached=True):
          
          client_class = None
          # Cloud Networks currently uses nova-networks, so it doesn't appear as
          # a separate entry in the service catalog. This hack will allow context
          # objects to continue to work with Rackspace Cloud Networks. When the
          # Neutron service is implemented, this hack will have to be removed.
          if service in ("compute:networks", "networks", "network",
                  "cloudnetworks", "cloud_networks"):
              service = "compute"
              client_class = CloudNetworkClient
          return super(RaxIdentity, self).get_client(service, region,
                  public=public, cached=cached, client_class=client_class)
docs: Returns the client object for the specified service and region.
  
          By default the public endpoint is used. If you wish to work with a
          services internal endpoints, specify `public=False`.
  
          By default, if a client has already been created for the given service,
          region, and public values, that will be returned. To force a new client
          to be created, pass 'cached=False'.