tinybird 0.0.1.dev128__tar.gz → 0.0.1.dev130__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.dev128 → tinybird-0.0.1.dev130}/PKG-INFO +1 -1
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/__cli__.py +2 -2
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/connection.py +1 -1
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/common.py +2 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/test.py +7 -5
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird.egg-info/PKG-INFO +1 -1
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/setup.cfg +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/__cli__.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/ch_utils/constants.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/ch_utils/engine.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/check_pypi.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/client.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/config.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/connectors.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/context.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/datafile.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/datatypes.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/feedback_manager.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/git_settings.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/prompts.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/sql.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/sql_template.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/sql_template_fmt.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/sql_toolset.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/syncasync.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/cli.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/client.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/config.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/auth.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/build.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/cicd.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/cli.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/common.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/config.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/copy.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/create.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/build.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/build_common.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/build_datasource.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/build_pipe.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/diff.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/exceptions.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/fixture.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/format_common.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/format_datasource.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/format_pipe.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/parse_datasource.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/parse_pipe.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/pipe_checker.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/playground.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/pull.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datasource.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/deployment.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/endpoint.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/exceptions.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/feedback_manager.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/infra.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/job.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/llm.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/llm_utils.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/local.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/local_common.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/login.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/logout.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/materialization.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/mock.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/open.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/pipe.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/project.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/regions.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/secret.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/shell.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/table.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/tag.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/telemetry.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/tinyunit/tinyunit.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/token.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/watch.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/workspace.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/workspace_members.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/auth.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/branch.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/cicd.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/cli.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/common.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/config.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/connection.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/datasource.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/exceptions.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/fmt.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/job.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/pipe.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/regions.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/tag.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/telemetry.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/test.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/tinyunit/tinyunit.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/workspace.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/workspace_members.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tornado_template.py +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird.egg-info/SOURCES.txt +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird.egg-info/dependency_links.txt +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird.egg-info/entry_points.txt +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird.egg-info/requires.txt +0 -0
- {tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/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.dev130'
|
|
8
|
+
__revision__ = '6134043'
|
|
@@ -86,7 +86,7 @@ SENSITIVE_CONNECTOR_SETTINGS = {
|
|
|
86
86
|
"gcscheduler_region",
|
|
87
87
|
],
|
|
88
88
|
DataConnectorType.GCLOUD_STORAGE_HMAC: ["gcs_hmac_secret"],
|
|
89
|
-
DataConnectorType.AMAZON_S3: ["s3_secret_access_key"],
|
|
89
|
+
DataConnectorType.AMAZON_S3: ["s3_secret_access_key", "s3_secret"],
|
|
90
90
|
DataConnectorType.AMAZON_S3_IAMROLE: ["s3_iamrole_arn"],
|
|
91
91
|
DataConnectorType.AMAZON_DYNAMODB: ["dynamodb_iamrole_arn"],
|
|
92
92
|
}
|
|
@@ -1544,6 +1544,8 @@ def parse(
|
|
|
1544
1544
|
"import_service": assign_var("import_service"),
|
|
1545
1545
|
"s3_region": assign_var("s3_region"),
|
|
1546
1546
|
"s3_arn": assign_var("s3_arn"),
|
|
1547
|
+
"s3_access_key": assign_var("s3_access_key"),
|
|
1548
|
+
"s3_secret": assign_var("s3_secret"),
|
|
1547
1549
|
"import_connection_name": assign_var("import_connection_name"),
|
|
1548
1550
|
"import_schedule": assign_var("import_schedule"),
|
|
1549
1551
|
"import_strategy": assign_var("import_strategy"),
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
# - If it makes sense and only when strictly necessary, you can create utility functions in this file.
|
|
4
4
|
# - But please, **do not** interleave utility functions and command definitions.
|
|
5
5
|
|
|
6
|
+
import asyncio
|
|
6
7
|
import difflib
|
|
7
8
|
import glob
|
|
8
9
|
import os
|
|
@@ -211,8 +212,7 @@ async def test_update(ctx: click.Context, pipe: str) -> None:
|
|
|
211
212
|
)
|
|
212
213
|
@click.argument("name", nargs=-1)
|
|
213
214
|
@click.pass_context
|
|
214
|
-
|
|
215
|
-
async def run_tests(ctx: click.Context, name: Tuple[str, ...]) -> None:
|
|
215
|
+
def run_tests(ctx: click.Context, name: Tuple[str, ...]) -> None:
|
|
216
216
|
client: TinyB = ctx.ensure_object(dict)["client"]
|
|
217
217
|
project: Project = ctx.ensure_object(dict)["project"]
|
|
218
218
|
click.echo(FeedbackManager.highlight(message="\n» Building project"))
|
|
@@ -226,7 +226,7 @@ async def run_tests(ctx: click.Context, name: Tuple[str, ...]) -> None:
|
|
|
226
226
|
endpoints if len(endpoints) > 0 else glob.glob(f"{project.path}/tests/**/*.y*ml", recursive=True)
|
|
227
227
|
)
|
|
228
228
|
|
|
229
|
-
|
|
229
|
+
def run_test(test_file):
|
|
230
230
|
test_file_path = Path(test_file)
|
|
231
231
|
click.echo(FeedbackManager.info(message=f"* {test_file_path.stem}{test_file_path.suffix}"))
|
|
232
232
|
test_file_content = yaml.safe_load(test_file_path.read_text())
|
|
@@ -236,7 +236,9 @@ async def run_tests(ctx: click.Context, name: Tuple[str, ...]) -> None:
|
|
|
236
236
|
test_params = test["parameters"].split("?")[1] if "?" in test["parameters"] else test["parameters"]
|
|
237
237
|
response = None
|
|
238
238
|
try:
|
|
239
|
-
response =
|
|
239
|
+
response = asyncio.run(
|
|
240
|
+
get_pipe_data(client, pipe_name=test_file_path.stem, test_params=test_params)
|
|
241
|
+
)
|
|
240
242
|
except Exception:
|
|
241
243
|
continue
|
|
242
244
|
|
|
@@ -267,7 +269,7 @@ async def run_tests(ctx: click.Context, name: Tuple[str, ...]) -> None:
|
|
|
267
269
|
test_count = len(test_files)
|
|
268
270
|
|
|
269
271
|
for test_file in test_files:
|
|
270
|
-
if not
|
|
272
|
+
if not run_test(test_file):
|
|
271
273
|
failed_tests_count += 1
|
|
272
274
|
|
|
273
275
|
if failed_tests_count:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/build_common.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/build_datasource.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/format_common.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/format_datasource.py
RENAMED
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb/modules/datafile/parse_datasource.py
RENAMED
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/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.dev128 → tinybird-0.0.1.dev130}/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.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/tinyunit/tinyunit.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py
RENAMED
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev128 → tinybird-0.0.1.dev130}/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
|