Skip to content

Commit eced4f8

Browse files
committed
fix: dsession id
1 parent 50f30aa commit eced4f8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

datashield/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ def __init__(self, names: list[str] = None):
1919
:param names: The list of server names to load from configuration files, if any. If not defined,
2020
no login information will be loaded from configuration files.
2121
"""
22-
self.id = str(uuid.uuid4())
2322
self.items: list[DSLoginInfo] = []
2423
# load login information from configuration files, in order of precedence
2524
if names is not None and len(names) > 0:
@@ -100,6 +99,7 @@ def __init__(self, logins: list[DSLoginInfo], start_timeout: float = 300.0, star
10099
:param start_timeout: The maximum time in seconds to wait for R sessions to start, default is 300 seconds (5 minutes)
101100
:param start_delay: The delay in seconds between checking if R sessions are started, default is 0.1 seconds
102101
"""
102+
self.id = str(uuid.uuid4())
103103
self.logins = logins
104104
self.start_timeout = start_timeout
105105
self.start_delay = start_delay

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "datashield"
3-
version = "0.5.0"
3+
version = "0.5.1"
44
description = "DataSHIELD Client Interface in Python."
55
authors = [
66
{name = "Yannick Marcon", email = "yannick.marcon@obiba.org"}

0 commit comments

Comments
 (0)