get_drive_by_id#
- nominal.experimental.drives.get_drive_by_id(client, id, *, workspace_rid=None)#
Retrieve a drive by its workspace-unique id.
- Parameters:
client (NominalClient)
Client providing authentication and workspace configuration.
id (str)
Identifier of the drive to retrieve.
workspace_rid (str | None)
Workspace to look in. Defaults to the client’s workspace.
- Returns:
The drive. This is a
VirtualDrivewhen the drive mirrors an external provider.- Return type: