Пример #1
0
 def all():
     return QueryBuilder(Subtype).array()
Пример #2
0
 def where(**kwargs):
     return QueryBuilder(__class__).where(**kwargs)
Пример #3
0
 def all():
     return QueryBuilder(__class__).all()
Пример #4
0
 def all():
     return QueryBuilder(Changelog).all()
Пример #5
0
 def find(id):
     return QueryBuilder(__class__).find(id)
Пример #6
0
 def where(**kwargs):
     return QueryBuilder(Card).where(**kwargs)
Пример #7
0
 def all():
     return QueryBuilder(Card).all()
Пример #8
0
 def generate_booster(code):
     url = "{}/{}/{}/booster".format(__endpoint__, Set.RESOURCE, code)
     return QueryBuilder(Set).find_many(url, Card, Card.RESOURCE)
Пример #9
0
 def find(id):
     return QueryBuilder(Card).find(id)
Пример #10
0
 def all():
     return QueryBuilder(Set).all()
Пример #11
0
 def where(**kwargs):
     return QueryBuilder(Set).where(**kwargs)
Пример #12
0
 def find(id):
     return QueryBuilder(Set).find(id)
Пример #13
0
 def iter():
     """Iterate over all Card instances"""
     return QueryBuilder(__class__).iter()
Пример #14
0
 def all():
     """Returns a list of all Card instances"""
     return QueryBuilder(__class__).all()