tinybird 4.4.1.dev0__tar.gz → 4.4.2.dev0__tar.gz

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.
Files changed (126) hide show
  1. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/PKG-INFO +6 -1
  2. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/config.py +6 -3
  3. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/__cli__.py +2 -2
  4. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/config.py +6 -2
  5. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/branch.py +6 -6
  6. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/cli.py +10 -5
  7. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/common.py +26 -8
  8. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/connection.py +3 -3
  9. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/connection_s3.py +2 -2
  10. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/datafile/build.py +4 -2
  11. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/datafile/build_datasource.py +2 -2
  12. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/datafile/playground.py +4 -2
  13. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/datasource.py +16 -12
  14. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/deprecations.py +12 -8
  15. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/feedback_manager.py +52 -33
  16. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/info.py +4 -4
  17. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/local.py +8 -4
  18. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/local_common.py +20 -16
  19. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/login_common.py +2 -2
  20. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/open.py +2 -2
  21. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/preview.py +2 -2
  22. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/workspace.py +10 -6
  23. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/workspace_members.py +4 -4
  24. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/auth.py +1 -1
  25. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/branch.py +8 -8
  26. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/cli.py +10 -10
  27. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/common.py +11 -11
  28. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/datasource.py +4 -4
  29. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/workspace.py +2 -2
  30. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird.egg-info/PKG-INFO +6 -1
  31. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/setup.cfg +0 -0
  32. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/__cli__.py +0 -0
  33. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/ch_utils/constants.py +0 -0
  34. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/ch_utils/engine.py +0 -0
  35. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/check_pypi.py +0 -0
  36. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/client.py +0 -0
  37. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/context.py +0 -0
  38. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/datafile/common.py +0 -0
  39. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/datafile/exceptions.py +0 -0
  40. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/datafile/parse_connection.py +0 -0
  41. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/datafile/parse_datasource.py +0 -0
  42. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/datafile/parse_pipe.py +0 -0
  43. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/datatypes.py +0 -0
  44. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/feedback_manager.py +0 -0
  45. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/git_settings.py +0 -0
  46. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/prompts.py +0 -0
  47. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/service_datasources.py +0 -0
  48. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/sql.py +0 -0
  49. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/sql_template.py +0 -0
  50. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/sql_template_fmt.py +0 -0
  51. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/sql_toolset.py +0 -0
  52. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/syncasync.py +0 -0
  53. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/check_pypi.py +0 -0
  54. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/cli.py +0 -0
  55. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/client.py +0 -0
  56. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/build.py +0 -0
  57. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/build_common.py +0 -0
  58. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/cicd.py +0 -0
  59. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/config.py +0 -0
  60. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/connection_kafka.py +0 -0
  61. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/copy.py +0 -0
  62. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/create.py +0 -0
  63. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/datafile/build_common.py +0 -0
  64. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/datafile/build_pipe.py +0 -0
  65. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/datafile/diff.py +0 -0
  66. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/datafile/fixture.py +0 -0
  67. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/datafile/format_common.py +0 -0
  68. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/datafile/format_connection.py +0 -0
  69. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/datafile/format_datasource.py +0 -0
  70. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/datafile/format_pipe.py +0 -0
  71. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/datafile/pipe_checker.py +0 -0
  72. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/datafile/pull.py +0 -0
  73. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/deployment.py +0 -0
  74. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/deployment_common.py +0 -0
  75. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/endpoint.py +0 -0
  76. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/exceptions.py +0 -0
  77. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/fmt.py +0 -0
  78. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/infra.py +0 -0
  79. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/job.py +0 -0
  80. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/job_common.py +0 -0
  81. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/llm.py +0 -0
  82. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/llm_utils.py +0 -0
  83. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/local_logs.py +0 -0
  84. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/login.py +0 -0
  85. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/logout.py +0 -0
  86. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/logs.py +0 -0
  87. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/materialization.py +0 -0
  88. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/pipe.py +0 -0
  89. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/project.py +0 -0
  90. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/project_commands.py +0 -0
  91. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/py_project.py +0 -0
  92. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/query_output.py +0 -0
  93. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/regions.py +0 -0
  94. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/secret.py +0 -0
  95. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/secret_common.py +0 -0
  96. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/sink.py +0 -0
  97. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/table.py +0 -0
  98. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/telemetry.py +0 -0
  99. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/test.py +0 -0
  100. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/test_common.py +0 -0
  101. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/tinyunit/tinyunit.py +0 -0
  102. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/tinyunit/tinyunit_lib.py +0 -0
  103. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/token.py +0 -0
  104. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/ts_project.py +0 -0
  105. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb/modules/watch.py +0 -0
  106. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli.py +0 -0
  107. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/cicd.py +0 -0
  108. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/config.py +0 -0
  109. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/connection.py +0 -0
  110. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/exceptions.py +0 -0
  111. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/fmt.py +0 -0
  112. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/job.py +0 -0
  113. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/pipe.py +0 -0
  114. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/regions.py +0 -0
  115. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/tag.py +0 -0
  116. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/telemetry.py +0 -0
  117. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/test.py +0 -0
  118. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/tinyunit/tinyunit.py +0 -0
  119. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py +0 -0
  120. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tb_cli_modules/workspace_members.py +0 -0
  121. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird/tornado_template.py +0 -0
  122. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird.egg-info/SOURCES.txt +0 -0
  123. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird.egg-info/dependency_links.txt +0 -0
  124. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird.egg-info/entry_points.txt +0 -0
  125. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird.egg-info/requires.txt +0 -0
  126. {tinybird-4.4.1.dev0 → tinybird-4.4.2.dev0}/tinybird.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: tinybird
