INNER CODE UNIT · Python

__init__

gsmith257-cyber/GraphCrawler · clairvoyance/graphql.py:159

    def __init__(self):
        self.url = ""
        self.verify = True
        self.headers = dict()
        self.bucket_size = 4096


class TypeRef:
    def __init__(
        self,
        name: str,
        kind: str,
        is_list: bool = False,
        non_null_item: bool = False,
        non_null: bool = False,
    ):
        if not is_list and non_null_item:
            raise Exception("elements can't be NON_NULL if TypeRef is not LIST")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…