deepset-ai / deepset-ai/deepset-cloud-sdk

Add US tenant configuration options

Open
#227 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
16
Forks
5
PR merge metrics
No merged PRs in 30d

Description

User Story
As a User
I want to be able to reach the US tenant without an environment variable
So that it's the default option after setting it up

Behaviors:

CLI flag

$ deepset-cloud --tenant us upload ./examples/data # To override the default tenant only

configuration file

$ deepset-cloud configure set tenant us # US tenant becomes the default
cat ~/.config/deepset-cloud/config.toml
tenant = us
$ deepset-cloud upload ./examples/data

SDK

from deepset_cloud_sdk.workflows.sync_client.files import upload
from deepset_cloud_sdk.config import initialize

options = {
    "tenant": "us",
    "api_key": "<foobar>",
}

initialize(**options)

upload(
	...
)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the CLI tenant flag and configure set tenant flow, then inspect deepset_cloud_sdk.config.initialize and the files upload entry point. Verify how configuration is loaded and prioritized, and confirm that the CLI, configuration file, and SDK examples can select the US tenant without an environment variable while preserving per-command overrides.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, cli, developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.