Exemplo n.º 1
0
 def __init__(self, this, rel_type, my_role, other_role,
              filter_meanings=(ACTIVE,), filter_date=_today,
              filter_codes=()):
     BoundRelationshipProperty.__init__(
         self, this, rel_type, my_role, other_role)
     if filter_date is _today:
         self.filter_date = self.today
     else:
         self.filter_date = filter_date
     self.filter_codes = set(filter_codes)
     self.filter_meanings = filter_meanings
     self.init_filter()
Exemplo n.º 2
0
 def __init__(self,
              this,
              rel_type,
              my_role,
              other_role,
              filter_meanings=(ACTIVE, ),
              filter_date=_today,
              filter_codes=()):
     BoundRelationshipProperty.__init__(self, this, rel_type, my_role,
                                        other_role)
     if filter_date is _today:
         self.filter_date = self.today
     else:
         self.filter_date = filter_date
     self.filter_codes = set(filter_codes)
     self.filter_meanings = filter_meanings
     self.init_filter()
Exemplo n.º 3
0
 def __init__(self, this):
     BoundRelationshipProperty.__init__(self, this, URICalendarSubscription,
                                        URICalendarSubscriber,
                                        URICalendarProvider)
     # for the local grants to work
     self.__parent__ = this