tinybird 0.0.1.dev313__tar.gz → 0.0.1.dev315__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.dev313 → tinybird-0.0.1.dev315}/PKG-INFO +1 -1
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/service_datasources.py +11 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/__cli__.py +2 -2
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/build.py +1 -1
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/deployment_common.py +21 -8
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/dev_server.py +2 -3
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/local.py +6 -4
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird.egg-info/PKG-INFO +1 -1
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/setup.cfg +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/__cli__.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/ch_utils/constants.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/ch_utils/engine.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/check_pypi.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/client.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/config.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/connectors.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/context.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/datafile/common.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/datafile/exceptions.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/datafile/parse_connection.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/datafile/parse_datasource.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/datafile/parse_pipe.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/datatypes.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/feedback_manager.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/git_settings.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/prompts.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/sql.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/sql_template.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/sql_template_fmt.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/sql_toolset.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/syncasync.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/check_pypi.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/cli.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/client.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/config.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/__init__.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/agent.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/animations.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/banner.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/command_agent.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/compactor.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/explore_agent.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/file_agent.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/memory.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/mock_agent.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/models.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/prompts.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/testing_agent.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/__init__.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/analyze.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/append.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/build.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/datafile.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/deploy.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/deploy_check.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/diff_resource.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/execute_query.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/file.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/get_endpoint_stats.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/get_openapi_definition.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/mock.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/plan.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/request_endpoint.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/run_command.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/secret.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/test.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/utils.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/build_common.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/cicd.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/cli.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/common.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/config.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/connection.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/copy.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/create.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/datafile/build.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/datafile/build_common.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/datafile/build_datasource.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/datafile/build_pipe.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/datafile/diff.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/datafile/fixture.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/datafile/format_common.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/datafile/format_datasource.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/datafile/format_pipe.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/datafile/pipe_checker.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/datafile/playground.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/datafile/pull.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/datasource.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/deployment.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/deprecations.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/endpoint.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/environment.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/exceptions.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/feedback_manager.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/info.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/infra.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/job.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/llm.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/llm_utils.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/local_common.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/local_logs.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/login.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/login_common.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/logout.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/materialization.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/mock.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/mock_common.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/open.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/pipe.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/project.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/regions.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/secret.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/secret_common.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/shell.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/sink.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/table.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/telemetry.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/test.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/test_common.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/tinyunit/tinyunit.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/token.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/watch.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/workspace.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/workspace_members.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/auth.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/branch.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/cicd.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/cli.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/common.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/config.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/connection.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/datasource.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/exceptions.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/fmt.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/job.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/pipe.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/regions.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/tag.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/telemetry.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/test.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/tinyunit/tinyunit.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/workspace.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/workspace_members.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tornado_template.py +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird.egg-info/SOURCES.txt +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird.egg-info/dependency_links.txt +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird.egg-info/entry_points.txt +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird.egg-info/requires.txt +0 -0
- {tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird.egg-info/top_level.txt +0 -0
|
@@ -906,6 +906,17 @@ def get_organization_service_datasources() -> List[Dict[str, Any]]:
|
|
|
906
906
|
{"name": "active_minutes", "type": "Float64"},
|
|
907
907
|
],
|
|
908
908
|
},
|
|
909
|
+
{
|
|
910
|
+
"name": "organization.shared_infra_active_seconds",
|
|
911
|
+
"description": "Contains information about vCPU active seconds consumption aggregated by second for all Organization workspaces. Only available for Developer and Enterprise plans in shared infrastructure.",
|
|
912
|
+
"dateColumn": "second",
|
|
913
|
+
"columns": [
|
|
914
|
+
{"name": "second", "type": "DateTime"},
|
|
915
|
+
{"name": "organization_id", "type": "String"},
|
|
916
|
+
{"name": "organization_name", "type": "String"},
|
|
917
|
+
{"name": "cpu_time", "type": "Float64"},
|
|
918
|
+
],
|
|
919
|
+
},
|
|
909
920
|
{
|
|
910
921
|
"name": "organization.shared_infra_qps_overages",
|
|
911
922
|
"description": "Contains information about QPS consumption and overages aggregated by second for all Organization workspaces. Only available for Developer and Enterprise plans in shared infrastructure.",
|
|
@@ -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.dev315'
|
|
8
|
+
__revision__ = 'cd111b2'
|
|
@@ -70,7 +70,7 @@ def build(ctx: click.Context, watch: bool) -> None:
|
|
|
70
70
|
|
|
71
71
|
@cli.command("dev", help="Build the project server side and watch for changes.")
|
|
72
72
|
@click.option("--data-origin", type=str, default="", help="Data origin: local or cloud")
|
|
73
|
-
@click.option("--ui", is_flag=True, default=
|
|
73
|
+
@click.option("--ui/--skip-ui", is_flag=True, default=True, help="Connect your local project to Tinybird UI")
|
|
74
74
|
@click.pass_context
|
|
75
75
|
def dev(ctx: click.Context, data_origin: str, ui: bool) -> None:
|
|
76
76
|
obj: Dict[str, Any] = ctx.ensure_object(dict)
|
|
@@ -333,15 +333,17 @@ def create_deployment(
|
|
|
333
333
|
url = f"{client.host}/v1/deployments/{deployment.get('id')}"
|
|
334
334
|
res = api_fetch(url, HEADERS)
|
|
335
335
|
deployment = res.get("deployment")
|
|
336
|
+
status = deployment.get("status")
|
|
337
|
+
errors = deployment.get("errors")
|
|
338
|
+
feedback = deployment.get("feedback")
|
|
336
339
|
if not deployment:
|
|
337
340
|
click.echo(FeedbackManager.error(message="Error parsing deployment from response"))
|
|
338
341
|
sys_exit("deployment_error", "Error parsing deployment from response")
|
|
339
342
|
return
|
|
340
343
|
|
|
341
|
-
if
|
|
344
|
+
if status == "failed":
|
|
342
345
|
click.echo(FeedbackManager.error(message="Deployment failed"))
|
|
343
|
-
|
|
344
|
-
for deploy_error in deploy_errors:
|
|
346
|
+
for deploy_error in errors:
|
|
345
347
|
click.echo(FeedbackManager.error(message=f"* {deploy_error}"))
|
|
346
348
|
|
|
347
349
|
if auto:
|
|
@@ -349,15 +351,26 @@ def create_deployment(
|
|
|
349
351
|
discard_deployment(client.host, HEADERS, wait=wait)
|
|
350
352
|
sys_exit(
|
|
351
353
|
"deployment_error",
|
|
352
|
-
f"Deployment failed. Errors: {str(
|
|
354
|
+
f"Deployment failed. Errors: {str(errors + (feedback or []))}",
|
|
353
355
|
)
|
|
354
356
|
|
|
355
|
-
if
|
|
357
|
+
if status == "data_ready":
|
|
356
358
|
break
|
|
357
359
|
|
|
358
|
-
if
|
|
359
|
-
|
|
360
|
-
|
|
360
|
+
if status in ["deleting", "deleted"]:
|
|
361
|
+
errors = deployment.get("errors")
|
|
362
|
+
if errors:
|
|
363
|
+
verb = "is being" if status == "deleting" else "was"
|
|
364
|
+
click.echo(
|
|
365
|
+
FeedbackManager.error(
|
|
366
|
+
message=f"Deployment failed and {verb} deleted automatically. Deployment errors:"
|
|
367
|
+
)
|
|
368
|
+
)
|
|
369
|
+
for error in errors:
|
|
370
|
+
click.echo(FeedbackManager.error(message=f"* {error}"))
|
|
371
|
+
sys_exit(
|
|
372
|
+
"deployment_error", f"Deployment deleted after failure. Errors: {str(errors + (feedback or []))}"
|
|
373
|
+
)
|
|
361
374
|
|
|
362
375
|
time.sleep(5)
|
|
363
376
|
|
|
@@ -44,10 +44,9 @@ class DevServer(http.server.HTTPServer):
|
|
|
44
44
|
|
|
45
45
|
try:
|
|
46
46
|
super().__init__(("", port), DevHandler)
|
|
47
|
-
click.echo(FeedbackManager.success(message=f"✓ Dev server running on http://localhost:{port}"))
|
|
48
47
|
click.echo(
|
|
49
48
|
FeedbackManager.info(
|
|
50
|
-
message=f"
|
|
49
|
+
message=f"✓ Access your project at https://cloud.tinybird.co/local/{TB_LOCAL_PORT}/{project.workspace_name}/project\n"
|
|
51
50
|
)
|
|
52
51
|
)
|
|
53
52
|
except OSError as e:
|
|
@@ -254,7 +253,7 @@ def start_server(project: Project, tb_client: TinyB, process: Callable, build_st
|
|
|
254
253
|
"""
|
|
255
254
|
|
|
256
255
|
try:
|
|
257
|
-
click.echo(FeedbackManager.highlight(message="»
|
|
256
|
+
click.echo(FeedbackManager.highlight(message="» Exposing your project to Tinybird UI..."))
|
|
258
257
|
|
|
259
258
|
# Create and start the server
|
|
260
259
|
server = DevServer(process, project, build_status, tb_client)
|
|
@@ -196,10 +196,11 @@ def remove() -> None:
|
|
|
196
196
|
help="Workspace token to use for the Tinybird Local container.",
|
|
197
197
|
)
|
|
198
198
|
@click.option(
|
|
199
|
-
"--watch",
|
|
199
|
+
"--daemon/--watch",
|
|
200
|
+
"-d/-w",
|
|
200
201
|
default=False,
|
|
201
202
|
is_flag=True,
|
|
202
|
-
help="
|
|
203
|
+
help="Run Tinybird Local in the background.",
|
|
203
204
|
)
|
|
204
205
|
def start(
|
|
205
206
|
use_aws_creds: bool,
|
|
@@ -207,7 +208,7 @@ def start(
|
|
|
207
208
|
skip_new_version: bool,
|
|
208
209
|
user_token: str,
|
|
209
210
|
workspace_token: str,
|
|
210
|
-
|
|
211
|
+
daemon: bool,
|
|
211
212
|
) -> None:
|
|
212
213
|
"""Start Tinybird Local"""
|
|
213
214
|
if volumes_path is not None:
|
|
@@ -217,10 +218,11 @@ def start(
|
|
|
217
218
|
|
|
218
219
|
click.echo(FeedbackManager.highlight(message="» Starting Tinybird Local..."))
|
|
219
220
|
docker_client = get_docker_client()
|
|
221
|
+
watch = not daemon
|
|
220
222
|
start_tinybird_local(
|
|
221
223
|
docker_client, use_aws_creds, volumes_path, skip_new_version, user_token, workspace_token, watch=watch
|
|
222
224
|
)
|
|
223
|
-
if
|
|
225
|
+
if daemon:
|
|
224
226
|
click.echo(FeedbackManager.success(message="✓ Tinybird Local is ready!"))
|
|
225
227
|
|
|
226
228
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/deploy_check.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/diff_resource.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/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.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/agent/tools/request_endpoint.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/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
|
{tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/datafile/build_common.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/datafile/build_datasource.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/datafile/format_common.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb/modules/datafile/format_datasource.py
RENAMED
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/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.dev313 → tinybird-0.0.1.dev315}/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.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/tinyunit/tinyunit.py
RENAMED
|
File without changes
|
{tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py
RENAMED
|
File without changes
|
|
File without changes
|
{tinybird-0.0.1.dev313 → tinybird-0.0.1.dev315}/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
|