tinybird 0.0.1.dev75__tar.gz → 0.0.1.dev76__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.dev75 → tinybird-0.0.1.dev76}/PKG-INFO +1 -1
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/__cli__.py +2 -2
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/build.py +2 -1
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datafile/common.py +16 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird.egg-info/PKG-INFO +1 -1
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/setup.cfg +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/__cli__.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/ch_utils/constants.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/ch_utils/engine.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/check_pypi.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/client.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/config.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/connectors.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/context.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/datafile.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/datatypes.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/feedback_manager.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/git_settings.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/prompts.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/sql.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/sql_template.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/sql_template_fmt.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/sql_toolset.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/syncasync.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/cli.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/auth.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/cicd.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/cli.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/common.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/config.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/copy.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/create.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datafile/build.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datafile/build_common.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datafile/build_datasource.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datafile/build_pipe.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datafile/diff.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datafile/exceptions.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datafile/fixture.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datafile/format_common.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datafile/format_datasource.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datafile/format_pipe.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datafile/parse_datasource.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datafile/parse_pipe.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datafile/pipe_checker.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datafile/playground.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datafile/pull.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datasource.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/deployment.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/endpoint.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/exceptions.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/feedback_manager.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/fmt.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/job.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/llm.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/llm_utils.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/local.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/local_common.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/login.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/materialization.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/mock.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/pipe.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/playground.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/project.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/regions.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/shell.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/table.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/tag.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/telemetry.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/test.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/tinyunit/tinyunit.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/token.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/watch.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/workspace.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/workspace_members.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/auth.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/branch.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/cicd.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/cli.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/common.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/config.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/connection.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/datasource.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/exceptions.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/fmt.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/job.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/pipe.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/regions.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/tag.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/telemetry.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/test.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/tinyunit/tinyunit.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/workspace.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tb_cli_modules/workspace_members.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird/tornado_template.py +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird.egg-info/SOURCES.txt +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird.egg-info/dependency_links.txt +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird.egg-info/entry_points.txt +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/tinybird.egg-info/requires.txt +0 -0
- {tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/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.dev76'
|
|
8
|
+
__revision__ = '5ecf681'
|
|
@@ -135,10 +135,11 @@ def build_project(project: Project, tb_client: TinyB, file_changed: Optional[str
|
|
|
135
135
|
|
|
136
136
|
elif build_result == "failed":
|
|
137
137
|
build_errors = result.get("errors")
|
|
138
|
+
error_msg = None
|
|
138
139
|
for build_error in build_errors:
|
|
139
140
|
filename_bit = f"{build_error.get('filename', '')}"
|
|
140
141
|
error_msg = ((filename_bit + "\n\n") if filename_bit else "") + build_error.get("error")
|
|
141
|
-
|
|
142
|
+
error = error_msg or "Unknown build error"
|
|
142
143
|
else:
|
|
143
144
|
error = f"Unknown build result. Error: {result.get('error')}"
|
|
144
145
|
except Exception as e:
|
|
@@ -1151,6 +1151,21 @@ def parse(
|
|
|
1151
1151
|
|
|
1152
1152
|
return raise_deprecation_error
|
|
1153
1153
|
|
|
1154
|
+
def not_supported_yet(extra_message: str = "") -> Callable[..., Any]:
|
|
1155
|
+
def inner(func: Callable[..., Any]) -> Callable[..., Any]:
|
|
1156
|
+
@functools.wraps(func)
|
|
1157
|
+
def raise_not_supported_yet_error(*args: Any, **kwargs: Any) -> Any:
|
|
1158
|
+
extra_message_bit = f". {extra_message}" if extra_message else ""
|
|
1159
|
+
raise DatafileSyntaxError(
|
|
1160
|
+
f"{kwargs['cmd']} is not supported yet{extra_message_bit}",
|
|
1161
|
+
lineno=kwargs["lineno"],
|
|
1162
|
+
pos=1,
|
|
1163
|
+
)
|
|
1164
|
+
|
|
1165
|
+
return raise_not_supported_yet_error
|
|
1166
|
+
|
|
1167
|
+
return inner
|
|
1168
|
+
|
|
1154
1169
|
def assign(attr):
|
|
1155
1170
|
@multiline_not_supported
|
|
1156
1171
|
def _fn(x, **kwargs):
|
|
@@ -1268,6 +1283,7 @@ def parse(
|
|
|
1268
1283
|
# APPEND for datasources
|
|
1269
1284
|
doc.tokens.append({"token_name": _unquote(args[0]), "permissions": args[1]})
|
|
1270
1285
|
|
|
1286
|
+
@not_supported_yet()
|
|
1271
1287
|
def include(*args: str, **kwargs: Any) -> None:
|
|
1272
1288
|
f = _unquote(args[0])
|
|
1273
1289
|
f = eval_var(f)
|
|
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.dev75 → tinybird-0.0.1.dev76}/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.dev75 → tinybird-0.0.1.dev76}/tinybird/tb/modules/datafile/format_datasource.py
RENAMED
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev75 → tinybird-0.0.1.dev76}/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
|