Exemplo n.º 1
0
 def __init__(self, context):
     self.context = context
     self.widgets = {x.id: x for x in Widget.all(self.context)}
Exemplo n.º 2
0
 def __init__(self, context):
     self.context = context
     self.widgets = dict((x.id, x) for x in Widget.all(self.context))
Exemplo n.º 3
0
 def __init__(self, context):
     self.context = context
     self.widgets = dict((x.id, x) for x in Widget.all(self.context))