tinybird 0.0.1.dev33__tar.gz → 0.0.1.dev34__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.
Potentially problematic release.
This version of tinybird might be problematic. Click here for more details.
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/PKG-INFO +1 -1
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/__cli__.py +2 -2
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/local.py +15 -3
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird.egg-info/PKG-INFO +1 -1
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/setup.cfg +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/__cli__.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/ch_utils/constants.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/ch_utils/engine.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/check_pypi.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/client.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/config.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/connectors.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/context.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/datafile.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/datatypes.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/feedback_manager.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/git_settings.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/prompts.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/sql.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/sql_template.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/sql_template_fmt.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/sql_toolset.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/syncasync.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/cli.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/auth.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/build.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/build_client.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/cicd.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/cli.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/common.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/config.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/connection.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/create.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/build.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/build_common.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/build_datasource.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/build_pipe.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/common.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/diff.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/exceptions.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/fixture.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/format_common.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/format_datasource.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/format_pipe.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/parse_datasource.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/parse_pipe.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/pipe_checker.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/pull.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datasource.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/deploy.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/exceptions.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/feedback_manager.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/fmt.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/job.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/llm.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/llm_utils.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/local_common.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/login.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/mock.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/pipe.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/regions.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/shell.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/table.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/tag.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/telemetry.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/test.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/tinyunit/tinyunit.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/token.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/update.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/watch.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/workspace.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/workspace_members.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/auth.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/branch.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/cicd.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/cli.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/common.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/config.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/connection.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/datasource.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/exceptions.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/fmt.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/job.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/pipe.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/regions.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/tag.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/telemetry.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/test.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/tinyunit/tinyunit.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/workspace.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_modules/workspace_members.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tornado_template.py +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird.egg-info/SOURCES.txt +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird.egg-info/dependency_links.txt +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird.egg-info/entry_points.txt +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird.egg-info/requires.txt +0 -0
- {tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/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/cli/introduction.html'
|
|
5
5
|
__author__ = 'Tinybird'
|
|
6
6
|
__author_email__ = 'support@tinybird.co'
|
|
7
|
-
__version__ = '0.0.1.
|
|
8
|
-
__revision__ = '
|
|
7
|
+
__version__ = '0.0.1.dev34'
|
|
8
|
+
__revision__ = '08098c9'
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import re
|
|
3
|
+
import subprocess
|
|
3
4
|
import time
|
|
4
5
|
|
|
5
6
|
import click
|
|
@@ -82,7 +83,9 @@ def get_docker_client():
|
|
|
82
83
|
client.ping()
|
|
83
84
|
return client
|
|
84
85
|
except Exception:
|
|
85
|
-
raise CLIException(
|
|
86
|
+
raise CLIException(
|
|
87
|
+
"No container runtime is running. Make sure a Docker-compatible runtime is installed and running."
|
|
88
|
+
)
|
|
86
89
|
|
|
87
90
|
|
|
88
91
|
def stop_tinybird_local(docker_client):
|
|
@@ -107,8 +110,17 @@ def remove_tinybird_local(docker_client):
|
|
|
107
110
|
def upgrade():
|
|
108
111
|
"""Upgrade Tinybird CLI to the latest version"""
|
|
109
112
|
click.echo(FeedbackManager.highlight(message="» Upgrading Tinybird CLI..."))
|
|
110
|
-
|
|
111
|
-
|
|
113
|
+
process = subprocess.Popen(
|
|
114
|
+
[f"{os.getenv('HOME')}/.local/bin/uv", "tool", "upgrade", "tinybird"],
|
|
115
|
+
stdout=subprocess.PIPE,
|
|
116
|
+
stderr=subprocess.PIPE,
|
|
117
|
+
text=True,
|
|
118
|
+
)
|
|
119
|
+
stdout, stderr = process.communicate()
|
|
120
|
+
if "Nothing to upgrade" not in stdout + stderr:
|
|
121
|
+
click.echo(FeedbackManager.success(message="✓ Tinybird CLI upgraded"))
|
|
122
|
+
else:
|
|
123
|
+
click.echo(FeedbackManager.info(message="✓ Tinybird CLI is already up to date"))
|
|
112
124
|
|
|
113
125
|
|
|
114
126
|
@cli.group()
|
|
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.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/build_datasource.py
RENAMED
|
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.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/format_datasource.py
RENAMED
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev33 → tinybird-0.0.1.dev34}/tinybird/tb/modules/datafile/parse_datasource.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
|
|
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.dev33 → tinybird-0.0.1.dev34}/tinybird/tb_cli_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
|