tinybird-cli 3.6.1.dev10__tar.gz → 3.7.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-3.6.1.dev10 → tinybird-cli-3.7.0}/PKG-INFO +10 -41
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/__cli__.py +2 -2
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/context.py +0 -1
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/sql_template_fmt.py +22 -1
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird_cli.egg-info/PKG-INFO +10 -41
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/setup.cfg +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/ch_utils/constants.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/ch_utils/engine.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/check_pypi.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/client.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/config.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/connector_settings.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/connectors.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/data_connectors/credentials.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/datafile.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/datatypes.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/feedback_manager.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/git_settings.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/sql.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/sql_template.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/sql_toolset.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/syncasync.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/auth.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/branch.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/cicd.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/cli.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/common.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/config.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/connection.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/datasource.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/exceptions.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/job.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/pipe.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/regions.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/telemetry.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/test.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/tinyunit/tinyunit.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/token.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/workspace.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/workspace_members.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tornado_template.py +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird_cli.egg-info/SOURCES.txt +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird_cli.egg-info/dependency_links.txt +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird_cli.egg-info/entry_points.txt +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird_cli.egg-info/requires.txt +0 -0
- {tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.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: 3.
|
|
3
|
+
Version: 3.7.0
|
|
4
4
|
Summary: Tinybird Command Line Tool
|
|
5
5
|
Home-page: https://www.tinybird.co/docs/cli/introduction.html
|
|
6
6
|
Author: Tinybird
|
|
@@ -19,50 +19,19 @@ Changelog
|
|
|
19
19
|
|
|
20
20
|
---------
|
|
21
21
|
|
|
22
|
-
3.
|
|
22
|
+
3.7.0
|
|
23
23
|
************
|
|
24
24
|
|
|
25
|
+
- `Changed` fixed major version of tinybird-cli to lower than 4 when using `tb init --git`
|
|
26
|
+
- `Changed` behavior when running `tb deploy` on a branch to push the connection settings to the backend. This change is the backend that decides what to do.
|
|
25
27
|
- `Changed` `tb pipe sink` commands are now available
|
|
26
|
-
|
|
27
|
-
3.6.1.dev9
|
|
28
|
-
************
|
|
29
|
-
|
|
30
|
-
- `Fixed` Added correct URL for checking available regions
|
|
31
|
-
|
|
32
|
-
3.6.1.dev8
|
|
33
|
-
************
|
|
34
|
-
|
|
35
|
-
- `Fixed` Report better error message on `tb diff` when two Datafiles have the same name
|
|
36
|
-
|
|
37
|
-
3.6.1.dev7
|
|
38
|
-
************
|
|
39
|
-
|
|
40
|
-
- `Fixed` `tb deploy` supports deployment when a `.incl` file is removed
|
|
41
|
-
|
|
42
|
-
3.6.1.dev6
|
|
43
|
-
************
|
|
44
|
-
|
|
45
|
-
- `Fixed` Some issues when using `--fmt: off` with `CASE` in the sql
|
|
46
|
-
|
|
47
|
-
3.6.1.dev5
|
|
48
|
-
************
|
|
49
|
-
|
|
50
|
-
- `Fixed` Avoid `tb fmt` to error if there's a `CASE` in the sql
|
|
51
|
-
|
|
52
|
-
3.6.1.dev4
|
|
53
|
-
************
|
|
54
|
-
|
|
55
28
|
- `Fixed` regression tests query when filtering by specific parameter
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
- `
|
|
61
|
-
|
|
62
|
-
3.6.1.dev2
|
|
63
|
-
************
|
|
64
|
-
|
|
65
|
-
- `Changed` fixed major version of tinybird-cli to lower than 4 when using `tb init --git`
|
|
29
|
+
- `Fixed` Avoid `tb fmt` to error if there's a `CASE` in the sql
|
|
30
|
+
- `Fixed` Some issues when using `--fmt: off` with `CASE` in the sql
|
|
31
|
+
- `Fixed` `tb deploy` supports deployment when a `.incl` file is removed
|
|
32
|
+
- `Fixed` Report better error message on `tb diff` when two Datafiles have the same name
|
|
33
|
+
- `Fixed` Added correct URL for checking available regions
|
|
34
|
+
- `Fixed` Support `.incl` files with environment variables in `tb fmt`
|
|
66
35
|
|
|
67
36
|
3.6.0
|
|
68
37
|
************
|
|
@@ -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__ = '3.
|
|
8
|
-
__revision__ = '
|
|
7
|
+
__version__ = '3.7.0'
|
|
8
|
+
__revision__ = 'f5f887d'
|
|
@@ -5,7 +5,6 @@ workspace: ContextVar[str] = ContextVar("workspace")
|
|
|
5
5
|
table_id: ContextVar[str] = ContextVar("table_id")
|
|
6
6
|
hfi_frequency: ContextVar[float] = ContextVar("hfi_frequency")
|
|
7
7
|
hfi_frequency_gatherer: ContextVar[float] = ContextVar("hfi_frequency_gatherer")
|
|
8
|
-
hfi_use_gatherer: ContextVar[bool] = ContextVar("hfi_use_gatherer")
|
|
9
8
|
use_gatherer: ContextVar[bool] = ContextVar("use_gatherer")
|
|
10
9
|
disable_template_security_validation: ContextVar[bool] = ContextVar("disable_template_security_validation")
|
|
11
10
|
origin: ContextVar[str] = ContextVar("origin")
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import logging
|
|
2
2
|
from dataclasses import dataclass
|
|
3
|
+
from functools import partial
|
|
3
4
|
from types import MethodType
|
|
4
5
|
from typing import Any, Dict, List, Optional
|
|
5
6
|
|
|
@@ -177,7 +178,27 @@ class TinybirdDialect(ClickHouse):
|
|
|
177
178
|
self.lower_keywords = lower_keywords
|
|
178
179
|
|
|
179
180
|
override_rules = {
|
|
180
|
-
"main": [
|
|
181
|
+
"main": [
|
|
182
|
+
Rule(
|
|
183
|
+
name="quoted_name",
|
|
184
|
+
priority=200,
|
|
185
|
+
pattern=group(
|
|
186
|
+
# tripled single quotes (optionally raw/bytes)
|
|
187
|
+
r"(rb?|b|br)?'''.*?'''",
|
|
188
|
+
# tripled double quotes
|
|
189
|
+
r'(rb?|b|br)?""".*?"""',
|
|
190
|
+
# possibly escaped double quotes
|
|
191
|
+
r'(rb?|b|br|u&|@)?"([^"\\]*(\\.[^"\\]*|""[^"\\]*)*)"',
|
|
192
|
+
# possibly escaped single quotes
|
|
193
|
+
r"(rb?|b|br|u&|x)?'([^'\\]*(\\.[^'\\]*|''[^'\\]*)*)'",
|
|
194
|
+
r"\$\w*\$[^$]*?\$\w*\$", # pg dollar-delimited strings
|
|
195
|
+
# possibly escaped backtick
|
|
196
|
+
r"`([^`\\]*(\\.[^`\\]*)*)`",
|
|
197
|
+
r"((?<!\\)\$[\w$]+)", # Words starting with $ for .incl files
|
|
198
|
+
),
|
|
199
|
+
action=partial(actions.add_node_to_buffer, token_type=TokenType.QUOTED_NAME),
|
|
200
|
+
),
|
|
201
|
+
],
|
|
181
202
|
"jinja": [
|
|
182
203
|
Rule(
|
|
183
204
|
name="jinja_if_block_end",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tinybird-cli
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.7.0
|
|
4
4
|
Summary: Tinybird Command Line Tool
|
|
5
5
|
Home-page: https://www.tinybird.co/docs/cli/introduction.html
|
|
6
6
|
Author: Tinybird
|
|
@@ -19,50 +19,19 @@ Changelog
|
|
|
19
19
|
|
|
20
20
|
---------
|
|
21
21
|
|
|
22
|
-
3.
|
|
22
|
+
3.7.0
|
|
23
23
|
************
|
|
24
24
|
|
|
25
|
+
- `Changed` fixed major version of tinybird-cli to lower than 4 when using `tb init --git`
|
|
26
|
+
- `Changed` behavior when running `tb deploy` on a branch to push the connection settings to the backend. This change is the backend that decides what to do.
|
|
25
27
|
- `Changed` `tb pipe sink` commands are now available
|
|
26
|
-
|
|
27
|
-
3.6.1.dev9
|
|
28
|
-
************
|
|
29
|
-
|
|
30
|
-
- `Fixed` Added correct URL for checking available regions
|
|
31
|
-
|
|
32
|
-
3.6.1.dev8
|
|
33
|
-
************
|
|
34
|
-
|
|
35
|
-
- `Fixed` Report better error message on `tb diff` when two Datafiles have the same name
|
|
36
|
-
|
|
37
|
-
3.6.1.dev7
|
|
38
|
-
************
|
|
39
|
-
|
|
40
|
-
- `Fixed` `tb deploy` supports deployment when a `.incl` file is removed
|
|
41
|
-
|
|
42
|
-
3.6.1.dev6
|
|
43
|
-
************
|
|
44
|
-
|
|
45
|
-
- `Fixed` Some issues when using `--fmt: off` with `CASE` in the sql
|
|
46
|
-
|
|
47
|
-
3.6.1.dev5
|
|
48
|
-
************
|
|
49
|
-
|
|
50
|
-
- `Fixed` Avoid `tb fmt` to error if there's a `CASE` in the sql
|
|
51
|
-
|
|
52
|
-
3.6.1.dev4
|
|
53
|
-
************
|
|
54
|
-
|
|
55
28
|
- `Fixed` regression tests query when filtering by specific parameter
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
- `
|
|
61
|
-
|
|
62
|
-
3.6.1.dev2
|
|
63
|
-
************
|
|
64
|
-
|
|
65
|
-
- `Changed` fixed major version of tinybird-cli to lower than 4 when using `tb init --git`
|
|
29
|
+
- `Fixed` Avoid `tb fmt` to error if there's a `CASE` in the sql
|
|
30
|
+
- `Fixed` Some issues when using `--fmt: off` with `CASE` in the sql
|
|
31
|
+
- `Fixed` `tb deploy` supports deployment when a `.incl` file is removed
|
|
32
|
+
- `Fixed` Report better error message on `tb diff` when two Datafiles have the same name
|
|
33
|
+
- `Fixed` Added correct URL for checking available regions
|
|
34
|
+
- `Fixed` Support `.incl` files with environment variables in `tb fmt`
|
|
66
35
|
|
|
67
36
|
3.6.0
|
|
68
37
|
************
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/tinyunit/tinyunit.py
RENAMED
|
File without changes
|
{tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tinybird-cli-3.6.1.dev10 → tinybird-cli-3.7.0}/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
|