tinybird 0.0.1.dev138__py3-none-any.whl → 0.0.1.dev140__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/cli.py +1 -0
- tinybird/tb/modules/connection.py +0 -5
- tinybird/tb/modules/deprecations.py +20 -0
- {tinybird-0.0.1.dev138.dist-info → tinybird-0.0.1.dev140.dist-info}/METADATA +1 -1
- {tinybird-0.0.1.dev138.dist-info → tinybird-0.0.1.dev140.dist-info}/RECORD +9 -8
- {tinybird-0.0.1.dev138.dist-info → tinybird-0.0.1.dev140.dist-info}/WHEEL +0 -0
- {tinybird-0.0.1.dev138.dist-info → tinybird-0.0.1.dev140.dist-info}/entry_points.txt +0 -0
- {tinybird-0.0.1.dev138.dist-info → tinybird-0.0.1.dev140.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.dev140'
|
|
8
|
+
__revision__ = 'aa2a66a'
|
tinybird/tb/cli.py
CHANGED
|
@@ -13,6 +13,7 @@ import tinybird.tb.modules.copy
|
|
|
13
13
|
import tinybird.tb.modules.create
|
|
14
14
|
import tinybird.tb.modules.datasource
|
|
15
15
|
import tinybird.tb.modules.deployment
|
|
16
|
+
import tinybird.tb.modules.deprecations
|
|
16
17
|
import tinybird.tb.modules.endpoint
|
|
17
18
|
import tinybird.tb.modules.infra
|
|
18
19
|
import tinybird.tb.modules.job
|
|
@@ -28,7 +28,6 @@ from tinybird.tb.modules.create import (
|
|
|
28
28
|
generate_gcs_connection_file_with_secrets,
|
|
29
29
|
)
|
|
30
30
|
from tinybird.tb.modules.feedback_manager import FeedbackManager
|
|
31
|
-
from tinybird.tb.modules.local_common import get_tinybird_local_client
|
|
32
31
|
from tinybird.tb.modules.project import Project
|
|
33
32
|
|
|
34
33
|
DATA_CONNECTOR_SETTINGS: Dict[DataConnectorType, List[str]] = {
|
|
@@ -157,7 +156,6 @@ async def connection_create_s3(ctx: Context) -> None:
|
|
|
157
156
|
project: Project = ctx.ensure_object(dict)["project"]
|
|
158
157
|
obj: Dict[str, Any] = ctx.ensure_object(dict)
|
|
159
158
|
client: TinyB = obj["client"]
|
|
160
|
-
build_client = await get_tinybird_local_client(obj["config"], True)
|
|
161
159
|
|
|
162
160
|
if obj["env"] == "local" and not await client.check_aws_credentials():
|
|
163
161
|
click.echo(
|
|
@@ -180,7 +178,6 @@ async def connection_create_s3(ctx: Context) -> None:
|
|
|
180
178
|
unique_suffix = uuid.uuid4().hex[:8] # Use first 8 chars of a UUID for brevity
|
|
181
179
|
secret_name = f"s3_role_arn_{connection_name}_{unique_suffix}"
|
|
182
180
|
await client.create_secret(name=secret_name, value=role_arn)
|
|
183
|
-
await build_client.create_secret(name=secret_name, value=role_arn)
|
|
184
181
|
|
|
185
182
|
create_in_cloud = (
|
|
186
183
|
click.confirm(FeedbackManager.prompt_connection_in_cloud_confirmation(), default=True)
|
|
@@ -236,7 +233,6 @@ async def connection_create_gcs(ctx: Context) -> None:
|
|
|
236
233
|
project: Project = ctx.ensure_object(dict)["project"]
|
|
237
234
|
obj: Dict[str, Any] = ctx.ensure_object(dict)
|
|
238
235
|
client: TinyB = obj["client"]
|
|
239
|
-
build_client = await get_tinybird_local_client(obj["config"], True)
|
|
240
236
|
|
|
241
237
|
service = DataConnectorType.GCLOUD_STORAGE
|
|
242
238
|
click.echo(FeedbackManager.prompt_gcs_connection_header())
|
|
@@ -246,7 +242,6 @@ async def connection_create_gcs(ctx: Context) -> None:
|
|
|
246
242
|
unique_suffix = uuid.uuid4().hex[:8] # Use first 8 chars of a UUID for brevity
|
|
247
243
|
secret_name = f"gcs_svc_account_creds_{connection_name}_{unique_suffix}"
|
|
248
244
|
await client.create_secret(name=secret_name, value=creds_json)
|
|
249
|
-
await build_client.create_secret(name=secret_name, value=creds_json)
|
|
250
245
|
|
|
251
246
|
connection_path = await generate_gcs_connection_file_with_secrets(
|
|
252
247
|
name=connection_name,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import click
|
|
2
|
+
|
|
3
|
+
from tinybird.tb.modules.cli import cli
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
@cli.command(
|
|
7
|
+
name="push",
|
|
8
|
+
context_settings=dict(
|
|
9
|
+
ignore_unknown_options=True,
|
|
10
|
+
),
|
|
11
|
+
)
|
|
12
|
+
@click.argument("args", nargs=-1, type=click.UNPROCESSED)
|
|
13
|
+
def push(args) -> None:
|
|
14
|
+
"""
|
|
15
|
+
`tb push` is deprecated. Use `tb deploy` instead.
|
|
16
|
+
"""
|
|
17
|
+
click.echo(
|
|
18
|
+
"You are using Tinybird Forward CLI. This command is deprecated. Use `tb deploy` instead. "
|
|
19
|
+
"You can find more information in the docs at https://www.tinybird.co/docs/forward"
|
|
20
|
+
)
|
|
@@ -12,8 +12,8 @@ tinybird/syncasync.py,sha256=IPnOx6lMbf9SNddN1eBtssg8vCLHMt76SuZ6YNYm-Yk,27761
|
|
|
12
12
|
tinybird/tornado_template.py,sha256=jjNVDMnkYFWXflmT8KU_Ssbo5vR8KQq3EJMk5vYgXRw,41959
|
|
13
13
|
tinybird/ch_utils/constants.py,sha256=aYvg2C_WxYWsnqPdZB1ZFoIr8ZY-XjUXYyHKE9Ansj0,3890
|
|
14
14
|
tinybird/ch_utils/engine.py,sha256=BZuPM7MFS7vaEKK5tOMR2bwSAgJudPrJt27uVEwZmTY,40512
|
|
15
|
-
tinybird/tb/__cli__.py,sha256=
|
|
16
|
-
tinybird/tb/cli.py,sha256=
|
|
15
|
+
tinybird/tb/__cli__.py,sha256=ca_E2br4_GaxuhT-XfoJYkuzUd-v6Z8yRK7watCF2hE,252
|
|
16
|
+
tinybird/tb/cli.py,sha256=6X7pMjscB1yDsnzBaZBnF4pCBJ7tZgCC500CtPEP-qQ,1106
|
|
17
17
|
tinybird/tb/client.py,sha256=aaPKq5C77e72kR7IMv9WrvnvNki8mKMOTi9EsCp0eUc,55962
|
|
18
18
|
tinybird/tb/config.py,sha256=HLMHbJg6BjeGZ2KiJA-BCCVnk8w959xsSaDEEePakZg,3981
|
|
19
19
|
tinybird/tb/modules/auth.py,sha256=_OeYnmTH83lnqCgQEdS6K0bx1KBUeRmZk2M7JnRmWpk,9037
|
|
@@ -22,11 +22,12 @@ tinybird/tb/modules/cicd.py,sha256=Ug7LijuHDIqKR6rm8OLZispWp75Zv6TyonAme8K9jaI,7
|
|
|
22
22
|
tinybird/tb/modules/cli.py,sha256=qz12sIfTYbFVIADJGyb1HXrHP4S7KudVSv7YKP0pPzw,13052
|
|
23
23
|
tinybird/tb/modules/common.py,sha256=jThkqkIJ_blXXUZ2-3HdjG1dpLKOCE_TjXA0jSesIx0,85712
|
|
24
24
|
tinybird/tb/modules/config.py,sha256=ziqW_t_mRVvWOd85VoB4vKyvgMkEfpXDf9H4v38p2xc,11422
|
|
25
|
-
tinybird/tb/modules/connection.py,sha256=
|
|
25
|
+
tinybird/tb/modules/connection.py,sha256=7oOR7x4PhBcm1ETFFCH2YJ_3oeGXjAbmx1cnZX9_L70,9014
|
|
26
26
|
tinybird/tb/modules/copy.py,sha256=2Mm4FWKehOG7CoOhiF1m9UZJgJn0W1_cMolqju8ONYg,5805
|
|
27
27
|
tinybird/tb/modules/create.py,sha256=VMX8b5ukgQm0VDUbBX91TsIsxqQid2UXRwlKekQp3M4,16792
|
|
28
28
|
tinybird/tb/modules/datasource.py,sha256=V314rkpdVxVMjsp5qcSCTqDlmp4Vu--qM07BoWh-aqs,17783
|
|
29
29
|
tinybird/tb/modules/deployment.py,sha256=M3NPFQXIEsDh9-J-pzPLuHF9k4SIZVvgUnHp05KOf-E,20448
|
|
30
|
+
tinybird/tb/modules/deprecations.py,sha256=gBbg7cvad85u_lKDURZTZjRdFMoM0UDolJ_6zR1BXtQ,526
|
|
30
31
|
tinybird/tb/modules/endpoint.py,sha256=XySDt3pk66vxOZ0egUfz4bY8bEk3BjOXkv-L0OIJ3sc,12083
|
|
31
32
|
tinybird/tb/modules/exceptions.py,sha256=5jK91w1LPmtqIUfDpHe_Op5OxGz8-p1BPgtLREMIni0,5217
|
|
32
33
|
tinybird/tb/modules/feedback_manager.py,sha256=YrKz1qHLmCKYVNvW2SDobmI6ozMjf2eZL-AnFowSfm8,77664
|
|
@@ -78,8 +79,8 @@ tinybird/tb_cli_modules/config.py,sha256=IsgdtFRnUrkY8-Zo32lmk6O7u3bHie1QCxLwgp4
|
|
|
78
79
|
tinybird/tb_cli_modules/exceptions.py,sha256=pmucP4kTF4irIt7dXiG-FcnI-o3mvDusPmch1L8RCWk,3367
|
|
79
80
|
tinybird/tb_cli_modules/regions.py,sha256=QjsL5H6Kg-qr0aYVLrvb1STeJ5Sx_sjvbOYO0LrEGMk,166
|
|
80
81
|
tinybird/tb_cli_modules/telemetry.py,sha256=Hh2Io8ZPROSunbOLuMvuIFU4TqwWPmQTqal4WS09K1A,10449
|
|
81
|
-
tinybird-0.0.1.
|
|
82
|
-
tinybird-0.0.1.
|
|
83
|
-
tinybird-0.0.1.
|
|
84
|
-
tinybird-0.0.1.
|
|
85
|
-
tinybird-0.0.1.
|
|
82
|
+
tinybird-0.0.1.dev140.dist-info/METADATA,sha256=uI3BQRF3MVPNyMo39wVfQl5jVgZd5s1bIRpqoy3dScw,1612
|
|
83
|
+
tinybird-0.0.1.dev140.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
84
|
+
tinybird-0.0.1.dev140.dist-info/entry_points.txt,sha256=LwdHU6TfKx4Qs7BqqtaczEZbImgU7Abe9Lp920zb_fo,43
|
|
85
|
+
tinybird-0.0.1.dev140.dist-info/top_level.txt,sha256=VqqqEmkAy7UNaD8-V51FCoMMWXjLUlR0IstvK7tJYVY,54
|
|
86
|
+
tinybird-0.0.1.dev140.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|