tinybird-cli 6.5.3.dev0__py3-none-any.whl → 6.5.5.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.
@@ -313,12 +313,3 @@ def test_run_summary(results: List[TestSummaryResults], only_fail: bool = False,
313
313
  raise CLIException(FeedbackManager.error_some_data_validation_have_failed())
314
314
  if total_counts.get(ERROR, 0) > 0:
315
315
  raise CLIException(FeedbackManager.error_some_tests_have_errors())
316
-
317
-
318
- def get_bare_url(url: str) -> str:
319
- if url.startswith("http://"):
320
- return url[7:]
321
- elif url.startswith("https://"):
322
- return url[8:]
323
- else:
324
- return url
@@ -114,7 +114,6 @@ async def clear_workspace(ctx: Context, yes: bool, dry_run: bool) -> None:
114
114
  if config["id"] == workspace["id"]:
115
115
  if workspace.get("is_branch"):
116
116
  raise CLIWorkspaceException(FeedbackManager.error_not_allowed_in_branch(cli="tb"))
117
- return
118
117
  else:
119
118
  click.echo(FeedbackManager.info_current_workspace())
120
119
  table.append(
@@ -916,10 +916,10 @@ def _parse(reader: _TemplateReader, template, in_block=None, in_loop=None):
916
916
 
917
917
  # Intermediate ("else", "elif", etc) blocks
918
918
  intermediate_blocks = {
919
- "else": set(["if", "for", "while", "try"]),
920
- "elif": set(["if"]),
921
- "except": set(["try"]),
922
- "finally": set(["try"]),
919
+ "else": {"if", "for", "while", "try"},
920
+ "elif": {"if"},
921
+ "except": {"try"},
922
+ "finally": {"try"},
923
923
  }
924
924
  allowed_parents = intermediate_blocks.get(operator)
925
925
 
@@ -997,7 +997,7 @@ def _parse(reader: _TemplateReader, template, in_block=None, in_loop=None):
997
997
 
998
998
  elif operator in ("break", "continue"):
999
999
  if not in_loop:
1000
- reader.raise_parse_error("%s outside %s block" % (operator, set(["for", "while"])))
1000
+ reader.raise_parse_error("%s outside %s block" % (operator, {"for", "while"}))
1001
1001
  body.chunks.append(_Statement(contents, line))
1002
1002
  continue
1003
1003
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: tinybird_cli
3
- Version: 6.5.3.dev0
3
+ Version: 6.5.5.dev0
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://www.tinybird.co/docs/cli
6
6
  Author: Tinybird
@@ -43,6 +43,20 @@ The Tinybird command-line tool allows you to use all the Tinybird functionality
43
43
  Changelog
44
44
  ----------
45
45
 
46
+ 6.5.4
47
+ ***********
48
+
49
+ - `Added` ``tb datasource append`` and ``tb datasource replace`` support the experimental ``--experimental=use_v1`` option for local CSV, NDJSON, and Parquet files. It submits the import through the v1 endpoint and prints the queued job ID; pass ``--wait`` to wait for completion.
50
+ - `Fixed` Internal improvements to secret template rendering used during datafile parsing.
51
+ - `Fixed` `tb push` now rejects pipes that declare a parameter without a valid name (e.g. a numeric-literal cast like ``{{Float32(1682892000.0)}}``), instead of creating an unusable parameter.
52
+
53
+ 6.5.3
54
+ ***********
55
+
56
+ - `Removed` `bi_stats_rt` and `bi_stats` from service datasource catalogs and dependency ignore lists.
57
+ - `Added` ``tb datasource delete`` now accepts ``--lightweight-delete``, ``--partition`` and ``--projection-mode``, backed by the ``POST /v1/datasources/{name}/delete`` endpoint that uses ClickHouse's lightweight ``DELETE FROM`` instead of the heavy ``ALTER TABLE ... DELETE`` mutation. Lightweight delete is synchronous by default and returns the affected row count plus a partition-level mutation block; pass ``--no-wait`` to enqueue a job and receive the v0-compatible envelope.
58
+ - `Changed` Upgraded Tornado to 6.5.5.
59
+
46
60
  6.5.1
47
61
  ***********
48
62
 
@@ -1,29 +1,29 @@
1
- tinybird/__cli__.py,sha256=LPmuAgokLbFvufBGm125_2-R8lK3ZGoEclRW298xcNg,236
1
+ tinybird/__cli__.py,sha256=t0TBFIN-TpEtJYQeeRTnQNGNWW_YRGoPNoiQHhSGUyk,236
2
2
  tinybird/check_pypi.py,sha256=_4NkharLyR_ELrAdit-ftqIWvOf7jZNPt3i76frlo9g,975
3
- tinybird/client.py,sha256=ZgwGrip9cuF5DJiS1vFbEpXvEOC7UqAaaxZnqRwG4Fo,51808
4
- tinybird/config.py,sha256=g74rE9jbVcyFj1bms5T3VEITLr21_WFy79Uj5ovvj90,7413
3
+ tinybird/client.py,sha256=28AUgzb9zD7PqqMD8lrgXUEWIvZ0nZYuBO3stcG1iqw,53236
4
+ tinybird/config.py,sha256=ltL9qIfY-tnFXeivrLLi7apS_OkzEJT_jRXAJu0SRQg,7164
5
5
  tinybird/context.py,sha256=o4yvlXPkMLmdh-XJl3wpmqPAMeRRz5ScKzKlHHKn_I8,1201
6
- tinybird/datafile_common.py,sha256=MyMobDF6UOFFEsXnHrUWuOb0kJ6tkzZpiq1CjL7RlKY,237598
7
- tinybird/datatypes.py,sha256=Lr8BIaRP--qzuZFpAdv20uQaeE1BOAMmuEwWVHheFPw,11355
8
- tinybird/feedback_manager.py,sha256=OehfKVruCHwUNN1bHIbDICvOaIovc3hb6RjGHTyIkBc,67667
6
+ tinybird/datafile_common.py,sha256=ntQ4tJWCIzqbIWctagi7B172KrA-JH8gAE7_kP2-AXo,237356
7
+ tinybird/datatypes.py,sha256=DRScTI1-lgYjbC7u_4qxOLFleWL-vief_eBg_9WU37U,11304
8
+ tinybird/feedback_manager.py,sha256=hbO4o16rleDxzfkv04fTeJIjAxlpn477qTK0QCuleTA,68274
9
9
  tinybird/git_settings.py,sha256=mqWgeboOlOFsSo97qyv595UCR2R1QCAqT4GTawBNPBg,3935
10
- tinybird/sql.py,sha256=qdqxsq1WPiGTk-SmZWaxvZb936ISdo1ChZhnC_uXeUE,49351
11
- tinybird/sql_template.py,sha256=nSzUdaQe18Da_8qlgLW7tsZl1pOa2kDaBa8TdrF6pJ4,128667
10
+ tinybird/sql.py,sha256=L3tTmm62iTrf6WQdcV8mmwrCMitLFUvJ3OfDzyRTMGw,47385
11
+ tinybird/sql_template.py,sha256=rgZxmP8lhfUmHjL1Z5JT0NTDEtVxK_5xRRzKiu5A868,131917
12
12
  tinybird/sql_template_fmt.py,sha256=Ma4qcs-2r8ZXQC4GUmrCqYz34DsnGF8k5lE2Jwnr314,10638
13
- tinybird/sql_toolset.py,sha256=xWY-EtixaZKUPuNY4WBz2fDwwNnmbgtdLsmI2wy67UA,27220
13
+ tinybird/sql_toolset.py,sha256=qNKHPGKTR4MrMHKkj1qHqmlB1kPqnbT-SozyzUBeD6s,28498
14
14
  tinybird/syncasync.py,sha256=rIPmCvygWSFqfnlVqhZH4N9gVVTvD6DEPsfoxGizYrI,27776
15
15
  tinybird/tb_cli.py,sha256=q1LGAsBVVMJsjR2HK62Pu6vpVtLzNmH8wHrEVUUdVkU,744
16
- tinybird/tornado_template.py,sha256=1_0nYFk_xJh_TMHh6AKkJILvnNY6xYmaM-uJ3Ofv7e8,42085
16
+ tinybird/tornado_template.py,sha256=8e0ipnBQI4-RO5sFokybDNwkd1CBxGqvnnyJ5kjs5XU,42060
17
17
  tinybird/ch_utils/constants.py,sha256=yTNizMzgYNBzUc2EV3moBfdrDIggOe9hiuAgWF7sv2c,4333
18
- tinybird/ch_utils/engine.py,sha256=NzYUnmXsrJQimwXfCqdtIMyuS_Ad0OSdEnqNXzzStvY,37489
18
+ tinybird/ch_utils/engine.py,sha256=OkR86FOOUPRpCsRxlR-kunykg-K4Daqo3uS06X1uvYQ,36887
19
19
  tinybird/tb_cli_modules/auth.py,sha256=3xu8STgouOgLkqlBf9LWFg9Oto_NyuDKsUWF95-zGwI,8741
20
- tinybird/tb_cli_modules/branch.py,sha256=tUWGCBFbGIIfAYEHM7DK9UkoV7kTUrWyYiGVIwXyWSI,39367
20
+ tinybird/tb_cli_modules/branch.py,sha256=vbjLxIHz5XOqfMGwjyEZ7gji8Jw3PWPKKrPXViWdiIc,39348
21
21
  tinybird/tb_cli_modules/cicd.py,sha256=i2Mw8AbmEVNBcEPYdio7liy3PGqh1ezVFZ0OmJ9ww5o,13809
22
22
  tinybird/tb_cli_modules/cli.py,sha256=KvgZfdYRvgKG5QAiFmlfLbVGI-xmuxbs-EdkAslqrEQ,60242
23
- tinybird/tb_cli_modules/common.py,sha256=763GkBOgXIcB48UnuSjnGfxdfoSx5iqCniK15R0Aq5Y,77366
24
- tinybird/tb_cli_modules/config.py,sha256=0kFDmsDcjKon32rgFGMHHKSbv4j5dOrXtVOlyuAyEkk,11510
23
+ tinybird/tb_cli_modules/common.py,sha256=OzXkQGTnlUtOfx3EOdSLreewFRu_zaTXLSYDG-MT1_I,77236
24
+ tinybird/tb_cli_modules/config.py,sha256=lukiJeihI09blGeeS0FWeqVbKWhqzZmyoaJDIL0NkyQ,11182
25
25
  tinybird/tb_cli_modules/connection.py,sha256=JO2v2xTGoiMeThzCncvxMFUHLghyyGXNF0FcAvi5ZOk,24543
26
- tinybird/tb_cli_modules/datasource.py,sha256=b12ClLFISGHqK7zrLZBX5OT-8Nxd2oW734-Xon0dTE8,32541
26
+ tinybird/tb_cli_modules/datasource.py,sha256=dZShJUrNXEfj4160ix7G2KsIBim3n1fAxk5ryvmdmuA,38285
27
27
  tinybird/tb_cli_modules/exceptions.py,sha256=pmucP4kTF4irIt7dXiG-FcnI-o3mvDusPmch1L8RCWk,3367
28
28
  tinybird/tb_cli_modules/fmt.py,sha256=edQap4tAqWMWogSIx5zriT75naLi73XTB3NwatmcrFw,3518
29
29
  tinybird/tb_cli_modules/job.py,sha256=BxiqChDYa_4W4tFXHIUz2bOzkx8WMFywynjiPWgDlnE,2936
@@ -33,11 +33,11 @@ tinybird/tb_cli_modules/tag.py,sha256=S5x8uDW0rsJEI5lKH2mefro7tEzcHyDNWrV_ZWNyS1
33
33
  tinybird/tb_cli_modules/telemetry.py,sha256=W098H6jmS4kpE7hN3tadaREBTf7oMocel-lkKWN0pU8,10466
34
34
  tinybird/tb_cli_modules/test.py,sha256=Vf8oK96V81HdKGsT79y6MUz6oz_VrYIwTbRnzzJs4rQ,4350
35
35
  tinybird/tb_cli_modules/token.py,sha256=JXATKTlbXohP9ZDZjlz8E4VYG6zrknKZhuz_wh1zBBc,13793
36
- tinybird/tb_cli_modules/workspace.py,sha256=Ssu-jKk7lp4Gh3qX5DXhIbImyhs9aCvL09u_T75zw1I,12421
36
+ tinybird/tb_cli_modules/workspace.py,sha256=u8x-caZdRLYXIMdrFK9rtXZutMtd4T3exMRKg-pYBWw,12398
37
37
  tinybird/tb_cli_modules/workspace_members.py,sha256=ksXsjd233y9-sNlz4Qb-meZbX4zn1B84e_bSm2i8rhg,8731
38
- tinybird/tb_cli_modules/tinyunit/tinyunit.py,sha256=50uqMgJD2BqSVONtCm55nuGRWhBNZWRc2GP1Qb8URdg,11246
39
- tinybird_cli-6.5.3.dev0.dist-info/METADATA,sha256=2d95ALNGay1rEmgOesllyu-kiWnf6JGleP8yRWnqytY,82319
40
- tinybird_cli-6.5.3.dev0.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
41
- tinybird_cli-6.5.3.dev0.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
42
- tinybird_cli-6.5.3.dev0.dist-info/top_level.txt,sha256=ZIQJTPCzMqnfDzM_hEGZrJqDSEcKnIK_49T86DGWpyQ,78
43
- tinybird_cli-6.5.3.dev0.dist-info/RECORD,,
38
+ tinybird/tb_cli_modules/tinyunit/tinyunit.py,sha256=JrZQTb9NA-1kcL2Vm0JuDRNFdH8jcYYOM3ovJDVs28E,11063
39
+ tinybird_cli-6.5.5.dev0.dist-info/METADATA,sha256=Wlt3ts99ZTUQsNOqUlvy3biBooW6UySQuoBKbco0dv4,83548
40
+ tinybird_cli-6.5.5.dev0.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
41
+ tinybird_cli-6.5.5.dev0.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
42
+ tinybird_cli-6.5.5.dev0.dist-info/top_level.txt,sha256=ZIQJTPCzMqnfDzM_hEGZrJqDSEcKnIK_49T86DGWpyQ,78
43
+ tinybird_cli-6.5.5.dev0.dist-info/RECORD,,