问题
DataLab uses a shared service account but I can't see my team members' notebooks. How do we share notebooks between team members?
回答1:
Notebooks are stored in a git repository. If you click the "git Repository" icon on the notebook listing page it will take you to the Cloud Repo page in Google Cloud Dev Console. Pick the datalab_main branch in the dropdown and you will see files ready for commit. Once you commit, other users can click Refresh on the same page in Dev Console (Source | Browse in left nav bar) and they will see the changes and the new notebooks.
The other option is to download the notebook as an .ipynb file and share it that way.
回答2:
The answer above was for the beta1 version. For GA version released in March 2017, the mechanics have changed. Click the tree icon in the top bar to get to the git UI. Then you can perform normal git operations to push/pull as appropriate. Also see this doc topic and related links.
Dinesh Kulkarni,
PM, Google Cloud Datalab
来源:https://stackoverflow.com/questions/33153852/how-do-i-share-my-notebooks-in-datalab