equal
deleted
inserted
replaced
832 self.target_etype = getattr(cls, 'target_etype', None) |
832 self.target_etype = getattr(cls, 'target_etype', None) |
833 |
833 |
834 |
834 |
835 class has_related_entities(EntityPredicate): |
835 class has_related_entities(EntityPredicate): |
836 """Return 1 if entity support the specified relation and has some linked |
836 """Return 1 if entity support the specified relation and has some linked |
837 entities by this relation , optionaly filtered according to the specified |
837 entities by this relation , optionally filtered according to the specified |
838 target type. |
838 target type. |
839 |
839 |
840 The relation is specified by the following initializer arguments: |
840 The relation is specified by the following initializer arguments: |
841 |
841 |
842 * `rtype`, the name of the relation |
842 * `rtype`, the name of the relation |