tinybird 0.0.1.dev58__py3-none-any.whl → 0.0.1.dev59__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/cli/introduction.html'
5
5
  __author__ = 'Tinybird'
6
6
  __author_email__ = 'support@tinybird.co'
7
- __version__ = '0.0.1.dev58'
8
- __revision__ = '35a8d6e'
7
+ __version__ = '0.0.1.dev59'
8
+ __revision__ = 'ba88b07'
@@ -4,7 +4,7 @@ import sys
4
4
  import time
5
5
  from datetime import datetime
6
6
  from pathlib import Path
7
- from typing import Optional
7
+ from typing import Optional, Union
8
8
 
9
9
  import click
10
10
  import requests
@@ -374,24 +374,24 @@ def create_deployment(ctx: click.Context, wait: bool, auto: bool, check: Optiona
374
374
  def print_changes(result: dict, project: Project) -> None:
375
375
  deployment = result.get("deployment", {})
376
376
  columns = ["status", "name", "path"]
377
- resources: list[list[str]] = []
377
+ resources: list[list[Union[str, None]]] = []
378
378
 
379
- for ds in deployment.get("new_datasources", []):
379
+ for ds in deployment.get("new_datasource_names", []):
380
380
  resources.append(["new", ds, project.get_resource_path(ds, "datasource")])
381
381
 
382
- for p in deployment.get("new_pipes", []):
382
+ for p in deployment.get("new_pipe_names", []):
383
383
  resources.append(["new", p, project.get_resource_path(p, "pipe")])
384
384
 
385
- for ds in deployment.get("changed_datasources", []):
385
+ for ds in deployment.get("changed_datasource_names", []):
386
386
  resources.append(["modified", ds, project.get_resource_path(ds, "datasource")])
387
387
 
388
- for p in deployment.get("changed_pipes", []):
388
+ for p in deployment.get("changed_pipe_names", []):
389
389
  resources.append(["modified", p, project.get_resource_path(p, "pipe")])
390
390
 
391
- for ds in deployment.get("deleted_datasources", []):
391
+ for ds in deployment.get("deleted_datasource_names", []):
392
392
  resources.append(["deleted", ds, project.get_resource_path(ds, "datasource")])
393
393
 
394
- for p in deployment.get("deleted_pipes", []):
394
+ for p in deployment.get("deleted_pipe_names", []):
395
395
  resources.append(["deleted", p, project.get_resource_path(p, "pipe")])
396
396
 
397
397
  echo_safe_humanfriendly_tables_format_smart_table(resources, column_names=columns)
@@ -36,7 +36,7 @@ class Project:
36
36
  full_path = next((p for p in self.get_project_files() if p.endswith(resource_name + f".{resource_type}")), "")
37
37
  if not full_path:
38
38
  return None
39
- return Path(full_path).relative_to(self.path)
39
+ return Path(full_path).relative_to(self.path).as_posix()
40
40
 
41
41
  def get_vendor_files(self) -> List[str]:
42
42
  vendor_files: List[str] = []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tinybird
3
- Version: 0.0.1.dev58
3
+ Version: 0.0.1.dev59
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://www.tinybird.co/docs/cli/introduction.html
6
6
  Author: Tinybird
@@ -15,7 +15,7 @@ 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=f09o13QQDY2Pj7smWnh8n7PMuNysVA0jsqxd9HDtDa4,251
18
+ tinybird/tb/__cli__.py,sha256=EDLw9kmNQZRJ7nm-Xm8E1sylwa5kbY0yIaPNaYsA3WA,251
19
19
  tinybird/tb/cli.py,sha256=FD1pfbzu9YHJHEG6Vtn_EwPLTYhwqw-I6AxXeTaRHU8,926
20
20
  tinybird/tb/modules/auth.py,sha256=EzRWFmwRkXNhUmRaruEVFLdkbUg8xMSix0cAWl5D4Jg,9029
21
21
  tinybird/tb/modules/build.py,sha256=92hGgYKg_MOPOjscj677mCGkv6E9H0s8XqD3oBaiaLc,8525
@@ -26,7 +26,7 @@ tinybird/tb/modules/config.py,sha256=mie3oMVTf5YOUFEiLs88P16U4LkJafJjSpjwyAkFHog
26
26
  tinybird/tb/modules/copy.py,sha256=Aq6wh_wjRiyLQtEOKF9pKLPgJhSvbGTFWIw_LJB0t0U,5801
27
27
  tinybird/tb/modules/create.py,sha256=We8hffR9x5xSrdCmEk0tfqc_0ddys61gw_J136ZpA3E,14097
28
28
  tinybird/tb/modules/datasource.py,sha256=TQ4wSag3CCw34d54FEXPJFGLQNYyNqv2nQbU6QT9uAE,14725
29
- tinybird/tb/modules/deployment.py,sha256=S3-1MQl8PXpZPZVVIVD_Bhm2rUcPOeDSJjuh_NsWWI4,14194
29
+ tinybird/tb/modules/deployment.py,sha256=sbKyjt1PPk43VLDb1DffMs2TLSlpiPbVAMGcW4q8tr0,14244
30
30
  tinybird/tb/modules/endpoint.py,sha256=9arqN1JQCMb0Nd3-EJ7lukOYkGHHCpQmiiZpp5FqPhc,9432
31
31
  tinybird/tb/modules/exceptions.py,sha256=4A2sSjCEqKUMqpP3WI00zouCWW4uLaghXXLZBSw04mY,3363
32
32
  tinybird/tb/modules/feedback_manager.py,sha256=mrw5tdYycfvg6WLXlM0KIjfJardm_aNpnJkUg2vH0cA,68463
@@ -40,7 +40,7 @@ tinybird/tb/modules/login.py,sha256=EGxwVRmMX1Y7ZeCRyA8fqaCWpYYk7NvnZ3x_1g0NlYA,
40
40
  tinybird/tb/modules/materialization.py,sha256=HQKRTH6lkcYiDQJihbFqF_in58ezXG4ggZ_7Ywp_nUM,5738
41
41
  tinybird/tb/modules/mock.py,sha256=m4RnskeN_EjR25mC9lT0L61Vrn5ldtNS-ghyVjB5RG8,5112
42
42
  tinybird/tb/modules/pipe.py,sha256=pH2KwgH6Xbvl3kT8vMelpKvT6bcyB4EKFDvGfOsxXbg,2418
43
- tinybird/tb/modules/project.py,sha256=suCwyqoUeqUKc4Vr_W5kJz1jIgdPRxn-twWRCnSFemQ,2934
43
+ tinybird/tb/modules/project.py,sha256=RkejMzY6OLWlJMckziZiZFJLnjFxSeQjagklXAYCzoQ,2945
44
44
  tinybird/tb/modules/regions.py,sha256=QjsL5H6Kg-qr0aYVLrvb1STeJ5Sx_sjvbOYO0LrEGMk,166
45
45
  tinybird/tb/modules/shell.py,sha256=LShGXwP_kzYAOUiTcvHMmcDugVr0crIfdNb5En6cfxo,14604
46
46
  tinybird/tb/modules/table.py,sha256=4XrtjM-N0zfNtxVkbvLDQQazno1EPXnxTyo7llivfXk,11035
@@ -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.dev58.dist-info/METADATA,sha256=1todhQuvRkFssMxrJfLtHItyfjAcZgZXmHNTYud51EI,2482
78
- tinybird-0.0.1.dev58.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
79
- tinybird-0.0.1.dev58.dist-info/entry_points.txt,sha256=LwdHU6TfKx4Qs7BqqtaczEZbImgU7Abe9Lp920zb_fo,43
80
- tinybird-0.0.1.dev58.dist-info/top_level.txt,sha256=VqqqEmkAy7UNaD8-V51FCoMMWXjLUlR0IstvK7tJYVY,54
81
- tinybird-0.0.1.dev58.dist-info/RECORD,,
77
+ tinybird-0.0.1.dev59.dist-info/METADATA,sha256=628jqWml58nuSpGAv4N7de6Zci_gidHbC0nidwIIUiI,2482
78
+ tinybird-0.0.1.dev59.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
79
+ tinybird-0.0.1.dev59.dist-info/entry_points.txt,sha256=LwdHU6TfKx4Qs7BqqtaczEZbImgU7Abe9Lp920zb_fo,43
80
+ tinybird-0.0.1.dev59.dist-info/top_level.txt,sha256=VqqqEmkAy7UNaD8-V51FCoMMWXjLUlR0IstvK7tJYVY,54
81
+ tinybird-0.0.1.dev59.dist-info/RECORD,,