share#

datarobotx.share(any, emails)[source]#

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

Parameters:
  • 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:

None

Examples

Share a drx project object with a user

>>> drx.share(project, "user1@datarobot.com")

Share a drx project using the id with multiple users

>>> drx.share("123456", ["user1@datarobot.com", "user2@datarobot.com"])