Skip to content

Commit 682c41d

Browse files
committed
fix session merge
1 parent b10b51f commit 682c41d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dimo/dimo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def __init__(self, env: str = "Production", session: Optional[Session] = None) -
3232

3333
self._client_id: Optional[str] = None
3434
self._services: Dict[str, Any] = {}
35-
self._session = Request.session
35+
self.session = session or Session() # Use the provided session or create a new one
3636

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

0 commit comments

Comments
 (0)