tinybird 0.0.1.dev49__py3-none-any.whl → 0.0.1.dev50__py3-none-any.whl
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/tb/__cli__.py +2 -2
- tinybird/tb/modules/build.py +2 -2
- tinybird/tb/modules/cli.py +1 -1
- tinybird/tb/modules/datafile/common.py +1 -8
- {tinybird-0.0.1.dev49.dist-info → tinybird-0.0.1.dev50.dist-info}/METADATA +1 -1
- {tinybird-0.0.1.dev49.dist-info → tinybird-0.0.1.dev50.dist-info}/RECORD +9 -9
- {tinybird-0.0.1.dev49.dist-info → tinybird-0.0.1.dev50.dist-info}/WHEEL +0 -0
- {tinybird-0.0.1.dev49.dist-info → tinybird-0.0.1.dev50.dist-info}/entry_points.txt +0 -0
- {tinybird-0.0.1.dev49.dist-info → tinybird-0.0.1.dev50.dist-info}/top_level.txt +0 -0
tinybird/tb/__cli__.py
CHANGED
|
@@ -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.dev50'
|
|
8
|
+
__revision__ = 'ce37c39'
|
tinybird/tb/modules/build.py
CHANGED
|
@@ -103,7 +103,7 @@ def build_project(project: Project, tb_client: TinyB, file_changed: Optional[str
|
|
|
103
103
|
except Exception as e:
|
|
104
104
|
logging.debug(e, exc_info=True)
|
|
105
105
|
click.echo(FeedbackManager.error(message="Couldn't parse response from server"))
|
|
106
|
-
|
|
106
|
+
sys.exit(1)
|
|
107
107
|
|
|
108
108
|
logging.debug(json.dumps(result, indent=2))
|
|
109
109
|
|
|
@@ -170,7 +170,7 @@ def build_project(project: Project, tb_client: TinyB, file_changed: Optional[str
|
|
|
170
170
|
for fd in fds:
|
|
171
171
|
fd.close()
|
|
172
172
|
if error:
|
|
173
|
-
raise click.ClickException(FeedbackManager.
|
|
173
|
+
raise click.ClickException(FeedbackManager.error(message="Error: Build failed"))
|
|
174
174
|
|
|
175
175
|
|
|
176
176
|
def append_fixture(
|
tinybird/tb/modules/cli.py
CHANGED
|
@@ -129,7 +129,7 @@ async def cli(
|
|
|
129
129
|
ctx.ensure_object(dict)["project"] = project
|
|
130
130
|
|
|
131
131
|
|
|
132
|
-
@cli.command()
|
|
132
|
+
@cli.command(hidden=True)
|
|
133
133
|
@click.option(
|
|
134
134
|
"--folder", default=None, type=click.Path(exists=True, file_okay=False), help="Folder where files will be placed"
|
|
135
135
|
)
|
|
@@ -11,7 +11,7 @@ import shlex
|
|
|
11
11
|
import string
|
|
12
12
|
import textwrap
|
|
13
13
|
import traceback
|
|
14
|
-
from collections import
|
|
14
|
+
from collections import namedtuple
|
|
15
15
|
from dataclasses import dataclass
|
|
16
16
|
from enum import Enum
|
|
17
17
|
from io import StringIO
|
|
@@ -209,13 +209,6 @@ class Datafile:
|
|
|
209
209
|
# [x] Only one materialized node
|
|
210
210
|
# [x] Only one node of any specific type
|
|
211
211
|
# [ ] ...
|
|
212
|
-
repeated_node_names = [
|
|
213
|
-
name for name, count in filter(lambda x: x[1] > 1, Counter(n["name"] for n in self.nodes).items())
|
|
214
|
-
]
|
|
215
|
-
if repeated_node_names:
|
|
216
|
-
raise DatafileValidationError(
|
|
217
|
-
f"Pipe node names must be unique. These names are repeated: {repeated_node_names}"
|
|
218
|
-
)
|
|
219
212
|
for node in self.nodes:
|
|
220
213
|
if "sql" not in node:
|
|
221
214
|
raise DatafileValidationError(f"SQL missing for node {repr(node['name'])}")
|
|
@@ -15,12 +15,12 @@ tinybird/syncasync.py,sha256=IPnOx6lMbf9SNddN1eBtssg8vCLHMt76SuZ6YNYm-Yk,27761
|
|
|
15
15
|
tinybird/tornado_template.py,sha256=FL85SMPq2dH4JqKovmSbaolGdEzwOO91NqOzqXo2Qr0,41863
|
|
16
16
|
tinybird/ch_utils/constants.py,sha256=aYvg2C_WxYWsnqPdZB1ZFoIr8ZY-XjUXYyHKE9Ansj0,3890
|
|
17
17
|
tinybird/ch_utils/engine.py,sha256=OXkBhlzGjZotjD0vaT-rFIbSGV4tpiHxE8qO_ip0SyQ,40454
|
|
18
|
-
tinybird/tb/__cli__.py,sha256=
|
|
18
|
+
tinybird/tb/__cli__.py,sha256=cKGrrXAl7KnVAvMksFSzNWU1rVZC5C-NHFyK0FbUxNE,251
|
|
19
19
|
tinybird/tb/cli.py,sha256=FD1pfbzu9YHJHEG6Vtn_EwPLTYhwqw-I6AxXeTaRHU8,926
|
|
20
20
|
tinybird/tb/modules/auth.py,sha256=EzRWFmwRkXNhUmRaruEVFLdkbUg8xMSix0cAWl5D4Jg,9029
|
|
21
|
-
tinybird/tb/modules/build.py,sha256=
|
|
21
|
+
tinybird/tb/modules/build.py,sha256=bGx4sON9g90zVBVCd16La-1yV1nWZ_AY-2RZ77sco0s,8361
|
|
22
22
|
tinybird/tb/modules/cicd.py,sha256=xxXwy-QekJcG14kkJeGNl7LkHduhZXfvBZE8WrU6-t4,5351
|
|
23
|
-
tinybird/tb/modules/cli.py,sha256=
|
|
23
|
+
tinybird/tb/modules/cli.py,sha256=2nQxwooYcvp0nrgI36yr4ZC1ka9LD3lr4B4TWg3SRUQ,16086
|
|
24
24
|
tinybird/tb/modules/common.py,sha256=TWcGJUgzJCQvzI1oMKbNdx-KTRmMGvB25BawHpsaV8Q,70610
|
|
25
25
|
tinybird/tb/modules/config.py,sha256=mie3oMVTf5YOUFEiLs88P16U4LkJafJjSpjwyAkFHog,10979
|
|
26
26
|
tinybird/tb/modules/copy.py,sha256=wxyxZg8BPiWDgbW5HXJKYQp7_EumBXmAilo3McbCQOo,5916
|
|
@@ -55,7 +55,7 @@ tinybird/tb/modules/datafile/build.py,sha256=seGFSvmgyRrAM1-icsKBkuog3WccfGUYFTP
|
|
|
55
55
|
tinybird/tb/modules/datafile/build_common.py,sha256=IXl-Z51zUi1dypV7meNenX0iu2UmowNeqgG6WHyMHlk,4562
|
|
56
56
|
tinybird/tb/modules/datafile/build_datasource.py,sha256=4aP8_DYCRGghXntZSeWDNJxjps1QRVa7WHoYCzQwQts,17355
|
|
57
57
|
tinybird/tb/modules/datafile/build_pipe.py,sha256=Jgv3YKIvMfjPiSIdw1k2mpaoDdAWMiMRaSHwRgyI97E,28258
|
|
58
|
-
tinybird/tb/modules/datafile/common.py,sha256=
|
|
58
|
+
tinybird/tb/modules/datafile/common.py,sha256=ivxVK8877ZTG6wGmQLuxDA9bstRLsJeOE_ZP0bt6V0M,78470
|
|
59
59
|
tinybird/tb/modules/datafile/diff.py,sha256=-0J7PsBO64T7LOZSkZ4ZFHHCPvT7cKItnJkbz2PkndU,6754
|
|
60
60
|
tinybird/tb/modules/datafile/exceptions.py,sha256=8rw2umdZjtby85QbuRKFO5ETz_eRHwUY5l7eHsy1wnI,556
|
|
61
61
|
tinybird/tb/modules/datafile/fixture.py,sha256=bdZndItV6ibOegPCrN3OgKdkpjDFCFvoSoiZVsCV_XQ,1852
|
|
@@ -74,8 +74,8 @@ tinybird/tb_cli_modules/config.py,sha256=6u6B5QCdiQLbJkCkwtnKGs9H3nP-KXXhC75mF7B
|
|
|
74
74
|
tinybird/tb_cli_modules/exceptions.py,sha256=pmucP4kTF4irIt7dXiG-FcnI-o3mvDusPmch1L8RCWk,3367
|
|
75
75
|
tinybird/tb_cli_modules/regions.py,sha256=QjsL5H6Kg-qr0aYVLrvb1STeJ5Sx_sjvbOYO0LrEGMk,166
|
|
76
76
|
tinybird/tb_cli_modules/telemetry.py,sha256=iEGnMuCuNhvF6ln__j6X9MSTwL_0Hm-GgFHHHvhfknk,10466
|
|
77
|
-
tinybird-0.0.1.
|
|
78
|
-
tinybird-0.0.1.
|
|
79
|
-
tinybird-0.0.1.
|
|
80
|
-
tinybird-0.0.1.
|
|
81
|
-
tinybird-0.0.1.
|
|
77
|
+
tinybird-0.0.1.dev50.dist-info/METADATA,sha256=sHW1V0sKWKhAnBz7c01CAdci9nxkirPHycgQ2vzpHT0,2482
|
|
78
|
+
tinybird-0.0.1.dev50.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
79
|
+
tinybird-0.0.1.dev50.dist-info/entry_points.txt,sha256=LwdHU6TfKx4Qs7BqqtaczEZbImgU7Abe9Lp920zb_fo,43
|
|
80
|
+
tinybird-0.0.1.dev50.dist-info/top_level.txt,sha256=VqqqEmkAy7UNaD8-V51FCoMMWXjLUlR0IstvK7tJYVY,54
|
|
81
|
+
tinybird-0.0.1.dev50.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|