3
- Version: 4.4.1.dev0
3
+ Version: 4.4.2.dev0
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://www.tinybird.co/docs/forward/commands
6
6
  Author: Tinybird
@@ -52,6 +52,11 @@ The Tinybird command-line tool allows you to use all the Tinybird functionality
52
52
  Changelog
53
53
  ----------
54
54
 
55
+ 4.4.1
56
+ *******
57
+
58
+ - `Changed` CLI messages now show `uv run tinybird` for python-sdk projects and `npx tinybird` for ts-sdk projects instead of `tb`.
59
+
55
60
  4.4.0
56
61
  *******
57
62
 
@@ -30,7 +30,8 @@ LEGACY_HOSTS = {
30
30
  "https://api.eu-central-1.aws.tinybird.co": "https://app.tinybird.co/aws/eu-central-1",
31
31
  "https://api.eu-west-1.aws.tinybird.co": "https://app.tinybird.co/aws/eu-west-1",
32
32
  "https://api.europe-west2.gcp.tinybird.co": "https://cloud.tinybird.co/gcp/europe-west2",
33
- "https://api.ap-east.aws.tinybird.co": "https://app.tinybird.co/aws/ap-east",
33
+ "https://api.ap-east.aws.tinybird.co": "https://app.tinybird.co/aws/ap-east-1",
34
+ "https://api.ap-east-1.aws.tinybird.co": "https://app.tinybird.co/aws/ap-east-1",
34
35
  "https://api.northamerica-northeast2.gcp.tinybird.co": "https://app.tinybird.co/gcp/northamerica-northeast2",
35
36
  "https://api.wadus1.gcp.tinybird.co": "https://app.wadus.tinybird.co/gcp/wadus1",
36
37
  "https://api.wadus2.gcp.tinybird.co": "https://app.wadus.tinybird.co/gcp/wadus2",
@@ -47,7 +48,8 @@ LEGACY_HOSTS = {
47
48
  "https://ui.us-west-2.aws.tinybird.co": "https://app.tinybird.co/aws/us-west-2",
48
49
  "https://ui.eu-central-1.aws.tinybird.co": "https://app.tinybird.co/aws/eu-central-1",
49
50
  "https://ui.europe-west2.gcp.tinybird.co": "https://cloud.tinybird.co/gcp/europe-west2",
50
- "https://ui.ap-east.aws.tinybird.co": "https://app.tinybird.co/aws/ap-east",
51
+ "https://ui.ap-east.aws.tinybird.co": "https://app.tinybird.co/aws/ap-east-1",
52
+ "https://ui.ap-east-1.aws.tinybird.co": "https://app.tinybird.co/aws/ap-east-1",
51
53
  "https://ui.split.tinybird.co": "https://app.tinybird.co/aws/split-us-east",
52
54
  "https://ui.split.us-west-2.aws.tinybird.co": "https://app.tinybird.co/aws/split-us-west-2",
53
55
  "https://ui.northamerica-northeast2.gcp.tinybird.co": "https://app.tinybird.co/gcp/northamerica-northeast2",
@@ -74,7 +76,8 @@ CLOUD_HOSTS = {
74
76
  "https://api.eu-west-1.aws.tinybird.co": "https://cloud.tinybird.co/aws/eu-west-1",
75
77
  "https://api.europe-west2.gcp.tinybird.co": "https://cloud.tinybird.co/gcp/europe-west2",
76
78
  "https://api.northamerica-northeast2.gcp.tinybird.co": "https://cloud.tinybird.co/gcp/northamerica-northeast2",
77
- "https://api.ap-east.aws.tinybird.co": "https://cloud.tinybird.co/aws/ap-east",
79
+ "https://api.ap-east.aws.tinybird.co": "https://cloud.tinybird.co/aws/ap-east-1",
80
+ "https://api.ap-east-1.aws.tinybird.co": "https://cloud.tinybird.co/aws/ap-east-1",
78
81
  "https://ui.tinybird.co": "https://cloud.tinybird.co/gcp/europe-west3",
79
82
  "https://ui.us-east.tinybird.co": "https://cloud.tinybird.co/gcp/us-east4",
80
83
  "https://ui.us-east.aws.tinybird.co": "https://cloud.tinybird.co/aws/us-east-1",
@@ -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__ = '4.4.1.dev0'
8
- __revision__ = 'b610ec3'
7
+ __version__ = '4.4.2.dev0'
8
+ __revision__ = '5658fd7'
@@ -30,7 +30,9 @@ CLOUD_HOSTS = {
30
30
  "https://api.eu-central-1.aws.tinybird.co": "https://cloud.tinybird.co/aws/eu-central-1",
31
31
  "https://api.eu-west-1.aws.tinybird.co": "https://cloud.tinybird.co/aws/eu-west-1",
32
32
  "https://api.europe-west2.gcp.tinybird.co": "https://cloud.tinybird.co/gcp/europe-west2",
33
- "https://api.ap-east.aws.tinybird.co": "https://cloud.tinybird.co/aws/ap-east",
33
+ "https://api.ap-east.aws.tinybird.co": "https://cloud.tinybird.co/aws/ap-east-1",
34
+ "https://api.ap-east-1.aws.tinybird.co": "https://cloud.tinybird.co/aws/ap-east-1",
35
+ "https://api.ap-southeast-2.aws.tinybird.co": "https://cloud.tinybird.co/aws/ap-southeast-2",
34
36
  "https://ui.tinybird.co": "https://cloud.tinybird.co/gcp/europe-west3",
35
37
  "https://ui.us-east.tinybird.co": "https://cloud.tinybird.co/gcp/us-east4",
36
38
  "https://ui.us-east.aws.tinybird.co": "https://cloud.tinybird.co/aws/us-east-1",
@@ -47,7 +49,9 @@ CH_HOSTS = {
47
49
  "https://api.eu-central-1.aws.tinybird.co": "https://clickhouse.eu-central-1.aws.tinybird.co",
48
50
  "https://api.eu-west-1.aws.tinybird.co": "https://clickhouse.eu-west-1.aws.tinybird.co",
49
51
  "https://api.europe-west2.gcp.tinybird.co": "https://clickhouse.europe-west2.gcp.tinybird.co",
50
- "https://api.ap-east.aws.tinybird.co": "https://clickhouse.ap-east.aws.tinybird.co",
52
+ "https://api.ap-east.aws.tinybird.co": "https://clickhouse.ap-east-1.aws.tinybird.co",
53
+ "https://api.ap-east-1.aws.tinybird.co": "https://clickhouse.ap-east-1.aws.tinybird.co",
54
+ "https://api.ap-southeast-2.aws.tinybird.co": "https://clickhouse.ap-southeast-2.aws.tinybird.co",
51
55
  "https://ui.tinybird.co": "https://clickhouse.tinybird.co",
52
56
  "https://ui.us-east.tinybird.co": "https://clickhouse.us-east.tinybird.co",
53
57
  "https://ui.us-east.aws.tinybird.co": "https://clickhouse.us-east.aws.tinybird.co",
@@ -21,7 +21,7 @@ from tinybird.tb.modules.common import (
21
21
  )
22
22
  from tinybird.tb.modules.config import CLIConfig
23
23
  from tinybird.tb.modules.exceptions import CLIBranchException, CLIException
24
- from tinybird.tb.modules.feedback_manager import FeedbackManager
24
+ from tinybird.tb.modules.feedback_manager import FeedbackManager, get_cli_name
25
25
 
26
26
 
27
27
  @cli.group()
@@ -125,7 +125,7 @@ def delete_branch(branch_name_or_id: str, yes: bool) -> None:
125
125
  raise CLIBranchException(FeedbackManager.error_exception(error=str(e)))
126
126
 
127
127
  if not workspace_to_delete:
128
- raise CLIBranchException(FeedbackManager.error_branch(branch=branch_name_or_id))
128
+ raise CLIBranchException(FeedbackManager.error_branch(branch=branch_name_or_id, cli=get_cli_name()))
129
129
 
130
130
  if yes or click.confirm(FeedbackManager.warning_confirm_delete_branch(branch=workspace_to_delete["name"])):
131
131
  need_to_switch_to_main = workspace_to_delete.get("main") and config["id"] == workspace_to_delete["id"]
@@ -148,7 +148,7 @@ def delete_branch(branch_name_or_id: str, yes: bool) -> None:
148
148
  if workspace_main:
149
149
  switch_to_workspace_by_user_workspace_data(config, workspace_main)
150
150
  else:
151
- raise CLIException(FeedbackManager.error_switching_to_main())
151
+ raise CLIException(FeedbackManager.error_switching_to_main(cli=get_cli_name()))
152
152
 
153
153
 
154
154
  @branch.command(name="clear", short_help="Clear a branch by deleting and recreating it.")
@@ -208,10 +208,10 @@ def clear_branch(
208
208
  (workspace for workspace in workspace_branches if workspace["id"] == config["id"]), None
209
209
  )
210
210
  if not workspace_to_clear:
211
- raise CLIBranchException(FeedbackManager.error_not_a_branch())
211
+ raise CLIBranchException(FeedbackManager.error_not_a_branch(cli=get_cli_name()))
212
212
 
213
213
  if not workspace_to_clear:
214
- raise CLIBranchException(FeedbackManager.error_branch(branch=branch_name_or_id or ""))
214
+ raise CLIBranchException(FeedbackManager.error_branch(branch=branch_name_or_id or "", cli=get_cli_name()))
215
215
 
216
216
  branch_name = workspace_to_clear["name"]
217
217
  if yes or click.confirm(FeedbackManager.warning_confirm_clear_workspace()):
@@ -232,7 +232,7 @@ def clear_branch(
232
232
  (workspace for workspace in recreated_branches if workspace.get("name") == branch_name), None
233
233
  )
234
234
  if not recreated_branch:
235
- raise CLIBranchException(FeedbackManager.error_branch(branch=branch_name))
235
+ raise CLIBranchException(FeedbackManager.error_branch(branch=branch_name, cli=get_cli_name()))
236
236
 
237
237
  click.echo(FeedbackManager.success(message=f"✓ Branch '{branch_name}' cleared"))
238
238
  if was_current_branch:
@@ -43,7 +43,7 @@ from tinybird.tb.modules.config import CURRENT_VERSION, CLIConfig
43
43
  from tinybird.tb.modules.datafile.build import build_graph
44
44
  from tinybird.tb.modules.datafile.pull import folder_pull
45
45
  from tinybird.tb.modules.exceptions import CLIChException
46
- from tinybird.tb.modules.feedback_manager import FeedbackManager
46
+ from tinybird.tb.modules.feedback_manager import FeedbackManager, get_cli_name
47
47
  from tinybird.tb.modules.local_common import TB_LOCAL_HOST, TB_LOCAL_PORT, get_tinybird_local_client
48
48
  from tinybird.tb.modules.login_common import check_current_folder_in_sessions
49
49
  from tinybird.tb.modules.project import Project
@@ -68,6 +68,8 @@ PROJECT_TYPE_TYPESCRIPT = "ts-sdk"
68
68
  PROJECT_TYPE_PYTHON = "python-sdk"
69
69
  PROJECT_TYPE_CLI = "cli"
70
70
  PROJECT_TYPES = {PROJECT_TYPE_TYPESCRIPT, PROJECT_TYPE_PYTHON, PROJECT_TYPE_CLI}
71
+
72
+
71
73
  CLI_PROJECT_MARKERS = (
72
74
  "datasources",
73
75
  "pipes",
@@ -471,8 +473,8 @@ def resolve_dev_mode_target(
471
473
  raise CLIException(
472
474
  FeedbackManager.error(
473
475
  message=(
474
- "Cannot deploy to main workspace with 'tb build'. "
475
- "Use 'tb deploy' to deploy to production, or switch to a feature branch."
476
+ f"Cannot deploy to main workspace with '{get_cli_name()} build'. "
477
+ f"Use '{get_cli_name()} deploy' to deploy to production, or switch to a feature branch."
476
478
  )
477
479
  )
478
480
  )
@@ -565,12 +567,13 @@ def cli(
565
567
  click.echo(FeedbackManager.warning_development_cli())
566
568
 
567
569
  if "x.y.z" not in CURRENT_VERSION and latest_version != CURRENT_VERSION:
570
+ cli = get_cli_name(get_project_type_from_tinybird_config(os.getcwd()))
568
571
  click.echo(
569
572
  FeedbackManager.warning(message=f"** New version available. {CURRENT_VERSION} -> {latest_version}")
570
573
  )
571
574
  click.echo(
572
575
  FeedbackManager.warning(
573
- message="** Run `tb update` to update or `export TB_VERSION_WARNING=0` to skip the check.\n"
576
+ message=f"** Run `{cli} update` to update or `export TB_VERSION_WARNING=0` to skip the check.\n"
574
577
  )
575
578
  )
576
579
 
@@ -700,7 +703,9 @@ def cli(
700
703
  if switched_datasource_create_to_cloud:
701
704
  click.echo(
702
705
  FeedbackManager.gray(
703
- message=("Tinybird Local is not running. Running `tb datasource create` against Tinybird Cloud.")
706
+ message=(
707
+ f"Tinybird Local is not running. Running `{get_cli_name()} datasource create` against Tinybird Cloud."
708
+ )
704
709
  )
705
710
  )
706
711
 
@@ -265,7 +265,9 @@ line experience. To opt-out, set TB_CLI_TELEMETRY_OPTOUT to '1' or 'true'."""
265
265
  try:
266
266
  self.main(*args, **kwargs)
267
267
  except AuthNoTokenException:
268
- error_msg = FeedbackManager.error_notoken()
268
+ from tinybird.tb.modules.feedback_manager import get_cli_name
269
+
270
+ error_msg = FeedbackManager.error_notoken(cli=get_cli_name())
269
271
  error_event = "auth_error"
270
272
  exit_code = 1
271
273
  except AuthException as ex:
@@ -1136,7 +1138,11 @@ def validate_string_connector_param(param, s):
1136
1138
 
1137
1139
  def validate_connection_name(client, connection_name, service):
1138
1140
  if client.get_connector(connection_name, service) is not None:
1139
- raise CLIConnectionException(FeedbackManager.error_connection_already_exists(name=connection_name))
1141
+ from tinybird.tb.modules.feedback_manager import get_cli_name
1142
+
1143
+ raise CLIConnectionException(
1144
+ FeedbackManager.error_connection_already_exists(name=connection_name, cli=get_cli_name())
1145
+ )
1140
1146
 
1141
1147
 
1142
1148
  def _get_setting_value(connection, setting, sensitive_settings):
@@ -1176,7 +1182,9 @@ def switch_workspace(config: CLIConfig, workspace_name_or_id: str, only_environm
1176
1182
  )
1177
1183
 
1178
1184
  if not workspace:
1179
- raise CLIException(FeedbackManager.error_workspace(workspace=workspace_name_or_id))
1185
+ from tinybird.tb.modules.feedback_manager import get_cli_name
1186
+
1187
+ raise CLIException(FeedbackManager.error_workspace(workspace=workspace_name_or_id, cli=get_cli_name()))
1180
1188
 
1181
1189
  config.set_token(workspace["token"])
1182
1190
  config.set_token_for_host(workspace["token"], config.get_host())
@@ -1317,17 +1325,23 @@ def get_host_from_region(
1317
1325
  try:
1318
1326
  host = regions[index - 1]["api_host"]
1319
1327
  except Exception:
1320
- raise CLIException(FeedbackManager.error_getting_region_by_index())
1328
+ from tinybird.tb.modules.feedback_manager import get_cli_name
1329
+
1330
+ raise CLIException(FeedbackManager.error_getting_region_by_index(cli=get_cli_name()))
1321
1331
  except ValueError:
1322
1332
  region_name = region_name_or_host_or_id.lower()
1323
1333
  try:
1324
1334
  region = get_region_from_host(region_name, regions)
1325
1335
  host = region["api_host"] if region else None
1326
1336
  except Exception:
1327
- raise CLIException(FeedbackManager.error_getting_region_by_name_or_url())
1337
+ from tinybird.tb.modules.feedback_manager import get_cli_name
1338
+
1339
+ raise CLIException(FeedbackManager.error_getting_region_by_name_or_url(cli=get_cli_name()))
1328
1340
 
1329
1341
  if not host:
1330
- raise CLIException(FeedbackManager.error_getting_region_by_name_or_url())
1342
+ from tinybird.tb.modules.feedback_manager import get_cli_name
1343
+
1344
+ raise CLIException(FeedbackManager.error_getting_region_by_name_or_url(cli=get_cli_name()))
1331
1345
 
1332
1346
  return regions, host
1333
1347
 
@@ -1468,7 +1482,9 @@ def try_authenticate(
1468
1482
  break
1469
1483
 
1470
1484
  if not authenticated:
1471
- raise CLIAuthException(FeedbackManager.error_invalid_token())
1485
+ from tinybird.tb.modules.feedback_manager import get_cli_name
1486
+
1487
+ raise CLIAuthException(FeedbackManager.error_invalid_token(cli=get_cli_name()))
1472
1488
 
1473
1489
  config.persist_to_file()
1474
1490
 
@@ -2381,7 +2397,9 @@ def create_workspace_branch(
2381
2397
  try:
2382
2398
  workspace = get_current_workspace(config)
2383
2399
  if not workspace:
2384
- raise CLIWorkspaceException(FeedbackManager.error_workspace())
2400
+ from tinybird.tb.modules.feedback_manager import get_cli_name
2401
+
2402
+ raise CLIWorkspaceException(FeedbackManager.error_workspace(cli=get_cli_name()))
2385
2403
 
2386
2404
  if not branch_name:
2387
2405
  click.echo(FeedbackManager.info_workspace_branch_create_greeting())
@@ -36,7 +36,7 @@ from tinybird.tb.modules.create import (
36
36
  generate_gcs_connection_file_with_secrets,
37
37
  )
38
38
  from tinybird.tb.modules.exceptions import CLIConnectionException
39
- from tinybird.tb.modules.feedback_manager import FeedbackManager
39
+ from tinybird.tb.modules.feedback_manager import FeedbackManager, get_cli_name
40
40
  from tinybird.tb.modules.project import Project
41
41
  from tinybird.tb.modules.secret import save_secret_to_env_file
42
42
 
@@ -311,7 +311,7 @@ def connection_create_kafka_cmd(
311
311
  click.echo(FeedbackManager.info(message=error))
312
312
  click.echo(
313
313
  FeedbackManager.error(
314
- message="✗ Build failed. Please fix the errors and run `tb connection data` to preview this connection."
314
+ message=f"✗ Build failed. Please fix the errors and run `{get_cli_name()} connection data` to preview this connection."
315
315
  )
316
316
  )
317
317
  return
@@ -360,7 +360,7 @@ def connection_data_cmd(
360
360
  if not all_connections:
361
361
  raise CLIConnectionException(
362
362
  FeedbackManager.error(
363
- message="No connections found. Create a connection first with `tb connection create`."
363
+ message=f"No connections found. Create a connection first with `{get_cli_name()} connection create`."
364
364
  )
365
365
  )
366
366
 
@@ -18,7 +18,7 @@ from tinybird.tb.modules.common import (
18
18
  )
19
19
  from tinybird.tb.modules.create import generate_aws_iamrole_connection_file_with_secret
20
20
  from tinybird.tb.modules.exceptions import CLIConnectionException
21
- from tinybird.tb.modules.feedback_manager import FeedbackManager
21
+ from tinybird.tb.modules.feedback_manager import FeedbackManager, get_cli_name
22
22
  from tinybird.tb.modules.project import Project
23
23
  from tinybird.tb.modules.secret import save_secret_to_env_file
24
24
 
@@ -320,7 +320,7 @@ def connection_create_s3(
320
320
  if env == "local" and not client.check_aws_credentials():
321
321
  click.echo(
322
322
  FeedbackManager.warning(
323
- message="No AWS credentials found. Please run `tb local restart --use-aws-creds` to pass your credentials. "
323
+ message=f"No AWS credentials found. Please run `{get_cli_name()} local restart --use-aws-creds` to pass your credentials. "
324
324
  "Read more about this in https://www.tinybird.co/docs/forward/get-data-in/connectors/s3#local-environment"
325
325
  )
326
326
  )
@@ -41,7 +41,7 @@ from tinybird.tb.modules.datafile.build_pipe import (
41
41
  is_endpoint_with_no_dependencies,
42
42
  is_materialized,
43
43
  )
44
- from tinybird.tb.modules.feedback_manager import FeedbackManager
44
+ from tinybird.tb.modules.feedback_manager import FeedbackManager, get_cli_name
45
45
  from tinybird.tb.modules.project import Project
46
46
 
47
47
 
@@ -839,7 +839,9 @@ def process_file(
839
839
  ]
840
840
 
841
841
  if not all(required_params):
842
- raise click.ClickException(FeedbackManager.error_unknown_kafka_connection(datasource=name))
842
+ raise click.ClickException(
843
+ FeedbackManager.error_unknown_kafka_connection(datasource=name, cli=get_cli_name())
844
+ )
843
845
 
844
846
  connector = tb_client.connection_create_kafka(**connector_params)
845
847
  except Exception as e:
@@ -7,7 +7,7 @@ import click
7
7
 
8
8
  from tinybird.datafile.common import PREVIEW_CONNECTOR_SERVICES, ImportReplacements
9
9
  from tinybird.tb.client import DoesNotExistException, TinyB
10
- from tinybird.tb.modules.feedback_manager import FeedbackManager
10
+ from tinybird.tb.modules.feedback_manager import FeedbackManager, get_cli_name
11
11
 
12
12
 
13
13
  def new_ds(
@@ -324,7 +324,7 @@ def new_ds(
324
324
  FeedbackManager.error_promoting_datasource(datasource=ds_name, error=promote_error_message)
325
325
  )
326
326
  else:
327
- click.echo(FeedbackManager.warning_datasource_already_exists(datasource=ds_name))
327
+ click.echo(FeedbackManager.warning_datasource_already_exists(datasource=ds_name, cli=get_cli_name()))
328
328
 
329
329
 
330
330
  def share_and_unshare_datasource(
@@ -43,7 +43,7 @@ from tinybird.tb.modules.datafile.build_pipe import (
43
43
  is_materialized,
44
44
  new_pipe,
45
45
  )
46
- from tinybird.tb.modules.feedback_manager import FeedbackManager
46
+ from tinybird.tb.modules.feedback_manager import FeedbackManager, get_cli_name
47
47
  from tinybird.tb.modules.project import Project
48
48
 
49
49
 
@@ -998,7 +998,9 @@ def process_file(
998
998
  ]
999
999
 
1000
1000
  if not all(required_params):
1001
- raise click.ClickException(FeedbackManager.error_unknown_kafka_connection(datasource=name))
1001
+ raise click.ClickException(
1002
+ FeedbackManager.error_unknown_kafka_connection(datasource=name, cli=get_cli_name())
1003
+ )
1002
1004
 
1003
1005
  connector = tb_client.connection_create_kafka(**connector_params)
1004
1006
  except Exception as e:
@@ -58,7 +58,7 @@ from tinybird.tb.modules.create import (
58
58
  )
59
59
  from tinybird.tb.modules.datafile.fixture import persist_fixture
60
60
  from tinybird.tb.modules.exceptions import CLIDatasourceException
61
- from tinybird.tb.modules.feedback_manager import FeedbackManager
61
+ from tinybird.tb.modules.feedback_manager import FeedbackManager, get_cli_name
62
62
  from tinybird.tb.modules.llm import LLM
63
63
  from tinybird.tb.modules.llm_utils import extract_xml
64
64
  from tinybird.tb.modules.project import Project
@@ -223,9 +223,9 @@ def datasource_append(
223
223
  data = file or url or events
224
224
 
225
225
  if env == "local":
226
- tip = "Did you build your project? Run `tb build` first."
226
+ tip = f"Did you build your project? Run `{get_cli_name()} build` first."
227
227
  else:
228
- tip = "Did you deploy your project? Run `tb --cloud deploy` first."
228
+ tip = f"Did you deploy your project? Run `{get_cli_name()} --cloud deploy` first."
229
229
 
230
230
  datasources = client.datasources()
231
231
  if not datasources:
@@ -242,7 +242,9 @@ def datasource_append(
242
242
  for index, datasource in enumerate(datasources):
243
243
  click.echo(f" [{index + 1}] {datasource['name']}")
244
244
  click.echo(
245
- FeedbackManager.gray(message="Tip: Run tb datasource append [datasource_name] to skip this step.")
245
+ FeedbackManager.gray(
246
+ message=f"Tip: Run {get_cli_name()} datasource append [datasource_name] to skip this step."
247
+ )
246
248
  )
247
249
 
248
250
  datasource_index = click.prompt("\nSelect option", default=1)
@@ -272,7 +274,7 @@ def datasource_append(
272
274
  click.echo(f" [{index + 1}] {option}")
273
275
  click.echo(
274
276
  FeedbackManager.gray(
275
- message="Tip: Run tb datasource append [datasource_name] --events | --file | --url to skip this step"
277
+ message=f"Tip: Run {get_cli_name()} datasource append [datasource_name] --events | --file | --url to skip this step"
276
278
  )
277
279
  )
278
280
 
@@ -956,7 +958,9 @@ ENGINE "MergeTree"
956
958
  click.echo(FeedbackManager.gray(message="\nFiles can be either NDJSON, CSV or Parquet."))
957
959
  click.echo(
958
960
  FeedbackManager.gray(
959
- message=("Tip: Run `tb datasource create --file | --url | --connection` to skip this step.")
961
+ message=(
962
+ f"Tip: Run `{get_cli_name()} datasource create --file | --url | --connection` to skip this step."
963
+ )
960
964
  )
961
965
  )
962
966
  datasource_type_index = click.prompt("\nSelect option", default=1)
@@ -1048,7 +1052,7 @@ ENGINE "MergeTree"
1048
1052
  else:
1049
1053
  click.echo(
1050
1054
  FeedbackManager.info(
1051
- message=f"→ To continue, you need a connection. Run `tb connection create {datasource_type}` to create one."
1055
+ message=f"→ To continue, you need a connection. Run `{get_cli_name()} connection create {datasource_type}` to create one."
1052
1056
  )
1053
1057
  )
1054
1058
  wizard_data["exit_reason"] = "user_declined_connection_creation"
@@ -1432,12 +1436,12 @@ IMPORT_SCHEDULE "@auto"
1432
1436
  click.echo(FeedbackManager.success(message=f"✓ /datasources/{name}.datasource created"))
1433
1437
 
1434
1438
  if datasource_type == "kafka":
1435
- tip_message = """Next steps:
1436
- - Run `tb deploy` to consume from the topic in Tinybird Local.
1437
- - Run `tb --cloud deploy` to deploy the new resource to Tinybird Cloud."""
1439
+ tip_message = f"""Next steps:
1440
+ - Run `{get_cli_name()} deploy` to consume from the topic in Tinybird Local.
1441
+ - Run `{get_cli_name()} --cloud deploy` to deploy the new resource to Tinybird Cloud."""
1438
1442
  else:
1439
- tip_message = """Next steps:
1440
- - Run `tb --cloud deploy` to deploy the new resource to Tinybird Cloud."""
1443
+ tip_message = f"""Next steps:
1444
+ - Run `{get_cli_name()} --cloud deploy` to deploy the new resource to Tinybird Cloud."""
1441
1445
 
1442
1446
  click.echo(FeedbackManager.gray(message=tip_message))
1443
1447
 
@@ -2,7 +2,7 @@ import click
2
2
 
3
3
  from tinybird.tb.modules.cli import cli
4
4
  from tinybird.tb.modules.exceptions import CLIMockException
5
- from tinybird.tb.modules.feedback_manager import FeedbackManager
5
+ from tinybird.tb.modules.feedback_manager import FeedbackManager, get_cli_name
6
6
 
7
7
 
8
8
  @cli.command(
@@ -18,11 +18,11 @@ def auth(args) -> None:
18
18
  `tb auth` is deprecated. Use `tb login` instead.
19
19
  """
20
20
  is_info_cmd = "info" in args
21
- message = "This command is deprecated. Use `tb login` instead."
21
+ message = f"This command is deprecated. Use `{get_cli_name()} login` instead."
22
22
  if is_info_cmd:
23
- message = "This command is deprecated. Use `tb info` instead."
23
+ message = f"This command is deprecated. Use `{get_cli_name()} info` instead."
24
24
  else:
25
- message = "This command is deprecated. Use `tb login` instead."
25
+ message = f"This command is deprecated. Use `{get_cli_name()} login` instead."
26
26
  click.echo(FeedbackManager.warning(message=message))
27
27
  click.echo(
28
28
  "You are using Tinybird Forward CLI.\nYou can find more information in the docs at https://www.tinybird.co/docs/forward"
@@ -43,7 +43,7 @@ def environment(args) -> None:
43
43
  """
44
44
  click.echo(
45
45
  FeedbackManager.warning(
46
- message=f"`tb environment` has been renamed to `tb branch`. Please use `tb branch {args[0]}` instead."
46
+ message=f"`{get_cli_name()} environment` has been renamed to `{get_cli_name()} branch`. Please use `{get_cli_name()} branch {args[0]}` instead."
47
47
  )
48
48
  )
49
49
  click.echo(
@@ -99,7 +99,7 @@ def push(args) -> None:
99
99
  """
100
100
  `tb push` is deprecated. Use `tb deploy` instead.
101
101
  """
102
- click.echo(FeedbackManager.warning(message="This command is deprecated. Use `tb deploy` instead."))
102
+ click.echo(FeedbackManager.warning(message=f"This command is deprecated. Use `{get_cli_name()} deploy` instead."))
103
103
  click.echo(
104
104
  "You are using Tinybird Forward CLI.\nYou can find more information in the docs at https://www.tinybird.co/docs/forward"
105
105
  )
@@ -136,7 +136,11 @@ def create(args) -> None:
136
136
  `tb create` is deprecated. Use `tb init` instead.
137
137
  """
138
138
  _ = args
139
- click.echo(FeedbackManager.warning(message="`tb create` is deprecated. Use `tb init` to scaffold your project."))
139
+ click.echo(
140
+ FeedbackManager.warning(
141
+ message=f"`{get_cli_name()} create` is deprecated. Use `{get_cli_name()} init` to scaffold your project."
142
+ )
143
+ )
140
144
  click.echo(
141
145
  "You are using Tinybird Forward CLI.\nYou can find more information in the docs at https://www.tinybird.co/docs/forward"
142
146
  )
@@ -158,7 +162,7 @@ def mock(args) -> None:
158
162
  raise CLIMockException(
159
163
  FeedbackManager.error(
160
164
  message=(
161
- "`tb mock` has been removed. Create fixture files manually under the `fixtures/` folder.\n"
165
+ f"`{get_cli_name()} mock` has been removed. Create fixture files manually under the `fixtures/` folder.\n"
162
166
  "You can use Tinybird agent skills to generate mock behavior from your coding agent. "
163
167
  "Run: npx skills add @tinybirdco/tinybird-agent-skills"
164
168
  )