Skip to content

Commit 1fc2d2e

Browse files
committed
export new session pickFolder function
1 parent 4b44251 commit 1fc2d2e

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/nextpyp/client/gen.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from nextpyp.client import Client
1313

1414

15-
API_VERSION = '2.0.0'
15+
API_VERSION = '2.1.0'
1616

1717

1818
T = TypeVar('T')
@@ -442,6 +442,18 @@ def cancel_export(self, export_id: str) -> None:
442442
path = '/kv/sessions/cancelExport'
443443
self.client._transport.call(path, [export_id])
444444

445+
def pick_folder(self) -> str:
446+
"""
447+
(no description yet)
448+
449+
:Permission Needed: ``session_create``
450+
"""
451+
path = '/kv/sessions/pickFolder'
452+
response = self.client._transport.call(path, [])
453+
if response is None:
454+
raise Exception(f'response expected from {path}, but none received')
455+
return cast(str, response)
456+
445457

446458
class SingleParticleSessionsService:
447459
"""

0 commit comments

Comments
 (0)