10000 feat(free-tier): add support for new free tier endpoints by Rodriguespn · Pull Request #68 · singlestore-labs/singlestoredb-python · GitHub
[go: up one dir, main page]

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Rodriguespn
Copy link

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

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
39A7
Development

Successfully merging this pull request may close these issues.

1 participant
0