Skip to content

Conversation

hiiamelliott
Copy link
Contributor

@hiiamelliott hiiamelliott commented Jul 25, 2025

Link to JIRA

What issue does this pull request solve?

Managing Domino Compute Environments has been isolated to a separate python-domino-environments package, that is no longer maintained.
With the changes to Domino Compute Environments in v6.1, there is a need to update the package to support the new functionality.

What is the solution?

Merging the separate python-domino-environments package into python-domino to simplify the experience of managing Domino Compute Environments.
Updating the routes to use Domino's public Environments API endpoints.

Testing

Created a test script that tests each of the endpoints in the public API documentation, getting environments, creating new environments and revisions, updating the restricted revision, and then archiving them on completion.

  • Unit test(s)

Pull Request Reminders

References (optional)

response = self.request_manager.get(url).json()
return response

def get_environment(self, environment_id: str):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not the most important thing, but we should probably have a get_revision method as well

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was conflicted on this one.
There isn't a (documented) GET revision endpoint on the v1 API, but there is one on the v4 API.
I agree that it would be good if there was one, but I was trying to avoid the v4 endpoints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants