예제 #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
파일: card.py 프로젝트: Tillyqb/mtg-decks
 def iter():
     """Iterate over all Card instances"""
     return QueryBuilder(__class__).iter()
예제 #14
0
파일: card.py 프로젝트: Tillyqb/mtg-decks
 def all():
     """Returns a list of all Card instances"""
     return QueryBuilder(__class__).all()