Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/s/c/sc.contentrules.metadata-1.0.1/src/sc/contentrules/metadata/actions/subject.py   sc.contentrules.metadata(Download)
        same_as_parent = self.element.same_as_parent
        subject = self.element.subject
        if not (utils.subject_available(obj)):
            return False
        if same_as_parent:
            parent = aq_parent(obj)
            if not (utils.subject_available(parent)):

src/s/c/sc.contentrules.metadata-1.0.1/src/sc/contentrules/metadata/conditions/subject.py   sc.contentrules.metadata(Download)
    def __call__(self):
        expected = self.element.subject
        obj = aq_inner(self.event.object)
 
        if not (utils.subject_available(obj)):