ProjectFlask/Project.py

changeset 3
265c3c2914e2
parent 2
6cc80e4db8a7
child 4
e164b9ad3819
--- a/ProjectFlask/Project.py	Sun Nov 08 17:54:22 2020 +0100
+++ b/ProjectFlask/Project.py	Sun Nov 08 17:59:31 2020 +0100
@@ -133,7 +133,6 @@
         if self.__serverProc is not None:
             self.__serverProcFinished()
     
-    # TODO: implement this correctly
     def supportedPythonVariants(self):
         """
         Public method to get the supported Python variants.
@@ -303,7 +302,7 @@
         @param logging flag indicating to enable logging
         @type bool
         """
-        # TODO: implement this
+        # TODO: implement this (flask run)
     
     def __serverProcFinished(self):
         """
@@ -317,3 +316,19 @@
             QTimer.singleShot(2000, self.__serverProc.kill)
             self.__serverProc.waitForFinished(3000)
         self.__serverProc = None
+    
+    def __runPythonShell(self):
+        """
+        Private slot to start a Python console in the app context.
+        """
+        # TODO: implement this (flask shell)
+    
+    ##################################################################
+    ## slots below implement various debugging functions
+    ##################################################################
+    
+    def __showRoutes(self):
+        """
+        Private slot showing all URL dispatch routes.
+        """
+        # TODO: implement this (flask routes)

eric ide

mercurial