tinybird 0.0.1.dev227__py3-none-any.whl → 0.0.1.dev228__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.

Potentially problematic release.


This version of tinybird might be problematic. Click here for more details.

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__ = '0.0.1.dev227'
8
- __revision__ = 'fb681ea'
7
+ __version__ = '0.0.1.dev228'
8
+ __revision__ = '1a9e75c'
@@ -177,7 +177,7 @@ class CICDGeneratorBase:
177
177
  continue
178
178
  with open(f"{path}/{cicd_file.full_path}", "wb") as f:
179
179
  f.write(content)
180
- click.echo(FeedbackManager.info(message=cicd_file.full_path.replace("./.", ".")))
180
+ click.echo(FeedbackManager.info_file_created(file=cicd_file.full_path.replace("./.", ".")))
181
181
  if cicd_file.warning_message is not None:
182
182
  return FeedbackManager.warning_for_cicd_file(
183
183
  file_name=cicd_file.file_name, warning_message=cicd_file.warning_message.format(**params)
@@ -120,7 +120,7 @@ async def create(
120
120
  )
121
121
  readme_result = extract_xml(readme_response, "readme")
122
122
  readme_path.write_text(readme_result)
123
- click.echo(FeedbackManager.info(message="README.md"))
123
+ click.echo(FeedbackManager.info_file_created(file="README.md"))
124
124
  created_something = True
125
125
 
126
126
  if data or prompt:
@@ -142,14 +142,14 @@ async def create(
142
142
  if not already_has_cursor_rules(root_folder):
143
143
  click.echo(FeedbackManager.highlight(message="\n» Creating rules..."))
144
144
  create_rules(root_folder, "tb", agent)
145
- click.echo(FeedbackManager.info(message=".cursorrules"))
145
+ click.echo(FeedbackManager.info_file_created(file=".cursorrules"))
146
146
  click.echo(FeedbackManager.success(message="✓ Done!\n"))
147
147
  created_something = True
148
148
 
149
149
  if not already_has_claude_rules(root_folder):
150
150
  click.echo(FeedbackManager.highlight(message="\n» Creating Claude Code rules..."))
151
151
  create_claude_rules(root_folder, "tb")
152
- click.echo(FeedbackManager.info(message="CLAUDE.md"))
152
+ click.echo(FeedbackManager.info_file_created(file="CLAUDE.md"))
153
153
  click.echo(FeedbackManager.success(message="✓ Done!\n"))
154
154
  created_something = True
155
155
 
@@ -170,7 +170,7 @@ async def create(
170
170
 
171
171
  ds_name = ds_path.stem
172
172
  datasource_path = Path(folder) / "datasources" / f"{ds_name}.datasource"
173
- click.echo(FeedbackManager.info(message=f"/fixtures/{ds_name}.{data_format}"))
173
+ click.echo(FeedbackManager.info_file_created(file=f"fixtures/{ds_name}.{data_format}"))
174
174
  persist_fixture(ds_name, data_content, folder, format=data_format)
175
175
  click.echo(FeedbackManager.success(message="✓ Done!"))
176
176
  created_something = True
@@ -196,7 +196,7 @@ async def create(
196
196
  )
197
197
  if mock_data:
198
198
  persist_fixture(datasource_name, mock_data, folder, format="ndjson")
199
- click.echo(FeedbackManager.info(message=f"/fixtures/{datasource_name}.ndjson"))
199
+ click.echo(FeedbackManager.info_file_created(file=f"fixtures/{datasource_name}.ndjson"))
200
200
  click.echo(FeedbackManager.success(message="✓ Done!"))
201
201
  created_something = True
202
202
 
@@ -285,7 +285,7 @@ def create_project_structure(folder: str):
285
285
  f = folder_path / path
286
286
  f.mkdir()
287
287
  click.echo(
288
- FeedbackManager.info(message=f"/{x} ") + FeedbackManager.gray(message=PROJECT_PATHS_DESCRIPTIONS[x])
288
+ FeedbackManager.info(message=f"./{x} ") + FeedbackManager.gray(message=PROJECT_PATHS_DESCRIPTIONS[x])
289
289
  )
290
290
  except FileExistsError:
291
291
  pass
@@ -386,7 +386,7 @@ def init_git(folder: str):
386
386
  else:
387
387
  gitignore_file.write_text(".tinyb\n.terraform\n")
388
388
 
389
- click.echo(FeedbackManager.info(message=".gitignore"))
389
+ click.echo(FeedbackManager.info_file_created(file=".gitignore"))
390
390
  except Exception as e:
391
391
  raise Exception(f"Error initializing Git: {e}")
392
392
 
@@ -895,9 +895,9 @@ STEP 3: ADD KEY TO SERVICE ACCOUNT
895
895
  info_removing_pipe = info_message("** Removing pipe {pipe}")
896
896
  info_removing_pipe_not_found = info_message("** {pipe} not found")
897
897
  info_dry_removing_pipe = info_message("** [DRY RUN] Removing pipe {pipe}")
898
- info_path_created = info_message("/{path}")
899
- info_file_created = info_message("/{file}")
900
- info_path_already_exists = info_message("/{path} already exists, skipping")
898
+ info_path_created = info_message("./{path}")
899
+ info_file_created = info_message("./{file}")
900
+ info_path_already_exists = info_message("./{path} already exists, skipping")
901
901
  info_dottinyb_already_ignored = info_message("** - '.tinyb' already in .gitignore, skipping")
902
902
  info_dotdifftemp_already_ignored = info_message("** - '.diff_tmp' not found or already in .gitignore, skipping")
903
903
  info_dottinyenv_already_exists = info_message("** - '.tinyenv' already exists, skipping")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: tinybird
3
- Version: 0.0.1.dev227
3
+ Version: 0.0.1.dev228
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://www.tinybird.co/docs/forward/commands
6
6
  Author: Tinybird
@@ -17,26 +17,26 @@ tinybird/datafile/exceptions.py,sha256=8rw2umdZjtby85QbuRKFO5ETz_eRHwUY5l7eHsy1w
17
17
  tinybird/datafile/parse_connection.py,sha256=tRyn2Rpr1TeWet5BXmMoQgaotbGdYep1qiTak_OqC5E,1825
18
18
  tinybird/datafile/parse_datasource.py,sha256=ssW8QeFSgglVFi3sDZj_HgkJiTJ2069v2JgqnH3CkDE,1825
19
19
  tinybird/datafile/parse_pipe.py,sha256=xf4m0Tw44QWJzHzAm7Z7FwUoUUtr7noMYjU1NiWnX0k,3880
20
- tinybird/tb/__cli__.py,sha256=bdwbydz09zd69DBetuXj8DqeYT9D9ltPTGrpVsC4rT8,247
20
+ tinybird/tb/__cli__.py,sha256=6UmdzNjS-aX3yoDOzf3ApvaWpj5UPI69igaZUUi7P1A,247
21
21
  tinybird/tb/check_pypi.py,sha256=i3l2L8IajeB7sreikR7oPlYJki9MtS3c_M4crnmbByc,760
22
22
  tinybird/tb/cli.py,sha256=0xYk2Ip4vb3nNFbxfTdG3VoIgdRvUKVbUVU_mviErPA,1107
23
23
  tinybird/tb/client.py,sha256=FKj61vY9STPW03kfVcxYuY1_csI-kP-mc1ERQfqJtg8,56505
24
24
  tinybird/tb/config.py,sha256=jT9xndpeCY_g0HdB5qE2EquC0TFRRnkPnQFWZWd04jo,3998
25
25
  tinybird/tb/modules/build.py,sha256=T36msoBK5g9AZlrJnFRPvlZbrdE265LY1q3Y4YqvS3w,20067
26
- tinybird/tb/modules/cicd.py,sha256=Njb6eZOHHbUkoJJx6KoixO9PsfA_T-3Ybkya9-50Ca8,7328
26
+ tinybird/tb/modules/cicd.py,sha256=H22MaMsqAeDv-OmeHFOlUOAmfNzEzTFaEV9TQ0g4ehs,7338
27
27
  tinybird/tb/modules/cli.py,sha256=zTUob6oSZszCx-lk6MJbQ_VuNOXBo8b0DOHPWezzMOg,15997
28
28
  tinybird/tb/modules/common.py,sha256=F6oaoFZ3aBxEMjiDKYhthsEIUqSFPkcdlMJ7h7A49Ac,83114
29
29
  tinybird/tb/modules/config.py,sha256=VnzYVUo4q1RBEEMMce4_OCrKp4erhgkRPHElydVlKj0,11488
30
30
  tinybird/tb/modules/connection.py,sha256=dAOv8z3ym9Tt62j7AI8R9PgFwgiCIFdgIMpUiMdtxaQ,18906
31
31
  tinybird/tb/modules/copy.py,sha256=zHN1d5NA-MFsgbk2kKJq2P9qA8dNOnIsIa60QpVnSwc,4458
32
- tinybird/tb/modules/create.py,sha256=Ht8Ze-iVqgpVUIVWyGcXnkuh9D5D4Bg_dXK_-XH200U,23317
32
+ tinybird/tb/modules/create.py,sha256=56_x6nwj_oAr72X7AvdxXAuXCDKGJp-w1dP6E2XdxqU,23376
33
33
  tinybird/tb/modules/datasource.py,sha256=UiQXDkSEmQIPj4NcUD_I4bAJe9IGVmlVW07yGgSu6kY,40941
34
34
  tinybird/tb/modules/deployment.py,sha256=ByXIgEvwxB49pJEKKj0EJIfORWyflCYr04k8961nBkA,28391
35
35
  tinybird/tb/modules/deprecations.py,sha256=rrszC1f_JJeJ8mUxGoCxckQTJFBCR8wREf4XXXN-PRc,4507
36
36
  tinybird/tb/modules/dev_server.py,sha256=57FCKuWpErwYUYgHspYDkLWEm9F4pbvVOtMrFXX1fVU,10129
37
37
  tinybird/tb/modules/endpoint.py,sha256=rC1CZiEZDMb5chByf4xZhv5PsfkoLeIVDScHQ-QcBsE,12072
38
38
  tinybird/tb/modules/exceptions.py,sha256=5jK91w1LPmtqIUfDpHe_Op5OxGz8-p1BPgtLREMIni0,5217
39
- tinybird/tb/modules/feedback_manager.py,sha256=SMaoDjz-JGfh6hUxRiaGf2JOYZa_afDL8QFITA_M1mQ,77963
39
+ tinybird/tb/modules/feedback_manager.py,sha256=5N2S_ymq0nJPQcFetzoQOWfR6hhx8_gaTp318pe76zU,77966
40
40
  tinybird/tb/modules/info.py,sha256=NqSsoyzFqbtUEGH_tSowNOI_jSsNuixibln6-plsfOY,6810
41
41
  tinybird/tb/modules/infra.py,sha256=fve30Gj3mG9zbquGxS2e4ipcOYOxviWQCpNFfEzJN_Q,33195
42
42
  tinybird/tb/modules/job.py,sha256=AsUCRNzy7HG5oJ4fyk9NpIm5NtNJgBZSy8MtJdXBe5A,3167
@@ -82,8 +82,8 @@ tinybird/tb_cli_modules/config.py,sha256=IsgdtFRnUrkY8-Zo32lmk6O7u3bHie1QCxLwgp4
82
82
  tinybird/tb_cli_modules/exceptions.py,sha256=pmucP4kTF4irIt7dXiG-FcnI-o3mvDusPmch1L8RCWk,3367
83
83
  tinybird/tb_cli_modules/regions.py,sha256=QjsL5H6Kg-qr0aYVLrvb1STeJ5Sx_sjvbOYO0LrEGMk,166
84
84
  tinybird/tb_cli_modules/telemetry.py,sha256=Hh2Io8ZPROSunbOLuMvuIFU4TqwWPmQTqal4WS09K1A,10449
85
- tinybird-0.0.1.dev227.dist-info/METADATA,sha256=ATySV79DRVsR1RBCe2jBBvtCvhieE6I4n25hd5K0XqU,1682
86
- tinybird-0.0.1.dev227.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
87
- tinybird-0.0.1.dev227.dist-info/entry_points.txt,sha256=LwdHU6TfKx4Qs7BqqtaczEZbImgU7Abe9Lp920zb_fo,43
88
- tinybird-0.0.1.dev227.dist-info/top_level.txt,sha256=VqqqEmkAy7UNaD8-V51FCoMMWXjLUlR0IstvK7tJYVY,54
89
- tinybird-0.0.1.dev227.dist-info/RECORD,,
85
+ tinybird-0.0.1.dev228.dist-info/METADATA,sha256=-XnISmLBDTR6JLoON6Q6W3v4uFAflsOiBq2yHlQOfFI,1682
86
+ tinybird-0.0.1.dev228.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
87
+ tinybird-0.0.1.dev228.dist-info/entry_points.txt,sha256=LwdHU6TfKx4Qs7BqqtaczEZbImgU7Abe9Lp920zb_fo,43
88
+ tinybird-0.0.1.dev228.dist-info/top_level.txt,sha256=VqqqEmkAy7UNaD8-V51FCoMMWXjLUlR0IstvK7tJYVY,54
89
+ tinybird-0.0.1.dev228.dist-info/RECORD,,