diff intentmademanifest/api.py @ 1:6aafed869664

notes to self
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 07 Apr 2013 03:29:48 -0700
parents
children b8be785f8e87
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/intentmademanifest/api.py	Sun Apr 07 03:29:48 2013 -0700
@@ -0,0 +1,25 @@
+"""
+API
+"""
+# TODO: probably to workflow.py, state.py, transition.py
+
+"""
+Example usage [STUB]:
+
+class MyWorkflow(Workflow):
+    def __init__(self, **kwargs):
+        Workflow.__init__(self, **kwargs)
+"""
+
+class Workflow(object):
+    """DG of all workflow"""
+
+    def __init__(self, initial_state=None):
+        """
+        - initial_state: if settable
+        """
+
+    def state(self):
+        """
+        current state
+        """