tinybird-cli 2.1.1.dev8__tar.gz → 2.2.0__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-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/PKG-INFO +8 -30
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/__cli__.py +2 -2
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/branch.py +1 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/common.py +1 -1
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird_cli.egg-info/PKG-INFO +8 -30
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/setup.cfg +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/ch_utils/constants.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/ch_utils/engine.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/check_pypi.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/client.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/config.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/connector_settings.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/connectors.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/context.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/datafile.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/datatypes.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/feedback_manager.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/sql.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/sql_template.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/sql_template_fmt.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/sql_toolset.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/syncasync.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/auth.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/cicd.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/cli.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/config.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/connection.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/datasource.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/exceptions.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/job.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/pipe.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/regions.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/telemetry.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/test.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/tinyunit/tinyunit.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/token.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/workspace.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tb_cli_modules/workspace_members.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird/tornado_template.py +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird_cli.egg-info/SOURCES.txt +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird_cli.egg-info/dependency_links.txt +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird_cli.egg-info/entry_points.txt +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird_cli.egg-info/requires.txt +0 -0
- {tinybird-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/tinybird_cli.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tinybird-cli
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: Tinybird Command Line Tool
|
|
5
5
|
Home-page: https://docs.tinybird.co/cli.html
|
|
6
6
|
Author: Tinybird
|
|
@@ -19,40 +19,18 @@ Changelog
|
|
|
19
19
|
|
|
20
20
|
---------
|
|
21
21
|
|
|
22
|
-
2.
|
|
22
|
+
2.2.0
|
|
23
23
|
************
|
|
24
24
|
|
|
25
|
+
- `Changed` `tb init --git` update to get ready to use cicd with releases
|
|
25
26
|
- `Changed` Use `tb branch` instead of `tb env`. `tb env` is still usable but deprecated and will be removed in the next version.
|
|
26
|
-
|
|
27
|
-
2.1.1.dev7
|
|
28
|
-
************
|
|
29
|
-
|
|
30
|
-
- `Fixed` Be smarter in `tb fmt` when detecting if `.incl` file contains Data Source or Pipe definitions.
|
|
31
|
-
|
|
32
|
-
2.1.1.dev6
|
|
33
|
-
************
|
|
34
|
-
|
|
35
|
-
- `Fixed` `tb fmt` adds empty quoted strings in .datasource connection section.
|
|
36
|
-
|
|
37
|
-
2.1.1.dev5
|
|
38
|
-
************
|
|
39
|
-
|
|
40
|
-
- `Fixed` `tb check` doesn't exit with error when checking a `.incl` file.
|
|
41
|
-
|
|
42
|
-
2.1.1.dev4
|
|
43
|
-
************
|
|
44
|
-
|
|
27
|
+
- `Fixed` command `tb pipe regression-tests` to handle the edge case when all the requests to the endpoint that we want to check fails as the value returned is no what we expect.
|
|
45
28
|
- `Fixed` `tb deploy` fixes to work with `--dry-run` and push changes of new and modified files
|
|
29
|
+
- `Fixed` `tb check` doesn't exit with error when checking a `.incl` file.
|
|
30
|
+
- `Fixed` `tb fmt` adds empty quoted strings in .datasource connection section.
|
|
31
|
+
- `Fixed` Be smarter in `tb fmt` when detecting if `.incl` file contains Data Source or Pipe definitions.
|
|
32
|
+
- `Fixed` `tb env use` when using a token directly, without a `.tinyb` file.
|
|
46
33
|
|
|
47
|
-
2.1.1.dev3
|
|
48
|
-
************
|
|
49
|
-
|
|
50
|
-
- `Changed` `tb init --git` update to get ready to use cicd with releases
|
|
51
|
-
|
|
52
|
-
2.1.1.dev2
|
|
53
|
-
************
|
|
54
|
-
|
|
55
|
-
- `Fixed` command `tb pipe regression-tests` to handle the edge case when all the requests to the endpoint that we want to check fails as the value returned is no what we expect.
|
|
56
34
|
|
|
57
35
|
2.1.0
|
|
58
36
|
************
|
|
@@ -4,5 +4,5 @@ __description__ = 'Tinybird Command Line Tool'
|
|
|
4
4
|
__url__ = 'https://docs.tinybird.co/cli.html'
|
|
5
5
|
__author__ = 'Tinybird'
|
|
6
6
|
__author_email__ = 'support@tinybird.co'
|
|
7
|
-
__version__ = '2.
|
|
8
|
-
__revision__ = '
|
|
7
|
+
__version__ = '2.2.0'
|
|
8
|
+
__revision__ = '63dd034'
|
|
@@ -310,6 +310,7 @@ async def branch_use(branch_name_or_id: str) -> None:
|
|
|
310
310
|
"""Switch to another Branch (requires an admin token associated with a user). Use 'tb branch ls' to list the Branches you can access"""
|
|
311
311
|
|
|
312
312
|
config = CLIConfig.get_project_config()
|
|
313
|
+
_ = await try_update_config_with_remote(config, only_if_needed=True)
|
|
313
314
|
|
|
314
315
|
if branch_name_or_id == MAIN_BRANCH:
|
|
315
316
|
current_main_workspace = await get_current_main_workspace_temp(config)
|
|
@@ -1914,7 +1914,7 @@ async def get_current_main_workspace_temp(config: CLIConfig) -> Optional[Dict[st
|
|
|
1914
1914
|
Please, don't work with the previous version any more and make any changes here
|
|
1915
1915
|
"""
|
|
1916
1916
|
current_workspace = await config.get_client().user_workspaces_and_branches()
|
|
1917
|
-
return _get_current_main_workspace_common(current_workspace, config["id"])
|
|
1917
|
+
return _get_current_main_workspace_common(current_workspace, config.get("id", current_workspace["id"]))
|
|
1918
1918
|
|
|
1919
1919
|
|
|
1920
1920
|
async def get_current_main_workspace(client: TinyB, config: Dict[str, Any]) -> Optional[Dict[str, Any]]:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tinybird-cli
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: Tinybird Command Line Tool
|
|
5
5
|
Home-page: https://docs.tinybird.co/cli.html
|
|
6
6
|
Author: Tinybird
|
|
@@ -19,40 +19,18 @@ Changelog
|
|
|
19
19
|
|
|
20
20
|
---------
|
|
21
21
|
|
|
22
|
-
2.
|
|
22
|
+
2.2.0
|
|
23
23
|
************
|
|
24
24
|
|
|
25
|
+
- `Changed` `tb init --git` update to get ready to use cicd with releases
|
|
25
26
|
- `Changed` Use `tb branch` instead of `tb env`. `tb env` is still usable but deprecated and will be removed in the next version.
|
|
26
|
-
|
|
27
|
-
2.1.1.dev7
|
|
28
|
-
************
|
|
29
|
-
|
|
30
|
-
- `Fixed` Be smarter in `tb fmt` when detecting if `.incl` file contains Data Source or Pipe definitions.
|
|
31
|
-
|
|
32
|
-
2.1.1.dev6
|
|
33
|
-
************
|
|
34
|
-
|
|
35
|
-
- `Fixed` `tb fmt` adds empty quoted strings in .datasource connection section.
|
|
36
|
-
|
|
37
|
-
2.1.1.dev5
|
|
38
|
-
************
|
|
39
|
-
|
|
40
|
-
- `Fixed` `tb check` doesn't exit with error when checking a `.incl` file.
|
|
41
|
-
|
|
42
|
-
2.1.1.dev4
|
|
43
|
-
************
|
|
44
|
-
|
|
27
|
+
- `Fixed` command `tb pipe regression-tests` to handle the edge case when all the requests to the endpoint that we want to check fails as the value returned is no what we expect.
|
|
45
28
|
- `Fixed` `tb deploy` fixes to work with `--dry-run` and push changes of new and modified files
|
|
29
|
+
- `Fixed` `tb check` doesn't exit with error when checking a `.incl` file.
|
|
30
|
+
- `Fixed` `tb fmt` adds empty quoted strings in .datasource connection section.
|
|
31
|
+
- `Fixed` Be smarter in `tb fmt` when detecting if `.incl` file contains Data Source or Pipe definitions.
|
|
32
|
+
- `Fixed` `tb env use` when using a token directly, without a `.tinyb` file.
|
|
46
33
|
|
|
47
|
-
2.1.1.dev3
|
|
48
|
-
************
|
|
49
|
-
|
|
50
|
-
- `Changed` `tb init --git` update to get ready to use cicd with releases
|
|
51
|
-
|
|
52
|
-
2.1.1.dev2
|
|
53
|
-
************
|
|
54
|
-
|
|
55
|
-
- `Fixed` command `tb pipe regression-tests` to handle the edge case when all the requests to the endpoint that we want to check fails as the value returned is no what we expect.
|
|
56
34
|
|
|
57
35
|
2.1.0
|
|
58
36
|
************
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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-cli-2.1.1.dev8 → tinybird-cli-2.2.0}/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
|
|
File without changes
|