def METHOD_NAME(self, client_id):
    """Default method for ``AuthorizationServer.query_client``. Developers MAY
    rewrite this function to meet their own needs.
    """
    try:
        return self.client_model.objects.get(client_id=client_id)
    except self.client_model.DoesNotExist:
        return None