From 5ddb2d5a937cab69dec406e52621b09776f028db Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Fri, 27 May 2022 22:20:50 +0200 Subject: [PATCH] naming --- stand/restapi.py | 4 ++-- stand/{tableapi.py => tblctrl.py} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename stand/{tableapi.py => tblctrl.py} (97%) diff --git a/stand/restapi.py b/stand/restapi.py index d4b516f..9546a20 100644 --- a/stand/restapi.py +++ b/stand/restapi.py @@ -2,14 +2,14 @@ from threading import Thread import cherrypy as cp -from stand.tableapi import TableAPI +from stand.tblctrl import TableController # creating instances here allows to use TableAPI etc. as singletons print(">>> start TableAPI") -restapi = TableAPI() +restapi = TableController() conf = { "/": { diff --git a/stand/tableapi.py b/stand/tblctrl.py similarity index 97% rename from stand/tableapi.py rename to stand/tblctrl.py index 1c54025..6c74fd5 100644 --- a/stand/tableapi.py +++ b/stand/tblctrl.py @@ -5,7 +5,7 @@ from stand.utils.st_utils import rerun @cp.expose -class TableAPI: +class TableController: def __init__(self): self.dfh = DateFrameHolder("output.h5")