graphene-django/graphene_django/relationship/lib.py
2019-03-23 04:04:31 +03:00

17 lines
379 B
Python

#encoding=utf-8
from graphene.types.scalars import Boolean, Int
__author__ = "TimurMardanov"
know_parent = dict(know_parent=Boolean(default_value=True))
pagination = dict(first=Int(default_value=100), last=Int())
class GrapheneQLEdgeException(Exception):
def __init__(self, message):
self.message = message
def __repr__(self, ):
return self.message