datarobotx.share(any, emails)#

Shares a drx object with other users. Object can be a dataset, project, or deployment. Access is set to Owner.

  • any (ModelOperator or Deployment or str) – A project or deployment object or a datarobot asset id to share

  • emails (str or list[str]) – An email or list of emails to share a deployment with

Return type:



Share a drx project object with a user

>>> import datarobotx as drx
>>> from datarobot import Project
>>> project = Project.get("123456")
>>> drx.share(project, "")

Share a drx project using the id with multiple users

>>> import datarobotx as drx
>>> drx.share("123456", ["", ""])