tinybird 4.5.10.dev0__py3-none-any.whl → 4.5.11.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.
@@ -219,6 +219,7 @@ def get_tinybird_service_datasources() -> List[Dict[str, Any]]:
219
219
  {"name": "processed_messages", "type": "Int32"},
220
220
  {"name": "processed_bytes", "type": "Int32"},
221
221
  {"name": "committed_messages", "type": "Int32"},
222
+ {"name": "time_process", "type": "Float32"},
222
223
  {"name": "msg", "type": "String"},
223
224
  ],
224
225
  },
@@ -879,6 +880,7 @@ def get_organization_service_datasources() -> List[Dict[str, Any]]:
879
880
  {"name": "processed_messages", "type": "Int32"},
880
881
  {"name": "processed_bytes", "type": "Int32"},
881
882
  {"name": "committed_messages", "type": "Int32"},
883
+ {"name": "time_process", "type": "Float32"},
882
884
  {"name": "msg", "type": "String"},
883
885
  ],
884
886
  },
tinybird/tb/__cli__.py CHANGED
@@ -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.5.10.dev0'
8
- __revision__ = 'f7f4fc9'
7
+ __version__ = '4.5.11.dev0'
8
+ __revision__ = 'e0b2a62'
@@ -503,7 +503,6 @@ def persist_tinybird_config(root_folder: str, project_type: str, dev_mode: str,
503
503
  config_path = Path(root_folder) / "tinybird.config.json"
504
504
  config_data: Dict[str, Any] = {}
505
505
  created = not config_path.exists()
506
- include = [folder]
507
506
 
508
507
  if config_path.exists():
509
508
  try:
@@ -516,17 +515,17 @@ def persist_tinybird_config(root_folder: str, project_type: str, dev_mode: str,
516
515
  if project_type == "typescript":
517
516
  updates = {
518
517
  "devMode": dev_mode,
519
- "include": include,
518
+ "folder": folder,
520
519
  }
521
- keys_to_remove = ("type", "projectType", "project_type", "dev_mode", "sdk", "folder")
522
- preferred_order = ("devMode", "include")
520
+ keys_to_remove = ("type", "projectType", "project_type", "dev_mode", "sdk", "include")
521
+ preferred_order = ("devMode", "folder")
523
522
  else:
524
523
  updates = {
525
524
  "dev_mode": dev_mode,
526
- "include": include,
525
+ "folder": folder,
527
526
  }
528
- keys_to_remove = ("type", "projectType", "project_type", "devMode", "sdk", "folder")
529
- preferred_order = ("dev_mode", "include")
527
+ keys_to_remove = ("type", "projectType", "project_type", "devMode", "sdk", "include")
528
+ preferred_order = ("dev_mode", "folder")
530
529
 
531
530
  changed = False
532
531
  for key in keys_to_remove:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: tinybird
3
- Version: 4.5.10.dev0
3
+ Version: 4.5.11.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.5.10
56
+ *******
57
+
58
+ - `Fixed` `tb init` now persists `folder` in `tinybird.config.json`, so subsequent resource creation targets the configured project folder instead of the repository root.
59
+
55
60
  4.5.9
56
61
  *******
57
62
 
@@ -3,7 +3,7 @@ tinybird/datatypes.py,sha256=Lr8BIaRP--qzuZFpAdv20uQaeE1BOAMmuEwWVHheFPw,11355
3
3
  tinybird/feedback_manager.py,sha256=OehfKVruCHwUNN1bHIbDICvOaIovc3hb6RjGHTyIkBc,67667
4
4
  tinybird/git_settings.py,sha256=mqWgeboOlOFsSo97qyv595UCR2R1QCAqT4GTawBNPBg,3935
5
5
  tinybird/prompts.py,sha256=F8ic_mGId50MDJmg5ec8i5BDavxz9SWtocLXqgO0IRY,45689
6
- tinybird/service_datasources.py,sha256=B6Dvs-xROZHm0tDsjGzLwSx4Aj9I4LKGGM9nuNW1Kjk,58354
6
+ tinybird/service_datasources.py,sha256=S73jQSvyiz0ZwPM2R2D47VixpvGQ5H5ToT8xo4TXdyE,58476
7
7
  tinybird/sql.py,sha256=8pvjlKwdJ-PuJkCo57W8e1gj5z0RzUP7vOnum6Pi134,48901
8
8
  tinybird/sql_template.py,sha256=_J-QmHos4Sx9YS6tVsEyE68qrcFbj13VwCA1zB3Sz8Q,128634
9
9
  tinybird/sql_template_fmt.py,sha256=Ma4qcs-2r8ZXQC4GUmrCqYz34DsnGF8k5lE2Jwnr314,10638
@@ -17,7 +17,7 @@ tinybird/datafile/exceptions.py,sha256=8rw2umdZjtby85QbuRKFO5ETz_eRHwUY5l7eHsy1w
17
17
  tinybird/datafile/parse_connection.py,sha256=GxmGp_XnWbDZPDbh_PBxitlIMqZRYfDwxMBw-JQBp1g,1890
18
18
  tinybird/datafile/parse_datasource.py,sha256=yd58HrUF4yNJXLn6OsvKGpZJpvrcjLGAeJG1lgBe_zk,1891
19
19
  tinybird/datafile/parse_pipe.py,sha256=-9bbgVuiWRyDYydrLVflDBt8GstZotMy6dklsrc6MUY,3859
20
- tinybird/tb/__cli__.py,sha256=Rbby-Jw_vKgXgOm5ckVwKMg3BgXjQnCpcq2uM9zgUxU,246
20
+ tinybird/tb/__cli__.py,sha256=HxxzL877RFiQy3_jlzD0hoa-Yu7k_2Pm-CXcwOrtIV8,246
21
21
  tinybird/tb/check_pypi.py,sha256=Gp0HkHHDFMSDL6nxKlOY51z7z1Uv-2LRexNTZSHHGmM,552
22
22
  tinybird/tb/cli.py,sha256=IjiGfNIpxSxi1odK1kMj9s8lEhx3sAUgGA263XdmyR0,1119
23
23
  tinybird/tb/client.py,sha256=RM8VQwPZFonfvejuTf3oT09XbJmq7pD5VLzFt4zoBGM,53910
@@ -33,7 +33,7 @@ tinybird/tb/modules/connection.py,sha256=SzTguZEjH_wrfloeFTiXT4cBSQkVsKy2gz2OWYD
33
33
  tinybird/tb/modules/connection_kafka.py,sha256=Ay9VqRUehjq_5bSFCNXfYrSo-wsa2FrVpISShmFxYRs,17172
34
34
  tinybird/tb/modules/connection_s3.py,sha256=-Sj9d7xAJXbpr8JHioCqrO2hneJ1spoBE4QpYEfiyS8,16565
35
35
  tinybird/tb/modules/copy.py,sha256=Apzjxiyinp6KmgamypPKEe3BAnpxG7MwYcSYkHiG8sA,6033
36
- tinybird/tb/modules/create.py,sha256=UsHCgWxkiz-cDBCmXp-G7zyQGHvu1r6X-ywPRz_jxgo,21231
36
+ tinybird/tb/modules/create.py,sha256=raZVlGkEHOfyNzvqlQNQ_oCEUbN1xxxyKhwgCbocVRo,21204
37
37
  tinybird/tb/modules/datasource.py,sha256=52P3qz4Su9OCNOyXy5JnbkN3miMgxsfJ5AdJiJ9nFAI,64455
38
38
  tinybird/tb/modules/deployment.py,sha256=TNDlvaYmk-zouvaAdMXlyFPbgbnMKQOt76xpZBggJI0,21184
39
39
  tinybird/tb/modules/deployment_common.py,sha256=fLPWNNs8ZwSkWHJjLeqQUqTbKqnnhW1y8yKffBdDCo0,31948
@@ -97,8 +97,8 @@ tinybird/tb_cli_modules/config.py,sha256=0kFDmsDcjKon32rgFGMHHKSbv4j5dOrXtVOlyuA
97
97
  tinybird/tb_cli_modules/exceptions.py,sha256=pmucP4kTF4irIt7dXiG-FcnI-o3mvDusPmch1L8RCWk,3367
98
98
  tinybird/tb_cli_modules/regions.py,sha256=QjsL5H6Kg-qr0aYVLrvb1STeJ5Sx_sjvbOYO0LrEGMk,166
99
99
  tinybird/tb_cli_modules/telemetry.py,sha256=W098H6jmS4kpE7hN3tadaREBTf7oMocel-lkKWN0pU8,10466
100
- tinybird-4.5.10.dev0.dist-info/METADATA,sha256=F8x26ajbHWZZGE-4ExSH1M6ZZU1imDwmPTaYwuHhY1o,10775
101
- tinybird-4.5.10.dev0.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
102
- tinybird-4.5.10.dev0.dist-info/entry_points.txt,sha256=LwdHU6TfKx4Qs7BqqtaczEZbImgU7Abe9Lp920zb_fo,43
103
- tinybird-4.5.10.dev0.dist-info/top_level.txt,sha256=ZIQJTPCzMqnfDzM_hEGZrJqDSEcKnIK_49T86DGWpyQ,78
104
- tinybird-4.5.10.dev0.dist-info/RECORD,,
100
+ tinybird-4.5.11.dev0.dist-info/METADATA,sha256=qNQYezXXWrrqV49qB2PzbKw-pi9WJJBP4DcvFcNV_eQ,10963
101
+ tinybird-4.5.11.dev0.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
102
+ tinybird-4.5.11.dev0.dist-info/entry_points.txt,sha256=LwdHU6TfKx4Qs7BqqtaczEZbImgU7Abe9Lp920zb_fo,43
103
+ tinybird-4.5.11.dev0.dist-info/top_level.txt,sha256=ZIQJTPCzMqnfDzM_hEGZrJqDSEcKnIK_49T86DGWpyQ,78
104
+ tinybird-4.5.11.dev0.dist-info/RECORD,,