tinybird-cli 3.10.1.dev2__py3-none-any.whl → 3.11.1.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__ = '3.10.1.dev2'
8
- __revision__ = '2a68675'
7
+ __version__ = '3.11.1.dev0'
8
+ __revision__ = 'deebaaf'
tinybird/datafile.py CHANGED
@@ -1099,6 +1099,7 @@ def parse(
1099
1099
  "kafka_auto_offset_reset": assign_var("kafka_auto_offset_reset"),
1100
1100
  "kafka_store_raw_value": assign_var("kafka_store_raw_value"),
1101
1101
  "kafka_store_headers": assign_var("kafka_store_headers"),
1102
+ "kafka_store_binary_headers": assign_var("kafka_store_binary_headers"),
1102
1103
  "kafka_key_avro_deserialization": assign_var("kafka_key_avro_deserialization"),
1103
1104
  "import_service": assign_var("import_service"),
1104
1105
  "import_connection_name": assign_var("import_connection_name"),
@@ -3097,6 +3098,13 @@ async def new_ds(
3097
3098
  else:
3098
3099
  alter_error_message = "Alter datasource cancelled"
3099
3100
 
3101
+ if alter_error_message:
3102
+ raise click.ClickException(
3103
+ FeedbackManager.error_datasource_already_exists_and_alter_failed(
3104
+ datasource=ds_name, alter_error_message=alter_error_message
3105
+ )
3106
+ )
3107
+
3100
3108
  if datasource_exists and ds["params"].get("backfill_column") != existing_ds["tags"].get("backfill_column"):
3101
3109
  params = {
3102
3110
  "backfill_column": ds["params"].get("backfill_column"),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tinybird-cli
3
- Version: 3.10.1.dev2
3
+ Version: 3.11.1.dev0
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://www.tinybird.co/docs/cli/introduction.html
6
6
  Author: Tinybird
@@ -51,20 +51,18 @@ The Tinybird command-line tool allows you to use all the Tinybird functionality
51
51
  Changelog
52
52
  ----------
53
53
 
54
- 3.10.1.dev2
55
- ************
56
-
57
- - `Fixed` Skip error when using `tb push --only-changes` and no local .git directory is present
58
-
59
- 3.10.1.dev1
54
+ 3.11.0
60
55
  ************
61
56
 
62
57
  - `Added` confirmation step to `tb datasource sync` command
58
+ - `Fixed` support for KAFKA_STORE_BINARY_HEADERS for new Data Sources. Only relevant when KAFKA_STORE_HEADERS is also enabled, used to store Kafka headers as binary data (default option from now on).
59
+ - `Fixed` Report error when `tb push --force --yes` cannot apply a change in a .datasource schema
60
+ - `Fixed` Skip error when using `tb push --only-changes` and no local .git directory is present
63
61
 
64
62
  3.10.0
65
63
  ************
66
64
 
67
- - `Added` Support for unlink materialized pipes doing `tb workspace clear`
65
+ - `Added` support for unlink materialized pipes doing `tb workspace clear`
68
66
  - `Added` support for adding multiple tokens when pushing a `.datasource` file
69
67
  - `Fixed` s3 iamrole connection creation will not fail when `pbcopy` dependency is not available
70
68
  - `Fixed` Fixed a bug on data branching
@@ -1,10 +1,10 @@
1
- tinybird/__cli__.py,sha256=culXII3V8snmwGeCV7ail4GwlVzonXPyJIjvEwq4SS0,255
1
+ tinybird/__cli__.py,sha256=9YBq6e0QjtseHAA-gYIvtj1dQj21vvg7Nw_flNZIreU,255
2
2
  tinybird/check_pypi.py,sha256=_4NkharLyR_ELrAdit-ftqIWvOf7jZNPt3i76frlo9g,975
3
3
  tinybird/client.py,sha256=S7nKDUoq7AnAunZuikqrs9yjC3j_rseWeyGVwXHCiTI,46918
4
4
  tinybird/config.py,sha256=E0jDwbFD1zhdijNhtF8fg6mqIyKbZ8xpNPP_3n2PFpE,2003
5
5
  tinybird/connectors.py,sha256=lkpVSUmSuViEZBa4QjTK7YmPHUop0a5UFoTrSmlVq6k,15244
6
6
  tinybird/context.py,sha256=orzS1IMOQv1sjEPSAU_nvYCPF9eNrKONE5wXj4FrSD4,927
7
- tinybird/datafile.py,sha256=QsT9fLBx7UZaSHHWmrPZiV5xV0HXh7z0pdNCMU3Gfok,212751
7
+ tinybird/datafile.py,sha256=ak-YmLEW1lHwUMVbwA3-c_nfN-oHM0FaaE0p0cHEMB0,213074
8
8
  tinybird/datatypes.py,sha256=adYOQBTyfeBGVINIlaRex_81gTQQuqF2M9VTQpzq1H0,7060
9
9
  tinybird/feedback_manager.py,sha256=UXde-xk4ewhuO2NIsnOdonG2oj-89ZiaWBwtmMFVC38,60467
10
10
  tinybird/git_settings.py,sha256=vu8sWb3TAXeM8Tqy27aR0el8MnPm7kqQzTRV76xB0ro,4707
@@ -36,8 +36,8 @@ tinybird/tb_cli_modules/workspace.py,sha256=DTIQ1-H5Kazz1CtRwqMeYAtyQ_BQtaLXfcHn
36
36
  tinybird/tb_cli_modules/workspace_members.py,sha256=3HzY43218fb35ZM81mtkwDQe7gAAf1zEFY6kIEhGvgE,8268
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-3.10.1.dev2.dist-info/METADATA,sha256=F4c30MTB9e8e4K_Awc7tILEEj0OsX0zl5UcNSVX3rWo,70577
40
- tinybird_cli-3.10.1.dev2.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
41
- tinybird_cli-3.10.1.dev2.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
42
- tinybird_cli-3.10.1.dev2.dist-info/top_level.txt,sha256=pgw6AzERHBcW3YTi2PW4arjxLkulk2msOz_SomfOEuc,45
43
- tinybird_cli-3.10.1.dev2.dist-info/RECORD,,
39
+ tinybird_cli-3.11.1.dev0.dist-info/METADATA,sha256=nERG4nx9uLZYrv5dCC_QRO95GDu_02IWBqPlrKaf66U,70843
40
+ tinybird_cli-3.11.1.dev0.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
41
+ tinybird_cli-3.11.1.dev0.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
42
+ tinybird_cli-3.11.1.dev0.dist-info/top_level.txt,sha256=pgw6AzERHBcW3YTi2PW4arjxLkulk2msOz_SomfOEuc,45
43
+ tinybird_cli-3.11.1.dev0.dist-info/RECORD,,