Skip to content

Commit 8536fd7

Browse files
committed
removed unused imports
1 parent d7f3552 commit 8536fd7

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

dimo/dimo.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from typing_extensions import Optional
21
from requests import Session
32

43
from .api.attestation import Attestation
@@ -21,7 +20,9 @@
2120

2221
class DIMO:
2322

24-
def __init__(self, env: str = "Production", session: Optional[Session] = None) -> None:
23+
def __init__(
24+
self, env: str = "Production", session: Optional[Session] = None
25+
) -> None:
2526

2627
self.env = env
2728
# Assert valid environment specified
@@ -32,7 +33,9 @@ def __init__(self, env: str = "Production", session: Optional[Session] = None) -
3233

3334
self._client_id: Optional[str] = None
3435
self._services: Dict[str, Any] = {}
35-
self.session = session or Session() # Use the provided session or create a new one
36+
self.session = (
37+
session or Session()
38+
) # Use the provided session or create a new one
3639

3740
# Creates a full path for endpoints combining DIMO service, specific endpoint, and optional params
3841
def _get_full_path(self, service: str, path: str, params=None) -> str:

dimo/request.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import json
2-
from typing import Any
32
from requests import Session, RequestException
43
from .errors import HTTPError
54

0 commit comments

Comments
 (0)