naming
This commit is contained in:
@ -2,14 +2,14 @@ from threading import Thread
|
|||||||
|
|
||||||
import cherrypy as cp
|
import cherrypy as cp
|
||||||
|
|
||||||
from stand.tableapi import TableAPI
|
from stand.tblctrl import TableController
|
||||||
|
|
||||||
|
|
||||||
# creating instances here allows to use TableAPI etc. as singletons
|
# creating instances here allows to use TableAPI etc. as singletons
|
||||||
|
|
||||||
print(">>> start TableAPI")
|
print(">>> start TableAPI")
|
||||||
|
|
||||||
restapi = TableAPI()
|
restapi = TableController()
|
||||||
|
|
||||||
conf = {
|
conf = {
|
||||||
"/": {
|
"/": {
|
||||||
|
@ -5,7 +5,7 @@ from stand.utils.st_utils import rerun
|
|||||||
|
|
||||||
|
|
||||||
@cp.expose
|
@cp.expose
|
||||||
class TableAPI:
|
class TableController:
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.dfh = DateFrameHolder("output.h5")
|
self.dfh = DateFrameHolder("output.h5")
|
Reference in New Issue
Block a user