From 190062910c9e0378bc90f5620923252dc1a62788 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Fri, 27 May 2022 21:18:29 +0200 Subject: [PATCH] restructure --- stand.py | 2 +- restapi.py => stand/restapi.py | 2 +- tableapi.py => stand/tableapi.py | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename restapi.py => stand/restapi.py (93%) rename tableapi.py => stand/tableapi.py (100%) diff --git a/stand.py b/stand.py index a1f7dc4..f5f5da7 100644 --- a/stand.py +++ b/stand.py @@ -4,7 +4,7 @@ import stand.hacks from stand.widgets.aggrid import aggrid from stand.widgets.download import download -from restapi import restapi +from stand.restapi import restapi from stand.utils.st_utils import get_session_id, hide_UI_elements diff --git a/restapi.py b/stand/restapi.py similarity index 93% rename from restapi.py rename to stand/restapi.py index cfa3e17..d4b516f 100644 --- a/restapi.py +++ b/stand/restapi.py @@ -2,7 +2,7 @@ from threading import Thread import cherrypy as cp -from tableapi import TableAPI +from stand.tableapi import TableAPI # creating instances here allows to use TableAPI etc. as singletons diff --git a/tableapi.py b/stand/tableapi.py similarity index 100% rename from tableapi.py rename to stand/tableapi.py