def update(ctx=annotate.Context(), id=annotate.Integer(), oldstate=annotate.Integer()): pass
class FormPage(rend.Page): bind_test1 = defer.succeed(([('foo', annotate.Integer())])) def test1(self, foo): return foo
def delete(ctx=annotate.Context(), id=annotate.Integer()): pass
def bind_test4(self, ctx): return defer.succeed([('foo', annotate.String()), ('bar', annotate.Integer())])
def bind_test5(self, ctx): return defer.succeed(annotate.MethodBinding('test5', annotate.Method( arguments=[annotate.Argument('foo', annotate.String()), annotate.Argument('bar', annotate.Integer())])))
def bar(baz=annotate.Integer(), slam=newChoicesWay, ham=deferChoicesWay, radio=radioChoices, custom=customValueToKey): pass
class IMyForm(annotate.TypedInterface): foo = annotate.Integer()
def bind_speed(self, ctx): return [('speed', annotate.Integer())]