Jump to content

Pushing from Datalab to a shared workbench


SBC

Recommended Posts

I am working collaboratively with another team member on a workbench and datalab project - both of which is currently shared with full access rights ('manage').

Can the spy.push syntax use a shared folder path (I understand there is also a workbook ID input argument support in spy.push but wanted to confirm if the path context method is feasible for shared workbenches) ?

 

image.thumb.png.4df4ef8953b39520aad5537f3484361a.png

Link to comment
Share on other sites

  • Seeq Team

The challenge with specifying a shared folder by Path is that to the owner of the content, the workbook will show up in their own folder, while to the shared user it will show up in their Shared Folder. This means you'd have to specify a different path based on who was running the code.

The easiest method would be to specify the workbook by ID. If you really need to specify by name, I'd suggest doing a spy.search or spy.workbooks.search to get the ID, and then use that as the argument in your push:

image.png

Another alternative would be to have the workbook live in the Corporate folder. The docstring for spy.push shows how you can push to workbooks in the Corporate folder:

f'{spy.workbooks.CORPORATE} >> MySubfolder >> MyWorkbook'
Edited by John B
  • Thanks 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...