Skip to content

Commit 1e99876

Browse files
committed
add mounte property in backend
1 parent 568dead commit 1e99876

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jupyter_drives/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ async def list_drives(self):
8787
"name": result.name,
8888
"region": self._config.region_name if self._config.region_name is not None else "eu-north-1",
8989
"creation_date": result.extra["creation_date"],
90-
"status": "inactive",
90+
"mounted": "true" if result.name not in self._content_managers else "false",
9191
"provider": self._config.provider
9292
}
9393
)

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ const drivesListProvider: JupyterFrontEndPlugin<IDriveInfo[]> = {
169169
region: drive.region,
170170
provider: drive.provider,
171171
creationDate: drive.creation_date,
172-
mounted: false
172+
mounted: drive.mounted
173173
});
174174
}
175175
} catch {

0 commit comments

Comments
 (0)