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

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

src/p/y/python-stdnet-0.8.2/stdnet/odm/related.py   python-stdnet(Download)
    def __get__(self, instance, instance_type=None):
        return self.__class__(self.field, self.model, instance)
 
    def session(self, session=None):
        '''Override :meth:`Manager.session` so that this :class:`RelatedManager`

src/p/y/python-stdnet-HEAD/stdnet/odm/related.py   python-stdnet(Download)
    def __get__(self, instance, instance_type=None):
        return self.__class__(self.field, self.model, instance)
 
    def session(self, session=None):
        '''Override :meth:`Manager.session` so that this