Skip to content

feat(free-tier): add support for new free tier endpoints#68

Merged
kesmit13 merged 4 commits intosinglestore-labs:mainfrom
Rodriguespn:feature/free-tier-endpoints
Jul 14, 2025
Merged

feat(free-tier): add support for new free tier endpoints#68
kesmit13 merged 4 commits intosinglestore-labs:mainfrom
Rodriguespn:feature/free-tier-endpoints

Conversation

@Rodriguespn
Copy link
Copy Markdown
Contributor

Summary

This PR adds essential attributes and methods to the StarterWorkspace class to increase parity with regular Workspace objects and introduces user management capabilities.

Changes Made

Added the following attributes to the StarterWorkspace class:

  • database_name - Name of the database associated with the starter workspace
  • endpoint (Optional) - Connection endpoint in hostname:port format

New Methods

  • connect - Creates database connections using the workspace endpoint
  • terminate - Terminates starter workspaces and cleans up the starter workspace user
  • create_user - Creates database users with support for both custom and auto-generated passwords
  • create_starter_workspace - Creates a new starter workspace

Note: Only the free tier users endpoint is documented

Comment thread singlestoredb/management/workspace.py Outdated
Copy link
Copy Markdown
Collaborator

@kesmit13 kesmit13 left a comment

Choose a reason for hiding this comment

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

Just one possible change.

@kesmit13 kesmit13 merged commit 89c8e93 into singlestore-labs:main Jul 14, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants