Skip to content

Instantly share code, notes, and snippets.

View saintx's full-sized avatar
💭
Building an immune system for the Internet

Alexander R. Saint Croix saintx

💭
Building an immune system for the Internet
  • Command Zero
  • United States of America
View GitHub Profile
@saintx
saintx / pycocontainer_lifecycle_components_01
Created December 17, 2013 07:21
Example components that extend the Lifecycle base class
from pycocontainer import Pycocontainer, Lifecycle, Stage
class A(Lifecycle):
def __init__(self, b):
super(A, self).__init__()
self.b = b
@Lifecycle.startmethod
def foo(self, *args):
print "Called foo()"