tinybird-cli 5.10.2.dev3__py3-none-any.whl → 5.10.3.dev0__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.10.2.dev3'
8
- __revision__ = '00f2b41'
7
+ __version__ = '5.10.3.dev0'
8
+ __revision__ = '5dafd46'
tinybird/config.py CHANGED
@@ -56,12 +56,8 @@ LEGACY_HOSTS = {
56
56
  "https://inditex-pro.tinybird.co": "https://app.inditex.tinybird.co/gcp/inditex-pro",
57
57
  "https://ui.split.tinybird.co": "https://app.tinybird.co/aws/split-us-east",
58
58
  "https://ui.split.us-west-2.aws.tinybird.co": "https://app.tinybird.co/aws/split-us-west-2",
59
- "https://ui.split.azure.tinybird.co": "https://app.tinybird.co/azure/split-us-east",
60
- "https://ui.split-westeurope.azure.tinybird.co": "https://app.tinybird.co/azure/split-westeurope",
61
59
  "https://api.split.tinybird.co": "https://app.tinybird.co/aws/split-us-east",
62
60
  "https://api.split.us-west-2.aws.tinybird.co": "https://app.tinybird.co/aws/split-us-west-2",
63
- "https://api.split.azure.tinybird.co": "https://app.tinybird.co/azure/split-us-east",
64
- "https://api.split-westeurope.azure.tinybird.co": "https://app.tinybird.co/azure/split-westeurope",
65
61
  "https://ui.wadus1.gcp.tinybird.co": "https://app.wadus.tinybird.co/gcp/wadus1",
66
62
  "https://ui.wadus2.gcp.tinybird.co": "https://app.wadus.tinybird.co/gcp/wadus2",
67
63
  "https://ui.wadus3.gcp.tinybird.co": "https://app.wadus.tinybird.co/gcp/wadus3",
tinybird/datafile.py CHANGED
@@ -4952,7 +4952,7 @@ def format_shared_with(file_parts: List[str], doc: Datafile) -> List[str]:
4952
4952
 
4953
4953
  def format_tags(file_parts: List[str], doc: Datafile) -> List[str]:
4954
4954
  if doc.filtering_tags:
4955
- file_parts.append(f'TAGS {", ".join(doc.filtering_tags)}')
4955
+ file_parts.append(f'TAGS "{", ".join(doc.filtering_tags)}"')
4956
4956
  file_parts.append(DATAFILE_NEW_LINE)
4957
4957
  file_parts.append(DATAFILE_NEW_LINE)
4958
4958
  return file_parts
@@ -213,7 +213,7 @@ class AliasedGroup(click.Group):
213
213
  def resolve_command(self, ctx, args):
214
214
  # always return the command's name, not the alias
215
215
  _, cmd, args = super().resolve_command(ctx, args)
216
- return cmd.name, cmd, args
216
+ return cmd.name, cmd, args # type: ignore[union-attr]
217
217
 
218
218
 
219
219
  class CatchAuthExceptions(AliasedGroup):
@@ -1072,22 +1072,22 @@ async def push_data(
1072
1072
  raise e
1073
1073
 
1074
1074
  def cb(res):
1075
- if cb.First:
1075
+ if cb.First: # type: ignore[attr-defined]
1076
1076
  blocks_to_process = len([x for x in res["block_log"] if x["status"] == "idle"])
1077
1077
  if blocks_to_process:
1078
- cb.bar = click.progressbar(label=FeedbackManager.info_progress_blocks(), length=blocks_to_process)
1079
- cb.bar.update(0)
1080
- cb.First = False
1081
- cb.blocks_to_process = blocks_to_process
1078
+ cb.bar = click.progressbar(label=FeedbackManager.info_progress_blocks(), length=blocks_to_process) # type: ignore[attr-defined]
1079
+ cb.bar.update(0) # type: ignore[attr-defined]
1080
+ cb.First = False # type: ignore[attr-defined]
1081
+ cb.blocks_to_process = blocks_to_process # type: ignore[attr-defined]
1082
1082
  else:
1083
1083
  done = len([x for x in res["block_log"] if x["status"] == "done"])
1084
- if done * 2 > cb.blocks_to_process:
1085
- cb.bar.label = FeedbackManager.info_progress_current_blocks()
1086
- cb.bar.update(done - cb.prev_done)
1087
- cb.prev_done = done
1084
+ if done * 2 > cb.blocks_to_process: # type: ignore[attr-defined]
1085
+ cb.bar.label = FeedbackManager.info_progress_current_blocks() # type: ignore[attr-defined]
1086
+ cb.bar.update(done - cb.prev_done) # type: ignore[attr-defined]
1087
+ cb.prev_done = done # type: ignore[attr-defined]
1088
1088
 
1089
- cb.First = True # type: ignore
1090
- cb.prev_done = 0 # type: ignore
1089
+ cb.First = True # type: ignore[attr-defined]
1090
+ cb.prev_done = 0 # type: ignore[attr-defined]
1091
1091
 
1092
1092
  click.echo(FeedbackManager.info_starting_import_process())
1093
1093
 
@@ -1258,9 +1258,9 @@ def validate_kafka_bootstrap_servers(host_and_port):
1258
1258
  if len(parts) > 2:
1259
1259
  raise CLIException(FeedbackManager.error_kafka_bootstrap_server())
1260
1260
  host = parts[0]
1261
- port = parts[1] if len(parts) == 2 else "9092"
1261
+ port_str = parts[1] if len(parts) == 2 else "9092"
1262
1262
  try:
1263
- port = int(port)
1263
+ port = int(port_str)
1264
1264
  except Exception:
1265
1265
  raise CLIException(FeedbackManager.error_kafka_bootstrap_server())
1266
1266
  with closing(socket.socket(socket.AF_INET, socket.SOCK_STREAM)) as sock:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tinybird-cli
3
- Version: 5.10.2.dev3
3
+ Version: 5.10.3.dev0
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://www.tinybird.co/docs/cli/introduction.html
6
6
  Author: Tinybird
@@ -52,22 +52,14 @@ The Tinybird command-line tool allows you to use all the Tinybird functionality
52
52
  Changelog
53
53
  ----------
54
54
 
55
- 5.10.2.dev3
55
+ 5.10.2
56
56
  ***********
57
57
 
58
58
  - `Changed` Bump tinybird-cli version in requirements.txt when running `tb init --git`
59
-
60
- 5.10.2.dev2
61
- ***********
62
-
63
59
  - `Changed` Use `aiofiles` for async operations
64
-
65
- 5.10.2.dev1
66
- ***********
67
-
60
+ - `Fixed` `TAGS` format was missing quotes in `tb pull``
68
61
  - `Fixed` some internal typing issues from the CLI. Something internal that we don't include in the changelog of the CLI.
69
62
 
70
-
71
63
  5.10.1
72
64
  ***********
73
65
 
@@ -1,10 +1,10 @@
1
- tinybird/__cli__.py,sha256=7P1TkM59P2p5aAjP3uN2qTPtkcGj4_6leqcllSvEMYM,255
1
+ tinybird/__cli__.py,sha256=GQ3rs2TSkC0nHdH7_puaHFLTyRXOZ1DuGGDr54Cfqr4,255
2
2
  tinybird/check_pypi.py,sha256=_4NkharLyR_ELrAdit-ftqIWvOf7jZNPt3i76frlo9g,975
3
3
  tinybird/client.py,sha256=65K7Ues7nRct8UxzOIohRRC_ucyZ6VEkQF8r-D-Vv44,50519
4
- tinybird/config.py,sha256=CRhnasTsSQB6QtevLWebniRw72fSLGlIYfqUnDCpUJo,6533
4
+ tinybird/config.py,sha256=NXro9Itgex3QaHbC2InnqyCluc6bMqIwZIJ0xh1wdnw,6147
5
5
  tinybird/connectors.py,sha256=lkpVSUmSuViEZBa4QjTK7YmPHUop0a5UFoTrSmlVq6k,15244
6
6
  tinybird/context.py,sha256=3KwB9TL-nON6qX9Mm5uev4CkrgLwYyNDvdFfQmNc0Cc,1171
7
- tinybird/datafile.py,sha256=ida3tb-idl4bu5hEpEZ_84tSY6Yra4ZWbCgh5l6fmcw,229204
7
+ tinybird/datafile.py,sha256=jQvgNfyEdtw_4uiFkKZP3SePrwh97ge27QbiaWsmgSM,229206
8
8
  tinybird/datatypes.py,sha256=wwXaEy3l_UyfsH9xzYqBENQR7MSrFnDSvgS_CzLucOQ,10462
9
9
  tinybird/feedback_manager.py,sha256=gKVueLCx6oRnLqsoo9w-kMcG3qYnlx0ZBW43VPyyqxI,67488
10
10
  tinybird/git_settings.py,sha256=XUL9ZUj59-ZVQJDYmMEq4UpnuuOuQOHGlNcX3JgQHjQ,3954
@@ -21,7 +21,7 @@ tinybird/tb_cli_modules/auth.py,sha256=cqxfGgFheuTmenQ3UwPBXTqwMm8JD7uzgLfoIRXdn
21
21
  tinybird/tb_cli_modules/branch.py,sha256=a1nW_lME2peYxp8Ui0mq_qHPUcDZkw8glwsjD20S2-A,38657
22
22
  tinybird/tb_cli_modules/cicd.py,sha256=0lMkb6CVOFZl5HOwgY8mK4T4mgI7O8335UngLXtCc-c,13851
23
23
  tinybird/tb_cli_modules/cli.py,sha256=0df0kikbjf4ixMlzo40hVyi6qgUhazw5eqtA9_b0IFo,62061
24
- tinybird/tb_cli_modules/common.py,sha256=RXNbrHwySiXJWessYENUkp5DjswudakXCc9VuiVm34I,78332
24
+ tinybird/tb_cli_modules/common.py,sha256=LSvmocgFupWlaN6JfXKB2pZxXPytYjPPCk1k6oAaHTc,78666
25
25
  tinybird/tb_cli_modules/config.py,sha256=6NTgIdwf0X132A1j6G_YrdPep87ymZ9b5pABabKLzh4,11484
26
26
  tinybird/tb_cli_modules/connection.py,sha256=-lsWF-IgjTZezoAiQ-x7OeV5YU0bSBTxgpMIGlWk1So,28708
27
27
  tinybird/tb_cli_modules/datasource.py,sha256=MVN0bT_8RxuzV_J3VIK2AiHEFU_xEHA2XyLar7fDMyc,35599
@@ -38,8 +38,8 @@ tinybird/tb_cli_modules/workspace.py,sha256=ecJZ-tMkCocS2vhRWRGWPq9Eq_Pz6tf1IN-p
38
38
  tinybird/tb_cli_modules/workspace_members.py,sha256=ksXsjd233y9-sNlz4Qb-meZbX4zn1B84e_bSm2i8rhg,8731
39
39
  tinybird/tb_cli_modules/tinyunit/tinyunit.py,sha256=_ydOD4WxmKy7_h-d3fG62w_0_lD0uLl9w4EbEYtwd0U,11720
40
40
  tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py,sha256=hGh1ZaXC1af7rKnX7222urkj0QJMhMWclqMy59dOqwE,1922
41
- tinybird_cli-5.10.2.dev3.dist-info/METADATA,sha256=9s_zznoWjMdoqn-MLBegfAaQ2Q-ysfxgPyWGeSP0Y-k,77499
42
- tinybird_cli-5.10.2.dev3.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
43
- tinybird_cli-5.10.2.dev3.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
44
- tinybird_cli-5.10.2.dev3.dist-info/top_level.txt,sha256=pgw6AzERHBcW3YTi2PW4arjxLkulk2msOz_SomfOEuc,45
45
- tinybird_cli-5.10.2.dev3.dist-info/RECORD,,
41
+ tinybird_cli-5.10.3.dev0.dist-info/METADATA,sha256=DNZh5gWmOsteW_Tkc1UHSlLeQ5tciX9RoVE19-fnPVo,77498
42
+ tinybird_cli-5.10.3.dev0.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
43
+ tinybird_cli-5.10.3.dev0.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
44
+ tinybird_cli-5.10.3.dev0.dist-info/top_level.txt,sha256=pgw6AzERHBcW3YTi2PW4arjxLkulk2msOz_SomfOEuc,45
45
+ tinybird_cli-5.10.3.dev0.dist-info/RECORD,,