tinybird 0.0.1.dev131__tar.gz → 0.0.1.dev132__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.dev131 → tinybird-0.0.1.dev132}/PKG-INFO +1 -1
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/__cli__.py +2 -2
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/client.py +1 -5
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/materialization.py +2 -16
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird.egg-info/PKG-INFO +1 -1
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/setup.cfg +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/__cli__.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/ch_utils/constants.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/ch_utils/engine.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/check_pypi.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/client.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/config.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/connectors.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/context.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/datafile.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/datatypes.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/feedback_manager.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/git_settings.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/prompts.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/sql.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/sql_template.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/sql_template_fmt.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/sql_toolset.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/syncasync.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/cli.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/config.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/auth.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/build.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/cicd.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/cli.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/common.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/config.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/connection.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/copy.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/create.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/build.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/build_common.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/build_datasource.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/build_pipe.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/common.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/diff.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/exceptions.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/fixture.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/format_common.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/format_datasource.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/format_pipe.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/parse_datasource.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/parse_pipe.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/pipe_checker.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/playground.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/pull.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datasource.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/deployment.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/endpoint.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/exceptions.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/feedback_manager.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/infra.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/job.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/llm.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/llm_utils.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/local.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/local_common.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/login.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/logout.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/mock.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/open.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/pipe.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/project.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/regions.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/secret.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/shell.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/table.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/tag.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/telemetry.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/test.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/tinyunit/tinyunit.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/token.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/watch.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/workspace.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/workspace_members.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/auth.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/branch.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/cicd.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/cli.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/common.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/config.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/connection.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/datasource.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/exceptions.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/fmt.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/job.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/pipe.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/regions.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/tag.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/telemetry.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/test.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/tinyunit/tinyunit.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/workspace.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/workspace_members.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tornado_template.py +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird.egg-info/SOURCES.txt +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird.egg-info/dependency_links.txt +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird.egg-info/entry_points.txt +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird.egg-info/requires.txt +0 -0
- {tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/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.dev132'
|
|
8
|
+
__revision__ = '1b7e7c7'
|
|
@@ -568,12 +568,8 @@ class TinyB:
|
|
|
568
568
|
populate_subset: bool = False,
|
|
569
569
|
populate_condition: Optional[str] = None,
|
|
570
570
|
truncate: bool = True,
|
|
571
|
-
unlink_on_populate_error: bool = False,
|
|
572
571
|
):
|
|
573
|
-
params: Dict[str, Any] = {
|
|
574
|
-
"truncate": "true" if truncate else "false",
|
|
575
|
-
"unlink_on_populate_error": "true" if unlink_on_populate_error else "false",
|
|
576
|
-
}
|
|
572
|
+
params: Dict[str, Any] = {"truncate": "true" if truncate else "false", "unlink_on_populate_error": "false"}
|
|
577
573
|
if populate_subset:
|
|
578
574
|
params.update({"populate_subset": populate_subset})
|
|
579
575
|
if populate_condition:
|
|
@@ -7,7 +7,6 @@ from tinybird.tb.client import TinyB
|
|
|
7
7
|
from tinybird.tb.modules.cli import cli
|
|
8
8
|
from tinybird.tb.modules.common import (
|
|
9
9
|
coro,
|
|
10
|
-
create_tb_client,
|
|
11
10
|
echo_safe_humanfriendly_tables_format_smart_table,
|
|
12
11
|
wait_job,
|
|
13
12
|
)
|
|
@@ -84,12 +83,6 @@ async def materialization_ls(ctx: click.Context, match: str, format_: str):
|
|
|
84
83
|
@click.option(
|
|
85
84
|
"--truncate", is_flag=True, default=False, help="Truncates the materialized data source before populating it."
|
|
86
85
|
)
|
|
87
|
-
@click.option(
|
|
88
|
-
"--unlink-on-populate-error",
|
|
89
|
-
is_flag=True,
|
|
90
|
-
default=False,
|
|
91
|
-
help="If the populate job fails the materialized view is unlinked and new data won't be ingested in the materialized view. First time a populate job fails, the materialized view is always unlinked.",
|
|
92
|
-
)
|
|
93
86
|
@click.option(
|
|
94
87
|
"--wait",
|
|
95
88
|
is_flag=True,
|
|
@@ -104,11 +97,10 @@ async def pipe_populate(
|
|
|
104
97
|
node: str,
|
|
105
98
|
sql_condition: str,
|
|
106
99
|
truncate: bool,
|
|
107
|
-
unlink_on_populate_error: bool,
|
|
108
100
|
wait: bool,
|
|
109
101
|
):
|
|
110
102
|
"""Populate the result of a Materialized Node into the target materialized view"""
|
|
111
|
-
cl =
|
|
103
|
+
cl: TinyB = ctx.ensure_object(dict)["client"]
|
|
112
104
|
|
|
113
105
|
pipe = await cl.pipe(pipe_name)
|
|
114
106
|
|
|
@@ -126,13 +118,7 @@ async def pipe_populate(
|
|
|
126
118
|
|
|
127
119
|
node = materialized_ids[0]
|
|
128
120
|
|
|
129
|
-
response = await cl.populate_node(
|
|
130
|
-
pipe_name,
|
|
131
|
-
node,
|
|
132
|
-
populate_condition=sql_condition,
|
|
133
|
-
truncate=truncate,
|
|
134
|
-
unlink_on_populate_error=unlink_on_populate_error,
|
|
135
|
-
)
|
|
121
|
+
response = await cl.populate_node(pipe_name, node, populate_condition=sql_condition, truncate=truncate)
|
|
136
122
|
if "job" not in response:
|
|
137
123
|
raise CLIPipeException(response)
|
|
138
124
|
|
|
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.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/build_common.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/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
|
{tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/format_common.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/format_datasource.py
RENAMED
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb/modules/datafile/parse_datasource.py
RENAMED
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/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
|
{tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/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.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/tinyunit/tinyunit.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py
RENAMED
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev131 → tinybird-0.0.1.dev132}/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
|