webapp: better name for the object that carries the api points
3 files changed, 7 insertions(+), 7 deletions(-)

M conftest.py
M tshistory_refinery/webapp.py
M tshistory_refinery/wsgi.py
M conftest.py +1 -1
@@ 85,7 85,7 @@ def client(engine):
                 sources={
                     'remote': (f'{engine.url}', 'remote')
                 },
-                final_http=webapp.final_http
+                httpapi=webapp.httpapi
             )
         )
     )

          
M tshistory_refinery/webapp.py +4 -4
@@ 18,8 18,8 @@ from tshistory_refinery import http, blu
 
 # mix refinery http stuff with dbcache stores api
 
-class final_http(http.refinery_httpapi,
-                 kvstore_httpapi):
+class httpapi(http.refinery_httpapi,
+              kvstore_httpapi):
 
     def __init__(self, tsa, uri, kvstore_apimap, vkvstore_apimap):
         http.refinery_httpapi.__init__(

          
@@ 34,7 34,7 @@ class final_http(http.refinery_httpapi,
         )
 
 
-def make_app(dburi=None, sources=None, final_http=None, more_sections=None):
+def make_app(dburi=None, sources=None, httpapi=None, more_sections=None):
     if dburi:
         # that will typically for the tests
         # or someone doing something fancy

          
@@ 95,7 95,7 @@ def make_app(dburi=None, sources=None, f
 
     # refinery api
     app.register_blueprint(
-        final_http(
+        httpapi(
             tsa,
             dburi,
             {

          
M tshistory_refinery/wsgi.py +2 -2
@@ 1,5 1,5 @@ 
 from tshistory_refinery.webapp import (
-    final_http,
+    httpapi,
     make_app
 )
 

          
@@ 22,5 22,5 @@ class ReverseProxied(object):
         return self.app(environ, start_response)
 
 
-app = make_app(final_http=final_http)
+app = make_app(httpapi=httpapi)
 app.wsgi_app = ReverseProxied(app.wsgi_app)