<s> from simpleapi import Namespace <EOL> class MyAPI ( Namespace ) : <EOL> __authentication__ = lambda ns , key : key == "<STR_LIT>" <EOL> def add ( self , a , b ) : <EOL> return a + b <EOL> add . published = True <EOL> add . constraints = lambda ns , key , value : int ( value ) <EOL> def test ( self ) : <EOL> self . error ( u'<STR_LIT>' ) <EOL> test . published = True </s>
