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

All Samples(10)  |  Call(5)  |  Derive(0)  |  Import(5)

src/x/o/xotl.ql-0.2.1dev/tests/test_this_queries.py   xotl.ql(Download)
    def test_thesefy_doesnot_messup_identities(self):
        from xoutil.iterators import izip
        from xotl.ql.core import thesefy
        from xotl.ql.expressions import is_a
 
 
        query = these((person, partner)
                      for person, partner in izip(Person, Person)
                      for rel in Partnership
                      if (rel.subject == person) & (rel.obj == partner))
def test_is_a_partnership_is_not_forgotten():
    from xoutil.iterators import izip
    query = these((person, partner)
                  for person, partner in izip(this('person'),
                                              this('partner'))
def test_theres_a_token_for_partnership():
    from xoutil.iterators import izip
    query = these((person, partner)
                  for person, partner in izip(this('person'),
                                              this('partner'))