Skip to content

Commit

Permalink
Fixining static type check issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JMkrish committed Apr 24, 2024
1 parent c1144f4 commit e2d3dd5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion smsdk/client_v0.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class ClientV0(object):

session = None
tenant = None
config = None
config = {}

def __init__(
self, tenant: str, site_domain: str = "sightmachine.io", protocol: str = "https"
Expand Down
7 changes: 3 additions & 4 deletions tests/Uri/test_uri.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import pytest

from smsdk import client
from smsdk.utils import get_url


def test_uri():
tenant = ""
cli = client.Client(tenant)
def test_uri() -> None:
tenant: str = ""
cli: client.Client = client.Client(tenant)

assert cli.tenant == tenant
assert cli.config["protocol"] == "https"
Expand Down

0 comments on commit e2d3dd5

Please sign in to comment.