style(formatting): fix formatting issues

This commit is contained in:
Gergő Jedlicska 2023-04-06 16:57:44 +02:00
Родитель a4ed7ebb08
Коммит a43e7471a4
Не найден ключ, соответствующий данной подписи
3 изменённых файлов: 5 добавлений и 6 удалений

Просмотреть файл

@ -4,9 +4,9 @@ from warnings import warn
from deprecated import deprecated
from gql import Client
from gql.transport.exceptions import TransportServerError
from gql.transport.requests import RequestsHTTPTransport
from gql.transport.websockets import WebsocketsTransport
from gql.transport.exceptions import TransportServerError
from specklepy.api import resources
from specklepy.api.credentials import Account, get_account_from_token

Просмотреть файл

@ -1,5 +1,6 @@
import random
import uuid
from urllib.parse import parse_qs, urlparse
import pytest
import requests
@ -10,8 +11,6 @@ from specklepy.logging import metrics
from specklepy.objects.base import Base
from specklepy.objects.fakemesh import FakeDirection, FakeMesh
from specklepy.objects.geometry import Point
from urllib.parse import urlparse, parse_qs
metrics.disable()
@ -40,8 +39,8 @@ def seed_user(host):
)
if not r.ok:
raise Exception(f"Cannot seed user: {r.reason}")
redirect_url = urlparse(r.headers.get('location'))
access_code = parse_qs(redirect_url.query)['access_code'][0] # type: ignore
redirect_url = urlparse(r.headers.get("location"))
access_code = parse_qs(redirect_url.query)["access_code"][0] # type: ignore
r_tokens = requests.post(
url=f"http://{host}/auth/token",