tinybird-cli 5.0.1.dev1__py3-none-any.whl → 5.0.1.dev2__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.
tinybird/__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__ = '5.0.1.dev1'
8
- __revision__ = '3d0cfe4'
7
+ __version__ = '5.0.1.dev2'
8
+ __revision__ = '5673edf'
tinybird/datafile.py CHANGED
@@ -3070,6 +3070,10 @@ async def new_ds(
3070
3070
  click.echo(FeedbackManager.info_datasource_doesnt_match(datasource=ds_name))
3071
3071
  for operation in alter_response["operations"]:
3072
3072
  click.echo(f"** - {operation}")
3073
+ if alter_response["operations"] and alter_response.get("dependencies", []):
3074
+ click.echo(FeedbackManager.info_datasource_alter_dependent_pipes())
3075
+ for dependency in alter_response.get("dependencies", []):
3076
+ click.echo(f"** - {dependency}")
3073
3077
 
3074
3078
  if skip_confirmation:
3075
3079
  make_changes = True
@@ -679,6 +679,9 @@ Ready? """
679
679
  info_starting_export_process = info_message("** \N{Chicken} starting export process from {connector}")
680
680
  info_ask_for_datasource_confirmation = info_message("** Please type the Data Source name to be replaced")
681
681
  info_datasource_doesnt_match = info_message("** The description or schema of '{datasource}' has changed.")
682
+ info_datasource_alter_dependent_pipes = info_message(
683
+ "** Please review the list of dependent pipes that could be affected by these changes:"
684
+ )
682
685
  info_custom_deployment = info_message(
683
686
  "** 🚨 Warning 🚨: The changes in the branch require the `--yes` flag to the `tb deploy` command to overwrite resources. Run `tb release generate --semver <semver> to generate a custom deployment and include the `--yes` flag. Read more about custom deployments => https://www.tinybird.co/docs/production/deployment-strategies.html#customizing-deployments"
684
687
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tinybird-cli
3
- Version: 5.0.1.dev1
3
+ Version: 5.0.1.dev2
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://www.tinybird.co/docs/cli/introduction.html
6
6
  Author: Tinybird
@@ -51,6 +51,11 @@ The Tinybird command-line tool allows you to use all the Tinybird functionality
51
51
  Changelog
52
52
  ----------
53
53
 
54
+ 5.0.1.dev2
55
+ ************
56
+
57
+ - `Added` improve checks for dependencies in pipes when altering data sources
58
+
54
59
  5.1.0.dev1
55
60
  ***********
56
61
 
@@ -1,12 +1,12 @@
1
- tinybird/__cli__.py,sha256=lQFZQ0-GjxKWJ9rPDw7OF2U1-2O-J_5qN5_rduUgPO8,254
1
+ tinybird/__cli__.py,sha256=cgN-w6rLwRS2InXLPXd4y1z_qmU4i4i7hf7o_ataISg,254
2
2
  tinybird/check_pypi.py,sha256=_4NkharLyR_ELrAdit-ftqIWvOf7jZNPt3i76frlo9g,975
3
3
  tinybird/client.py,sha256=j-2KQUlxf4gJUjTVf4o6y8-aV0OSXlBWndPEb9Ny8aA,47851
4
4
  tinybird/config.py,sha256=E0jDwbFD1zhdijNhtF8fg6mqIyKbZ8xpNPP_3n2PFpE,2003
5
5
  tinybird/connectors.py,sha256=lkpVSUmSuViEZBa4QjTK7YmPHUop0a5UFoTrSmlVq6k,15244
6
6
  tinybird/context.py,sha256=3KwB9TL-nON6qX9Mm5uev4CkrgLwYyNDvdFfQmNc0Cc,1171
7
- tinybird/datafile.py,sha256=AKXzMNzZGy8DSG-y1j6S92Eh468C1AuGJnGO_ZvpidI,213339
7
+ tinybird/datafile.py,sha256=J4GPqEwfnsvUuVlPcaYMFc3zuG26vAB-zrJtLRZJNoc,213625
8
8
  tinybird/datatypes.py,sha256=adYOQBTyfeBGVINIlaRex_81gTQQuqF2M9VTQpzq1H0,7060
9
- tinybird/feedback_manager.py,sha256=Ija2UETSqqoL1Crk2CTA-qYtqi3-CGoqcPI9BPT3r60,61735
9
+ tinybird/feedback_manager.py,sha256=P51KgG06DmI7AJ_8cLaMXPvEBjEpEFNzf3IElOiAjws,61895
10
10
  tinybird/git_settings.py,sha256=vu8sWb3TAXeM8Tqy27aR0el8MnPm7kqQzTRV76xB0ro,4707
11
11
  tinybird/sql.py,sha256=hUnpfmkRkdyZV2ylIYflzxnwyv5Es7fLEv6cBc39OJA,41589
12
12
  tinybird/sql_template.py,sha256=l0gvmNSmel9viKIGcjaQzhc3pUayZMC9-pEu-enl2z4,82839
@@ -36,8 +36,8 @@ tinybird/tb_cli_modules/workspace.py,sha256=DTIQ1-H5Kazz1CtRwqMeYAtyQ_BQtaLXfcHn
36
36
  tinybird/tb_cli_modules/workspace_members.py,sha256=0nkaQJJdR_6rLnTeoK0eBkiDFnm4v7Z2oFGovY-jYMY,8446
37
37
  tinybird/tb_cli_modules/tinyunit/tinyunit.py,sha256=0dYYmZMMJVubxSPls2e_a-fqtUYvgLfu2B0xwLfkbHw,11667
38
38
  tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py,sha256=j92za8QbXrv4eIPjKBZPn9ghR-nYQ2wZZ88MeXyMWXE,1868
39
- tinybird_cli-5.0.1.dev1.dist-info/METADATA,sha256=-dGfdC0UXH4ZmdLZ744DhsmrrvRC2JDntJzuxo9snnA,73503
40
- tinybird_cli-5.0.1.dev1.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
41
- tinybird_cli-5.0.1.dev1.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
42
- tinybird_cli-5.0.1.dev1.dist-info/top_level.txt,sha256=pgw6AzERHBcW3YTi2PW4arjxLkulk2msOz_SomfOEuc,45
43
- tinybird_cli-5.0.1.dev1.dist-info/RECORD,,
39
+ tinybird_cli-5.0.1.dev2.dist-info/METADATA,sha256=AVSWJ_xokzSvQjzTyohCGz4sQTiLlTX9qbd7LunSPrI,73607
40
+ tinybird_cli-5.0.1.dev2.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
41
+ tinybird_cli-5.0.1.dev2.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
42
+ tinybird_cli-5.0.1.dev2.dist-info/top_level.txt,sha256=pgw6AzERHBcW3YTi2PW4arjxLkulk2msOz_SomfOEuc,45
43
+ tinybird_cli-5.0.1.dev2.dist-info/RECORD,,