Registers an SDK client as the session filesystem provider.\n\nArgs:\n params: Initial working directory, session-state path layout, and path conventions used to register the calling SDK client as the session filesystem provider.\n\nReturns:\n Indicates whether the calling client was registere
(self, params: SessionFSSetProviderRequest, *, timeout: float | None = None)
| 25368 | self._client = client |
| 25369 | |
| 25370 | async def set_provider(self, params: SessionFSSetProviderRequest, *, timeout: float | None = None) -> SessionFSSetProviderResult: |
| 25371 | "Registers an SDK client as the session filesystem provider.\n\nArgs:\n params: Initial working directory, session-state path layout, and path conventions used to register the calling SDK client as the session filesystem provider.\n\nReturns:\n Indicates whether the calling client was registered as the session filesystem provider." |
| 25372 | params_dict = {k: v for k, v in params.to_dict().items() if v is not None} |
| 25373 | return SessionFSSetProviderResult.from_dict(await self._client.request("sessionFs.setProvider", params_dict, **_timeout_kwargs(timeout))) |
| 25374 | |
| 25375 | |
| 25376 | # Experimental: this API group is experimental and may change or be removed. |