diff --git a/.gitignore b/.gitignore index 02c310a..ebc6099 100644 --- a/.gitignore +++ b/.gitignore @@ -10,10 +10,13 @@ __pycache__/ .env/ env/ .venv/ -omar-test/ # VScode .vscode/settings.json # Testing .coverage + +## Omar's personal testing +omar-test/ +anilist-test/ diff --git a/compiler/parsers/query_list_parser.py b/compiler/parsers/query_list_parser.py index 57f6051..02ba08a 100644 --- a/compiler/parsers/query_list_parser.py +++ b/compiler/parsers/query_list_parser.py @@ -22,7 +22,6 @@ def __extract_arg_info(self, field): for arg in field: arg_info = { "name": arg["name"], - "description": arg["description"], "type": arg["type"]["name"] if "name" in arg["type"] else None, "ofType": self.__extract_oftype(arg), } @@ -60,7 +59,6 @@ def parse(self, introspection_data: dict) -> List[dict]: query_info_dict = {} for query in queries: query_name = query["name"] - query_description = query["description"] if "description" in query else "" query_args = self.__extract_arg_info(query["args"]) return_type = { "kind": query["type"]["kind"], @@ -70,7 +68,6 @@ def parse(self, introspection_data: dict) -> List[dict]: query_info_dict[query_name] = { "name": query_name, - "description": query_description, "inputs": query_args, "outputs": return_type, }