Stupid fix...
diff --git a/endpoints_proto_datastore/ndb/model.py b/endpoints_proto_datastore/ndb/model.py
index 2ae7a08..a3a2bb6 100644
--- a/endpoints_proto_datastore/ndb/model.py
+++ b/endpoints_proto_datastore/ndb/model.py
@@ -1332,7 +1332,7 @@
       raise TypeError('Received both a request message class and a field list '
                       'for creating a request message class.')
     if request_message is None:
-      path = kwards.get(PATH)
+      path = kwargs.get(PATH)
       query_fields = []
       if path is not None:
         query_fields = re.findall("{(.*?)}", path)