Skip to content

Commit

Permalink
chore: reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
gjedlicska committed Nov 27, 2023
1 parent 76e4ec1 commit 7ad0785
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/specklepy/core/api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,12 @@ class SpeckleClient:
USE_SSL = True
VERIFY_CERTIFICATE = True

def __init__(self, host: str = DEFAULT_HOST, use_ssl: bool = USE_SSL, verify_certificate: bool = VERIFY_CERTIFICATE) -> None:
def __init__(
self,
host: str = DEFAULT_HOST,
use_ssl: bool = USE_SSL,
verify_certificate: bool = VERIFY_CERTIFICATE,
) -> None:
ws_protocol = "ws"
http_protocol = "http"

Expand All @@ -78,7 +83,9 @@ def __init__(self, host: str = DEFAULT_HOST, use_ssl: bool = USE_SSL, verify_cer
self.verify_certificate = verify_certificate

self.httpclient = Client(
transport=RequestsHTTPTransport(url=self.graphql, verify=self.verify_certificate, retries=3)
transport=RequestsHTTPTransport(
url=self.graphql, verify=self.verify_certificate, retries=3
)
)
self.wsclient = None

Expand Down

0 comments on commit 7ad0785

Please sign in to comment.