debug-follow

This commit is contained in:
2024-03-11 11:16:12 +03:00
parent 94be60304e
commit 20cc14adc6
5 changed files with 14 additions and 22 deletions

View File

@@ -1,17 +1,10 @@
from functools import wraps
import httpx
import logging
from starlette.exceptions import HTTPException
from services.logger import root_logger as logger
from settings import ADMIN_SECRET, AUTH_URL
trace_logger = logging.getLogger('_trace')
trace_logger.setLevel(logging.INFO)
httpx_logger = logging.getLogger('httpx')
httpx_logger.setLevel(logging.INFO)
async def request_data(gql, headers=None):
if headers is None: