tinybird 0.0.1.dev201__py3-none-any.whl → 0.0.1.dev202__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 CHANGED
@@ -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.dev201'
8
- __revision__ = '8d22235'
7
+ __version__ = '0.0.1.dev202'
8
+ __revision__ = '63a6016'
@@ -187,7 +187,7 @@ async def connection_create_s3(ctx: Context) -> None:
187
187
  )
188
188
  unique_suffix = uuid.uuid4().hex[:8] # Use first 8 chars of a UUID for brevity
189
189
  secret_name = f"s3_role_arn_{connection_name}_{unique_suffix}"
190
- await client.create_secret(name=secret_name, value=role_arn)
190
+ save_secret_to_env_file(project=project, name=secret_name, value=role_arn)
191
191
 
192
192
  create_in_cloud = (
193
193
  click.confirm(FeedbackManager.prompt_connection_in_cloud_confirmation(), default=True)
@@ -242,7 +242,6 @@ async def connection_create_gcs(ctx: Context) -> None:
242
242
  """
243
243
  project: Project = ctx.ensure_object(dict)["project"]
244
244
  obj: Dict[str, Any] = ctx.ensure_object(dict)
245
- client: TinyB = obj["client"]
246
245
 
247
246
  service = DataConnectorType.GCLOUD_STORAGE
248
247
  click.echo(FeedbackManager.prompt_gcs_connection_header())
@@ -251,7 +250,7 @@ async def connection_create_gcs(ctx: Context) -> None:
251
250
  creds_json = get_gcs_svc_account_creds()
252
251
  unique_suffix = uuid.uuid4().hex[:8] # Use first 8 chars of a UUID for brevity
253
252
  secret_name = f"gcs_svc_account_creds_{connection_name}_{unique_suffix}"
254
- await client.create_secret(name=secret_name, value=creds_json)
253
+ save_secret_to_env_file(project=project, name=secret_name, value=creds_json)
255
254
 
256
255
  connection_path = await generate_gcs_connection_file_with_secrets(
257
256
  name=connection_name,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: tinybird
3
- Version: 0.0.1.dev201
3
+ Version: 0.0.1.dev202
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://www.tinybird.co/docs/forward/commands
6
6
  Author: Tinybird
@@ -12,7 +12,7 @@ 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=X4tE9OrfaUy6kO9cqVEzyI9cDcmOF3IAssRRzsTsfEQ,40781
15
- tinybird/tb/__cli__.py,sha256=QzXsIBDUzyBxF8NSse739XY7vXXrMJajH06eRENwL3k,247
15
+ tinybird/tb/__cli__.py,sha256=RoHTMy_eFgLfOsfLrQ7GJrLxsOdAManctqTsut70TNI,247
16
16
  tinybird/tb/check_pypi.py,sha256=rW4QmDRbtgKdUUwJCnBkVjmTjZSZGN-XgZhx7vMkC0w,1009
17
17
  tinybird/tb/cli.py,sha256=u3eGOhX0MHkuT6tiwaZ0_3twqLmqKXDAOxF7yV_Nn9Q,1075
18
18
  tinybird/tb/client.py,sha256=CO-dQw8h28X6T6IO-Z79yPBKaJQT1Rwya5b6gexvw58,56491
@@ -22,7 +22,7 @@ tinybird/tb/modules/cicd.py,sha256=Njb6eZOHHbUkoJJx6KoixO9PsfA_T-3Ybkya9-50Ca8,7
22
22
  tinybird/tb/modules/cli.py,sha256=qmD1tNoPXxpDuTD_Vu4YIR9egc3m1eS0NIhaQzacOYo,15605
23
23
  tinybird/tb/modules/common.py,sha256=R675BLZTnPlCoPphCTcy3S1lsf1MF_H3U_ox9yPNCqg,84187
24
24
  tinybird/tb/modules/config.py,sha256=ziqW_t_mRVvWOd85VoB4vKyvgMkEfpXDf9H4v38p2xc,11422
25
- tinybird/tb/modules/connection.py,sha256=p585QPjhMpLeRpgFW8mP1Xvw2mUE7ypn37zxkfcRdAA,17797
25
+ tinybird/tb/modules/connection.py,sha256=FJZHTAR6sf5VbPIotxbyMgO-6UCCbnsKj6I0EjeCa-g,17791
26
26
  tinybird/tb/modules/copy.py,sha256=2Mm4FWKehOG7CoOhiF1m9UZJgJn0W1_cMolqju8ONYg,5805
27
27
  tinybird/tb/modules/create.py,sha256=sncG6iaeS_AApY1EmmfYEdj9B6-1CPZJzvTmfJQj_Rc,22112
28
28
  tinybird/tb/modules/datasource.py,sha256=qbASM0g49JK8LCFy12g18DdAPOJ-mdfWCCfg8Fhu-ME,38450
@@ -80,8 +80,8 @@ tinybird/tb_cli_modules/config.py,sha256=IsgdtFRnUrkY8-Zo32lmk6O7u3bHie1QCxLwgp4
80
80
  tinybird/tb_cli_modules/exceptions.py,sha256=pmucP4kTF4irIt7dXiG-FcnI-o3mvDusPmch1L8RCWk,3367
81
81
  tinybird/tb_cli_modules/regions.py,sha256=QjsL5H6Kg-qr0aYVLrvb1STeJ5Sx_sjvbOYO0LrEGMk,166
82
82
  tinybird/tb_cli_modules/telemetry.py,sha256=Hh2Io8ZPROSunbOLuMvuIFU4TqwWPmQTqal4WS09K1A,10449
83
- tinybird-0.0.1.dev201.dist-info/METADATA,sha256=HhvMItwC-QhVJ_z_1fLJQgiiK3f8q6zAWzxDi3JUpu8,1682
84
- tinybird-0.0.1.dev201.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
85
- tinybird-0.0.1.dev201.dist-info/entry_points.txt,sha256=LwdHU6TfKx4Qs7BqqtaczEZbImgU7Abe9Lp920zb_fo,43
86
- tinybird-0.0.1.dev201.dist-info/top_level.txt,sha256=VqqqEmkAy7UNaD8-V51FCoMMWXjLUlR0IstvK7tJYVY,54
87
- tinybird-0.0.1.dev201.dist-info/RECORD,,
83
+ tinybird-0.0.1.dev202.dist-info/METADATA,sha256=tzzM6EJY5C0LWX2EB8Fqub-xCt0FWuNl2aLkJlXTfms,1682
84
+ tinybird-0.0.1.dev202.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
85
+ tinybird-0.0.1.dev202.dist-info/entry_points.txt,sha256=LwdHU6TfKx4Qs7BqqtaczEZbImgU7Abe9Lp920zb_fo,43
86
+ tinybird-0.0.1.dev202.dist-info/top_level.txt,sha256=VqqqEmkAy7UNaD8-V51FCoMMWXjLUlR0IstvK7tJYVY,54
87
+ tinybird-0.0.1.dev202.dist-info/RECORD,,