tinybird 0.0.1.dev317__tar.gz → 0.0.1.dev319__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/PKG-INFO +1 -1
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/__cli__.py +2 -2
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/login_common.py +8 -5
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/open.py +10 -5
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird.egg-info/PKG-INFO +1 -1
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/setup.cfg +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/__cli__.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/ch_utils/constants.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/ch_utils/engine.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/check_pypi.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/client.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/config.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/connectors.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/context.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/datafile/common.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/datafile/exceptions.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/datafile/parse_connection.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/datafile/parse_datasource.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/datafile/parse_pipe.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/datatypes.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/feedback_manager.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/git_settings.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/prompts.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/service_datasources.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/sql.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/sql_template.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/sql_template_fmt.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/sql_toolset.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/syncasync.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/check_pypi.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/cli.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/client.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/config.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/__init__.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/agent.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/animations.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/banner.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/command_agent.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/compactor.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/explore_agent.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/file_agent.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/memory.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/mock_agent.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/models.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/prompts.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/testing_agent.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/__init__.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/analyze.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/append.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/build.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/datafile.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/deploy.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/deploy_check.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/diff_resource.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/execute_query.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/file.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/get_endpoint_stats.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/get_openapi_definition.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/mock.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/plan.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/request_endpoint.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/run_command.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/secret.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/test.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/utils.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/branch.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/build.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/build_common.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/cicd.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/cli.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/common.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/config.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/connection.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/copy.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/create.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datafile/build.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datafile/build_common.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datafile/build_datasource.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datafile/build_pipe.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datafile/diff.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datafile/fixture.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datafile/format_common.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datafile/format_datasource.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datafile/format_pipe.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datafile/pipe_checker.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datafile/playground.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datafile/pull.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datasource.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/deployment.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/deployment_common.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/deprecations.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/dev_server.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/endpoint.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/exceptions.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/feedback_manager.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/info.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/infra.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/job.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/llm.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/llm_utils.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/local.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/local_common.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/local_logs.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/login.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/logout.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/materialization.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/mock.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/mock_common.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/pipe.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/project.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/regions.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/secret.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/secret_common.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/shell.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/sink.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/table.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/telemetry.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/test.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/test_common.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/tinyunit/tinyunit.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/token.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/watch.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/workspace.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/workspace_members.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/auth.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/branch.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/cicd.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/cli.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/common.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/config.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/connection.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/datasource.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/exceptions.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/fmt.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/job.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/pipe.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/regions.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/tag.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/telemetry.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/test.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/tinyunit/tinyunit.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/workspace.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/workspace_members.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tornado_template.py +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird.egg-info/SOURCES.txt +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird.egg-info/dependency_links.txt +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird.egg-info/entry_points.txt +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird.egg-info/requires.txt +0 -0
- {tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird.egg-info/top_level.txt +0 -0
|
@@ -4,5 +4,5 @@ __description__ = 'Tinybird Command Line Tool'
|
|
|
4
4
|
__url__ = 'https://www.tinybird.co/docs/forward/commands'
|
|
5
5
|
__author__ = 'Tinybird'
|
|
6
6
|
__author_email__ = 'support@tinybird.co'
|
|
7
|
-
__version__ = '0.0.1.
|
|
8
|
-
__revision__ = '
|
|
7
|
+
__version__ = '0.0.1.dev319'
|
|
8
|
+
__revision__ = 'caba2a7'
|
|
@@ -163,14 +163,13 @@ def login(
|
|
|
163
163
|
"method": "code",
|
|
164
164
|
}
|
|
165
165
|
response = requests.get(f"{auth_host}/api/cli-login?{urlencode(params)}")
|
|
166
|
-
|
|
167
166
|
try:
|
|
168
167
|
if response.status_code == 200:
|
|
169
168
|
data = response.json()
|
|
170
169
|
user_token = data.get("user_token", "")
|
|
171
170
|
workspace_token = data.get("workspace_token", "")
|
|
172
171
|
if user_token and workspace_token:
|
|
173
|
-
authenticate_with_tokens(data,
|
|
172
|
+
authenticate_with_tokens(data, cli_config)
|
|
174
173
|
break
|
|
175
174
|
except Exception:
|
|
176
175
|
pass
|
|
@@ -216,7 +215,7 @@ def login(
|
|
|
216
215
|
)
|
|
217
216
|
|
|
218
217
|
data = response.json()
|
|
219
|
-
authenticate_with_tokens(data,
|
|
218
|
+
authenticate_with_tokens(data, cli_config)
|
|
220
219
|
else:
|
|
221
220
|
raise Exception("Authentication failed or timed out.")
|
|
222
221
|
except Exception as e:
|
|
@@ -294,9 +293,13 @@ def create_one_time_code():
|
|
|
294
293
|
return seperator.join(parts), full_code
|
|
295
294
|
|
|
296
295
|
|
|
297
|
-
def authenticate_with_tokens(data: Dict[str, Any],
|
|
296
|
+
def authenticate_with_tokens(data: Dict[str, Any], cli_config: CLIConfig):
|
|
298
297
|
cli_config.set_token(data.get("workspace_token", ""))
|
|
299
|
-
host =
|
|
298
|
+
host = data.get("api_host", "")
|
|
299
|
+
|
|
300
|
+
if not host:
|
|
301
|
+
raise Exception("API host not found in the authentication response")
|
|
302
|
+
|
|
300
303
|
cli_config.set_token_for_host(data.get("workspace_token", ""), host)
|
|
301
304
|
cli_config.set_user_token(data.get("user_token", ""))
|
|
302
305
|
cli_config.set_host(host)
|
|
@@ -7,7 +7,6 @@ from tinybird.tb.config import get_display_cloud_host
|
|
|
7
7
|
from tinybird.tb.modules.cli import cli
|
|
8
8
|
from tinybird.tb.modules.exceptions import CLIException
|
|
9
9
|
from tinybird.tb.modules.feedback_manager import FeedbackManager
|
|
10
|
-
from tinybird.tb.modules.local_common import get_build_workspace_name
|
|
11
10
|
|
|
12
11
|
|
|
13
12
|
@cli.command()
|
|
@@ -21,12 +20,12 @@ def open(ctx: Context, workspace: str):
|
|
|
21
20
|
|
|
22
21
|
config = ctx.ensure_object(dict)["config"]
|
|
23
22
|
client = ctx.ensure_object(dict)["client"]
|
|
24
|
-
|
|
23
|
+
branch = ctx.ensure_object(dict)["branch"]
|
|
25
24
|
|
|
26
25
|
url_host = get_display_cloud_host(client.host)
|
|
27
26
|
|
|
28
27
|
if not workspace:
|
|
29
|
-
workspace =
|
|
28
|
+
workspace = config.get("name")
|
|
30
29
|
|
|
31
30
|
if not workspace:
|
|
32
31
|
raise CLIException(
|
|
@@ -35,7 +34,13 @@ def open(ctx: Context, workspace: str):
|
|
|
35
34
|
)
|
|
36
35
|
)
|
|
37
36
|
|
|
38
|
-
|
|
37
|
+
if branch:
|
|
38
|
+
click.echo(
|
|
39
|
+
FeedbackManager.highlight(message=f"» Opening branch {branch} of workspace {workspace} in the browser")
|
|
40
|
+
)
|
|
41
|
+
auth_url = f"{url_host}/{workspace}~{branch}"
|
|
42
|
+
else:
|
|
43
|
+
click.echo(FeedbackManager.highlight(message=f"» Opening workspace {workspace} in the browser"))
|
|
44
|
+
auth_url = f"{url_host}/{workspace}"
|
|
39
45
|
|
|
40
|
-
auth_url = f"{url_host}/{workspace}"
|
|
41
46
|
webbrowser.open(auth_url)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/deploy_check.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/diff_resource.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/execute_query.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/request_endpoint.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/agent/tools/run_command.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datafile/build_common.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datafile/build_datasource.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datafile/format_common.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datafile/format_datasource.py
RENAMED
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/datafile/pipe_checker.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb/modules/tinyunit/tinyunit_lib.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/tinyunit/tinyunit.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py
RENAMED
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev317 → tinybird-0.0.1.dev319}/tinybird/tb_cli_modules/workspace_members.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|