From 00aba1b7d06677831e02631bf67079fa0944111f Mon Sep 17 00:00:00 2001 From: hyeon Date: Wed, 14 Aug 2024 10:56:17 +0900 Subject: [PATCH] Add assertion to get right GQL url --- common/_graphql.py | 1 + 1 file changed, 1 insertion(+) diff --git a/common/_graphql.py b/common/_graphql.py index dc15867..f16d2e7 100644 --- a/common/_graphql.py +++ b/common/_graphql.py @@ -14,6 +14,7 @@ class GQL: def __init__(self, url: str, jwt_secret: str = None): + assert url is not None self._url = url self.__jwt_secret = jwt_secret self.client = None