tinybird 0.0.1.dev289__py3-none-any.whl → 0.0.1.dev291__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.
@@ -1870,7 +1870,7 @@ def parse(
1870
1870
 
1871
1871
  for entries in args:
1872
1872
  # In case they specify multiple workspaces, handle both line-separated and comma-separated values
1873
- lines = entries.splitlines()
1873
+ lines = _unquote(entries).splitlines()
1874
1874
  for line in lines:
1875
1875
  # Split by comma and strip whitespace from each workspace name
1876
1876
  workspaces = [workspace.strip().rstrip(",") for workspace in line.split(",") if workspace.strip()]
@@ -1957,7 +1957,7 @@ def parse(
1957
1957
  "import_query": assign_var("import_query"), # Deprecated, BQ and SFK
1958
1958
  "import_table_arn": assign_var("import_table_arn"), # Only for DynamoDB
1959
1959
  "import_export_bucket": assign_var("import_export_bucket"), # For DynamoDB
1960
- "shared_with": shared_with, # Not supported yet
1960
+ "shared_with": shared_with,
1961
1961
  "export_service": export_service, # Deprecated
1962
1962
  "forward_query": sql("forward_query"),
1963
1963
  "backfill": assign_var("backfill", allowed_values={"skip"}),
tinybird/sql.py CHANGED
@@ -7,6 +7,9 @@ from typing import Any, Dict, Iterable, List, Optional
7
7
 
8
8
  valid_chars_name: str = string.ascii_letters + string.digits + "._`*<>+-'"
9
9
  valid_chars_fn: str = valid_chars_name + "[](),=!?:/ \n\t\r"
10
+ # Use sets for O(1) membership checks in hot loops
11
+ _VALID_CHARS_NAME_SET = set(valid_chars_name)
12
+ _VALID_CHARS_FN_SET = set(valid_chars_fn)
10
13
 
11
14
  INDEX_WHITELIST = ["minmax", "set", "bloom_filter", "ngrambf_v1", "tokenbf_v1"]
12
15
  INDEX_SUPPORTED_TYPES = {
@@ -28,6 +31,15 @@ INDEX_SUPPORTED_TYPES = {
28
31
  "ngrambf_v1": ["String", "FixedString", "Map"],
29
32
  }
30
33
 
34
+ # Precompiled regexes used across functions to avoid recompilation overhead
35
+ _RE_FORMAT = re.compile(r"\s+format\s+(\w+)\s*$", re.IGNORECASE)
36
+ _RE_REMOVE_FORMAT = re.compile(r"\s+(format)\s+(\w+)\s*$", re.IGNORECASE)
37
+ _RE_TRY_FIX_NULLABLE_SAF = re.compile(r"SimpleAggregateFunction\((\w+),\s*(?!(?:Nullable))([\w,.()]+)\)")
38
+ _RE_INDEX_ENTRY = re.compile(
39
+ r"(\w+)\s+([\w\s*\[\]\*\(\),\'\"-><.]+)\s+TYPE\s+(\w+)(?:\(([\w\s*.,]+)\))?(?:\s+GRANULARITY\s+(\d+))?"
40
+ )
41
+ _RE_REPLICATED_MT = re.compile(r"Replicated(.*)MergeTree\(([^\)]*)\)(.*)")
42
+
31
43
 
32
44
  @dataclass
33
45
  class TableIndex:
@@ -137,10 +149,9 @@ def get_format(sql: str) -> Optional[str]:
137
149
  >>> get_format('select * from test formAt JSON')
138
150
  'JSON'
139
151
  """
140
- FORMAT_RE = r"\s+format\s+(\w+)\s*$"
141
152
  sql = sql.strip()
142
- format = re.findall(FORMAT_RE, sql, re.IGNORECASE)
143
- return format[0] if format else None
153
+ match = _RE_FORMAT.findall(sql)
154
+ return match[0] if match else None
144
155
 
145
156
 
146
157
  def get_format_group(sql: str) -> str:
@@ -151,10 +162,9 @@ def get_format_group(sql: str) -> str:
151
162
  >>> get_format_group('select * from test formAt JSON')
152
163
  ' formAt JSON'
153
164
  """
154
- FORMAT_RE = r"\s+format\s+(\w+)\s*$"
155
165
  sql = sql.strip()
156
- format = re.search(FORMAT_RE, sql, re.IGNORECASE)
157
- return format.group() if format else ""
166
+ match = _RE_FORMAT.search(sql)
167
+ return match.group() if match else ""
158
168
 
159
169
 
160
170
  def wrap_finalize_aggregation(sql: str, describe_result: Dict[str, Any], fm_group: Optional[str] = None) -> str:
@@ -186,9 +196,8 @@ def remove_format(sql: str) -> str:
186
196
  >>> remove_format('select * from test formAt JSON')
187
197
  'select * from test'
188
198
  """
189
- FORMAT_RE = r"\s+(format)\s+(\w+)\s*$"
190
199
  sql = sql.strip()
191
- return re.sub(FORMAT_RE, "", sql, flags=re.IGNORECASE)
200
+ return _RE_REMOVE_FORMAT.sub("", sql)
192
201
 
193
202
 
194
203
  def col_name(name: str, backquotes: bool = True) -> str:
@@ -220,7 +229,7 @@ def try_to_fix_nullable_in_simple_aggregating_function(t: str) -> Optional[str]:
220
229
  # as it is done with other aggregate functions.
221
230
  # If not, the aggregation could return incorrect results.
222
231
  result = None
223
- if match := re.search(r"SimpleAggregateFunction\((\w+),\s*(?!(?:Nullable))([\w,.()]+)\)", t):
232
+ if match := _RE_TRY_FIX_NULLABLE_SAF.search(t):
224
233
  fn = match.group(1)
225
234
  inner_type = match.group(2)
226
235
  result = f"SimpleAggregateFunction({fn}, Nullable({inner_type}))"
@@ -342,10 +351,7 @@ def parse_indexes_structure(indexes: Optional[List[str]]) -> List[TableIndex]:
342
351
  if index.count("TYPE") != 1:
343
352
  raise ValueError("invalid INDEX format. Usage: `name expr TYPE type_full GRANULARITY granularity`")
344
353
 
345
- match = re.match(
346
- r"(\w+)\s+([\w\s*\[\]\*\(\),\'\"-><.]+)\s+TYPE\s+(\w+)(?:\(([\w\s*.,]+)\))?(?:\s+GRANULARITY\s+(\d+))?",
347
- index,
348
- )
354
+ match = _RE_INDEX_ENTRY.match(index)
349
355
  if match:
350
356
  index_name, a, index_type, value, granularity = match.groups()
351
357
  index_expr = f"{index_type}({value})" if value else index_type
@@ -552,7 +558,7 @@ def clean_comments(schema_to_clean: str) -> str:
552
558
  if i + 1 < len(line) and line[i] == "-" and line[i + 1] == "-" and not inside_json_path:
553
559
  return line[:i].strip()
554
560
 
555
- if not inside_json_path and line[i:].startswith("`json:"):
561
+ if not inside_json_path and line.startswith("`json:", i):
556
562
  inside_json_path = True
557
563
  elif inside_json_path and line[i] == "`":
558
564
  inside_json_path = False
@@ -562,12 +568,12 @@ def clean_comments(schema_to_clean: str) -> str:
562
568
  if schema_to_clean is None:
563
569
  return schema_to_clean
564
570
 
565
- cleaned_schema = ""
571
+ out_lines: List[str] = []
566
572
  for line in schema_to_clean.splitlines():
567
573
  cleaned_line = clean_line_comments(line)
568
574
  if cleaned_line:
569
- cleaned_schema += cleaned_line + "\n"
570
- return cleaned_schema.strip()
575
+ out_lines.append(cleaned_line)
576
+ return "\n".join(out_lines).strip()
571
577
 
572
578
 
573
579
  SyntaxExpr = namedtuple("SyntaxExpr", ["name", "regex"])
@@ -608,9 +614,9 @@ def _parse_table_structure(schema: str) -> List[Dict[str, Any]]:
608
614
 
609
615
  # Find the first SyntaxExpr in lookup that matches the schema at the current offset
610
616
  def lookahead_matches(lookup: Iterable) -> Optional[SyntaxExpr]:
617
+ # Use substring to preserve semantics of patterns anchored to end ($)
611
618
  s = schema[i:]
612
- match = next((x for x in lookup if x.regex.match(s)), None)
613
- return match
619
+ return next((x for x in lookup if x.regex.match(s)), None)
614
620
 
615
621
  def advance_single_char() -> None:
616
622
  nonlocal i, line, pos
@@ -647,7 +653,7 @@ def _parse_table_structure(schema: str) -> List[Dict[str, Any]]:
647
653
  c = schema[i]
648
654
  if c in " \t\r\n":
649
655
  return schema[begin:i]
650
- if c not in valid_chars_name:
656
+ if c not in _VALID_CHARS_NAME_SET:
651
657
  raise ValueError(
652
658
  format_parse_error(schema, i, pos, "wrong value, please check the schema syntax", line=line)
653
659
  )
@@ -677,7 +683,9 @@ def _parse_table_structure(schema: str) -> List[Dict[str, Any]]:
677
683
  context_stack.append("(")
678
684
  elif context is None and lookahead_matches(lookup):
679
685
  return schema[begin:i].strip(" \t\r\n")
680
- elif (context is None and c not in valid_chars_fn) or (context == "(" and c not in valid_chars_fn):
686
+ elif (context is None and c not in _VALID_CHARS_FN_SET) or (
687
+ context == "(" and c not in _VALID_CHARS_FN_SET
688
+ ):
681
689
  raise ValueError(
682
690
  format_parse_error(schema, i, pos, "wrong value, please check the schema syntax", line=line)
683
691
  )
@@ -884,7 +892,7 @@ def engine_replicated_to_local(engine: str) -> str:
884
892
  if "Replicated" not in engine:
885
893
  return engine
886
894
 
887
- return re.sub(r"Replicated(.*)MergeTree\(([^\)]*)\)(.*)", _replace, engine.strip())
895
+ return _RE_REPLICATED_MT.sub(_replace, engine.strip())
888
896
 
889
897
 
890
898
  def engine_patch_replicated_engine(engine: str, engine_full: Optional[str], new_table_name: str) -> Optional[str]:
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.dev289'
8
- __revision__ = 'ac20837'
7
+ __version__ = '0.0.1.dev291'
8
+ __revision__ = '87da698'
@@ -23,6 +23,7 @@ from tinybird.tb.modules.agent.banner import display_banner
23
23
  from tinybird.tb.modules.agent.command_agent import CommandAgent
24
24
  from tinybird.tb.modules.agent.compactor import compact_messages
25
25
  from tinybird.tb.modules.agent.explore_agent import ExploreAgent
26
+ from tinybird.tb.modules.agent.file_agent import FileAgent
26
27
  from tinybird.tb.modules.agent.memory import (
27
28
  clear_history,
28
29
  clear_messages,
@@ -185,6 +186,16 @@ class TinybirdAgent:
185
186
  workspace_id=workspace_id,
186
187
  project=self.project,
187
188
  )
189
+ self.file_agent = FileAgent(
190
+ dangerously_skip_permissions=self.dangerously_skip_permissions,
191
+ prompt_mode=prompt_mode,
192
+ thinking_animation=self.thinking_animation,
193
+ token=self.token,
194
+ user_token=self.user_token,
195
+ host=self.host,
196
+ workspace_id=workspace_id,
197
+ project=self.project,
198
+ )
188
199
 
189
200
  @self.agent.tool
190
201
  def manage_tests(ctx: RunContext[TinybirdAgentContext], task: str) -> str:
@@ -251,6 +262,19 @@ class TinybirdAgent:
251
262
  result = self.mock_agent.run(user_input, deps=ctx.deps, usage=ctx.usage)
252
263
  return result.output or "No result returned"
253
264
 
265
+ @self.agent.tool
266
+ def manage_files(ctx: RunContext[TinybirdAgentContext], task: str) -> str:
267
+ """List file/folders and read any type of file in the current directory. Use this tool when you need to list or read non Tinybird project files (e.g. .txt, .md).
268
+
269
+ Args:
270
+ task (str): The task to solve. Required.
271
+
272
+ Returns:
273
+ str: The result of the task.
274
+ """
275
+ result = self.file_agent.run(task, deps=ctx.deps, usage=ctx.usage)
276
+ return result.output or "No result returned"
277
+
254
278
  @self.agent.instructions
255
279
  def get_local_host(ctx: RunContext[TinybirdAgentContext]) -> str:
256
280
  return f"""
@@ -0,0 +1,64 @@
1
+ from pydantic_ai import Agent, Tool
2
+ from pydantic_ai.messages import ModelMessage
3
+ from pydantic_ai.usage import Usage
4
+
5
+ from tinybird.tb.modules.agent.animations import ThinkingAnimation
6
+ from tinybird.tb.modules.agent.models import create_model
7
+ from tinybird.tb.modules.agent.prompts import tone_and_style_instructions
8
+ from tinybird.tb.modules.agent.tools.file import list_files, read_file
9
+ from tinybird.tb.modules.agent.utils import TinybirdAgentContext
10
+ from tinybird.tb.modules.project import Project
11
+
12
+
13
+ class FileAgent:
14
+ def __init__(
15
+ self,
16
+ token: str,
17
+ user_token: str,
18
+ host: str,
19
+ workspace_id: str,
20
+ project: Project,
21
+ dangerously_skip_permissions: bool,
22
+ prompt_mode: bool,
23
+ thinking_animation: ThinkingAnimation,
24
+ ):
25
+ self.token = token
26
+ self.user_token = user_token
27
+ self.host = host
28
+ self.workspace_id = workspace_id
29
+ self.dangerously_skip_permissions = dangerously_skip_permissions or prompt_mode
30
+ self.project = project
31
+ self.thinking_animation = thinking_animation
32
+ self.messages: list[ModelMessage] = []
33
+ self.agent = Agent(
34
+ model=create_model(user_token, host, workspace_id),
35
+ deps_type=TinybirdAgentContext,
36
+ instructions=[
37
+ """
38
+ You are part of Tinybird Code, an agentic CLI that can help users to work with Tinybird.
39
+ You are a sub-agent of the main Tinybird Code agent. You are responsible for managing files.
40
+ You can do the following:
41
+ - List files in a directory.
42
+ - Read a file.
43
+
44
+ IMPORTANT: Use the `list_files` tool always before `read_file` to get the correct file path.
45
+ """,
46
+ tone_and_style_instructions,
47
+ ],
48
+ tools=[
49
+ Tool(list_files, docstring_format="google", require_parameter_descriptions=True, takes_ctx=True),
50
+ Tool(read_file, docstring_format="google", require_parameter_descriptions=True, takes_ctx=True),
51
+ ],
52
+ )
53
+
54
+ def run(self, task: str, deps: TinybirdAgentContext, usage: Usage):
55
+ result = self.agent.run_sync(
56
+ task,
57
+ deps=deps,
58
+ usage=usage,
59
+ message_history=self.messages,
60
+ model=create_model(self.user_token, self.host, self.workspace_id, run_id=deps.run_id),
61
+ )
62
+ new_messages = result.new_messages()
63
+ self.messages.extend(new_messages)
64
+ return result
@@ -24,7 +24,7 @@ def append_file(
24
24
  Args:
25
25
  datasource_name: Name of the datasource to append fixture to
26
26
  fixture_pathname: Path to the fixture file to append
27
- cloud: Whether to append the fixture to the cloud or local environment. If None (user didn't specify), will ask user to clarify. Defaults to local (False) in dangerous skip permissions mode.
27
+ cloud: Whether to append the fixture to the cloud or local environment. If None (user didn't specify in a previous step), will ask user to clarify. Defaults to local (False) in dangerous skip permissions mode.
28
28
 
29
29
  Returns:
30
30
  str: Message indicating the success or failure of the appending
@@ -54,6 +54,7 @@ def append_file(
54
54
 
55
55
  cloud_or_local = "Cloud" if cloud else "Local"
56
56
  active_plan = ctx.deps.get_plan() is not None and not cloud
57
+ ctx.deps.thinking_animation.stop()
57
58
  confirmation = show_confirmation(
58
59
  title=f"Append fixture {fixture_pathname} to datasource '{datasource_name}' in Tinybird {cloud_or_local}?",
59
60
  skip_confirmation=ctx.deps.dangerously_skip_permissions or active_plan,
@@ -0,0 +1,82 @@
1
+ from glob import glob
2
+ from pathlib import Path
3
+
4
+ import click
5
+ from pydantic_ai import RunContext
6
+
7
+ from tinybird.tb.modules.agent.utils import TinybirdAgentContext
8
+ from tinybird.tb.modules.feedback_manager import FeedbackManager
9
+
10
+
11
+ def list_files(
12
+ ctx: RunContext[TinybirdAgentContext],
13
+ folder_path: str = ".",
14
+ search_pattern: str = "*",
15
+ ) -> str:
16
+ """Lists all files and folders in a directory.
17
+
18
+ Args:
19
+ folder_path (str): The path to the directory to list. If not provided, it will list the files in the current directory. Default: "."
20
+ search_pattern (str): The pattern to search for in the files and folders. Default: "*"
21
+ Returns:
22
+ str: The list of files in the directory.
23
+ """
24
+ try:
25
+ ctx.deps.thinking_animation.stop()
26
+ if folder_path:
27
+ path = Path(folder_path)
28
+ else:
29
+ path = Path.cwd()
30
+
31
+ display_folder = "current directory" if (folder_path == "." or not folder_path) else folder_path
32
+
33
+ click.echo(
34
+ FeedbackManager.highlight(message=f"» Searching in {display_folder} with pattern '{search_pattern}'")
35
+ )
36
+
37
+ if not path.exists():
38
+ ctx.deps.thinking_animation.start()
39
+ return f"Folder {folder_path} does not exist"
40
+
41
+ result = glob(f"{path}/**/{search_pattern}", recursive=True)
42
+ folders = [f for f in result if Path(f).is_dir()]
43
+ files = [f for f in result if Path(f).is_file()]
44
+
45
+ ctx.deps.thinking_animation.start()
46
+ return f"Folders: {folders}\nFiles: {files}"
47
+ except Exception as e:
48
+ ctx.deps.thinking_animation.start()
49
+ return f"Error listing files: {e}"
50
+
51
+
52
+ def read_file(ctx: RunContext[TinybirdAgentContext], file_path: str) -> str:
53
+ """Reads a file from the local filesystem. The file_path parameter must be an absolute path, not a relative path. Any lines longer than 2000 characters will be truncated.
54
+
55
+ Args:
56
+ file_path (str): The path to the file to read.
57
+
58
+ Returns:
59
+ str: The content of the file.
60
+ """
61
+ try:
62
+ ctx.deps.thinking_animation.stop()
63
+ click.echo(FeedbackManager.highlight(message=f"» Reading file {file_path}"))
64
+ path = Path(file_path)
65
+
66
+ if not path.exists():
67
+ ctx.deps.thinking_animation.start()
68
+ return f"File {file_path} does not exist"
69
+
70
+ content = path.read_text()
71
+ chunks = content.split("\n")
72
+
73
+ if len(chunks) > 2000:
74
+ first_2000 = "\n".join(chunks[0:2000])
75
+ ctx.deps.thinking_animation.start()
76
+ return f"This file is too large to be read by the agent. Showing first 2000 lines instead:\n\n{first_2000}"
77
+
78
+ ctx.deps.thinking_animation.start()
79
+ return content
80
+ except Exception as e:
81
+ ctx.deps.thinking_animation.start()
82
+ return f"Error reading file: {e}"
@@ -212,16 +212,39 @@ def cli(
212
212
 
213
213
 
214
214
  @cli.command(hidden=True)
215
+ @click.option("--only-vendored", is_flag=True, default=False, help="Only update vendored files")
215
216
  @click.option("-f", "--force", is_flag=True, default=False, help="Override existing files")
216
217
  @click.option("--fmt", is_flag=True, default=False, help="Format files before saving")
217
218
  @click.pass_context
218
- def pull(ctx: Context, force: bool, fmt: bool) -> None:
219
+ def pull(ctx: Context, only_vendored: bool, force: bool, fmt: bool) -> None:
219
220
  """Retrieve latest versions for project files from Tinybird."""
220
221
 
221
222
  client = ctx.ensure_object(dict)["client"]
222
223
  project = ctx.ensure_object(dict)["project"]
223
224
 
224
- return folder_pull(client, project.path, force, fmt=fmt)
225
+ if only_vendored:
226
+ force = True
227
+
228
+ written_files = folder_pull(client, project.path, force, only_vendored=only_vendored, fmt=fmt)
229
+
230
+ if only_vendored:
231
+ for_user_to_delete = set(project.get_vendored_files()) - set(written_files)
232
+ if for_user_to_delete:
233
+ # TODO(eclbg): this prints the full path of the files. Let's print the relative path from the project root
234
+ display_paths = []
235
+ for full_path in for_user_to_delete:
236
+ try:
237
+ display_paths.append(str(Path(full_path).relative_to(project.path)))
238
+ except:
239
+ display_paths.append(full_path)
240
+ click.echo(
241
+ FeedbackManager.warning(
242
+ message=(
243
+ f"This workspace no longer has access to the following files: {display_paths}. "
244
+ "Please remove them manually to be able to deploy."
245
+ )
246
+ )
247
+ )
225
248
 
226
249
 
227
250
  @cli.command()
@@ -392,7 +415,7 @@ def create_ctx_client(
392
415
  if not command or command in commands_without_ctx_client:
393
416
  return None
394
417
 
395
- commands_always_cloud = ["pull", "infra"]
418
+ commands_always_cloud = ["infra"]
396
419
  commands_always_local = ["build", "dev"]
397
420
  command_always_test = ["test"]
398
421
 
@@ -121,12 +121,12 @@ def diff_command(
121
121
  if filenames:
122
122
  if len(filenames) == 1:
123
123
  filenames = [filenames[0], *get_project_filenames(filenames[0])]
124
- folder_pull(client, target_dir, True, verbose=False)
124
+ folder_pull(client, target_dir, True, only_vendored=False, verbose=False)
125
125
  else:
126
126
  filenames = get_project_filenames(".")
127
127
  if verbose:
128
128
  click.echo("Saving remote resources in .diff_tmp folder.\n")
129
- folder_pull(client, target_dir, True, verbose=verbose, progress_bar=progress_bar)
129
+ folder_pull(client, target_dir, True, verbose=verbose, only_vendored=False, progress_bar=progress_bar)
130
130
 
131
131
  remote_datasources: List[Dict[str, Any]] = client.datasources()
132
132
  remote_pipes: List[Dict[str, Any]] = client.pipes()
@@ -13,10 +13,11 @@ def folder_pull(
13
13
  client: TinyB,
14
14
  folder: str,
15
15
  force: bool,
16
+ only_vendored: bool,
16
17
  verbose: bool = True,
17
18
  progress_bar: bool = False,
18
19
  fmt: bool = False,
19
- ):
20
+ ) -> list[str]:
20
21
  def get_file_folder(extension: str, resource_type: Optional[str]):
21
22
  if extension == "datasource":
22
23
  return "datasources"
@@ -40,8 +41,8 @@ def folder_pull(
40
41
  get_resource_function: str,
41
42
  progress_bar: bool = False,
42
43
  fmt: bool = False,
43
- ):
44
- def write_resource(k: dict[str, Any]):
44
+ ) -> list[Path]:
45
+ def write_resource(k: dict[str, Any]) -> Optional[Path]:
45
46
  name = f"{k['name']}.{extension}"
46
47
  try:
47
48
  resource = getattr(client, get_resource_function)(k["name"])
@@ -72,59 +73,71 @@ def folder_pull(
72
73
  with open(f, "w") as fd:
73
74
  if resource_to_write:
74
75
  fd.write(resource_to_write)
76
+ return f
75
77
  else:
76
78
  if verbose:
77
79
  click.echo(FeedbackManager.info_skip_already_exists())
80
+ return None
78
81
  except Exception as e:
79
82
  raise click.ClickException(FeedbackManager.error_exception(error=e))
80
83
 
81
84
  if progress_bar:
85
+ written_files = []
82
86
  with click.progressbar(resources, label=f"Pulling {extension}s") as resources: # type: ignore
83
87
  for k in resources:
84
- write_resource(k)
88
+ written_file = write_resource(k)
89
+ if written_file:
90
+ written_files.append(written_file)
85
91
  else:
86
- tasks = [write_resource(k) for k in resources]
87
- _gather_with_concurrency(5, *tasks)
92
+ written_files = list(filter(None, (write_resource(k) for k in resources)))
93
+
94
+ return written_files
88
95
 
89
96
  try:
90
97
  datasources = client.datasources()
91
98
  pipes = client.pipes()
92
99
  connections = client.connections()
93
100
 
94
- write_files(
95
- resources=datasources,
96
- extension="datasource",
97
- get_resource_function="datasource_file",
98
- progress_bar=progress_bar,
99
- fmt=fmt,
100
- )
101
- write_files(
102
- resources=pipes,
103
- extension="pipe",
104
- get_resource_function="pipe_file",
105
- progress_bar=progress_bar,
106
- fmt=fmt,
107
- )
108
- write_files(
109
- resources=connections,
110
- extension="connection",
111
- get_resource_function="connection_file",
112
- progress_bar=progress_bar,
113
- fmt=fmt,
114
- )
115
- return
101
+ if only_vendored:
102
+ written_files = write_files(
103
+ resources=[ds for ds in datasources if "shared_from" in ds],
104
+ extension="datasource",
105
+ get_resource_function="datasource_file",
106
+ progress_bar=progress_bar,
107
+ fmt=fmt,
108
+ )
109
+ else:
110
+ written_files = []
111
+ written_files.extend(
112
+ write_files(
113
+ resources=datasources,
114
+ extension="datasource",
115
+ get_resource_function="datasource_file",
116
+ progress_bar=progress_bar,
117
+ fmt=fmt,
118
+ )
119
+ )
120
+ written_files.extend(
121
+ write_files(
122
+ resources=pipes,
123
+ extension="pipe",
124
+ get_resource_function="pipe_file",
125
+ progress_bar=progress_bar,
126
+ fmt=fmt,
127
+ )
128
+ )
129
+ written_files.extend(
130
+ write_files(
131
+ resources=connections,
132
+ extension="connection",
133
+ get_resource_function="connection_file",
134
+ progress_bar=progress_bar,
135
+ fmt=fmt,
136
+ )
137
+ )
138
+ return [str(wf) for wf in written_files]
116
139
 
117
140
  except AuthNoTokenException:
118
141
  raise
119
142
  except Exception as e:
120
143
  raise click.ClickException(FeedbackManager.error_pull(error=str(e)))
121
-
122
-
123
- def _gather_with_concurrency(n, *tasks):
124
- results = []
125
- for task in tasks:
126
- if callable(task):
127
- results.append(task())
128
- else:
129
- results.append(task)
130
- return results
@@ -222,6 +222,7 @@ def create_deployment(
222
222
  # TODO: This code is duplicated in build_server.py
223
223
  # Should be refactored to be shared
224
224
  MULTIPART_BOUNDARY_DATA_PROJECT = "data_project://"
225
+ MULTIPART_BOUNDARY_DATA_PROJECT_VENDORED = "data_project_vendored://"
225
226
  DATAFILE_TYPE_TO_CONTENT_TYPE = {
226
227
  ".datasource": "text/plain",
227
228
  ".pipe": "text/plain",
@@ -248,6 +249,13 @@ def create_deployment(
248
249
  with open(file_path, "rb") as fd:
249
250
  content_type = DATAFILE_TYPE_TO_CONTENT_TYPE.get(Path(file_path).suffix, "application/unknown")
250
251
  files.append((MULTIPART_BOUNDARY_DATA_PROJECT, (relative_path, fd.read().decode("utf-8"), content_type)))
252
+ for file_path in project.get_vendored_files():
253
+ relative_path = Path(file_path).relative_to(project.path).as_posix()
254
+ with open(file_path, "rb") as fd:
255
+ content_type = DATAFILE_TYPE_TO_CONTENT_TYPE.get(Path(file_path).suffix, "application/unknown")
256
+ files.append(
257
+ (MULTIPART_BOUNDARY_DATA_PROJECT_VENDORED, (relative_path, fd.read().decode("utf-8"), content_type))
258
+ )
251
259
 
252
260
  deployment = None
253
261
  try:
@@ -37,11 +37,13 @@ class Project:
37
37
  def has_deeper_level(self) -> bool:
38
38
  """Check if there are folders with depth greater than max_depth in project path.
39
39
 
40
+ Does not consider the vendor directory.
41
+
40
42
  Returns:
41
43
  bool: True if there are folders deeper than max_depth, False otherwise
42
44
  """
43
45
  for obj in glob.glob(f"{self.path}{'/*' * (self.max_depth - 1)}/*", recursive=False):
44
- if Path(obj).is_dir():
46
+ if Path(obj).is_dir() and self.vendor_path not in obj:
45
47
  return True
46
48
  return False
47
49
 
@@ -54,6 +56,13 @@ class Project:
54
56
  project_files.append(project_file)
55
57
  return project_files
56
58
 
59
+ def get_vendored_files(self) -> List[str]:
60
+ vendored_files: List[str] = []
61
+ for extension in self.extensions:
62
+ for level in range(3):
63
+ vendored_files.extend(glob.glob(f"{self.vendor_path}{'/*' * level}/*.{extension}", recursive=True))
64
+ return vendored_files
65
+
57
66
  def get_fixture_files(self) -> List[str]:
58
67
  fixture_files: List[str] = []
59
68
  for extension in [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: tinybird
3
- Version: 0.0.1.dev289
3
+ Version: 0.0.1.dev291
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://www.tinybird.co/docs/forward/commands
6
6
  Author: Tinybird
@@ -5,7 +5,7 @@ tinybird/feedback_manager.py,sha256=XY8d83pRlq-LH7xHMApkaEebfXEWLjDzrGe1prpcTHE,
5
5
  tinybird/git_settings.py,sha256=Sw_8rGmribEFJ4Z_6idrVytxpFYk7ez8ei0qHULzs3E,3934
6
6
  tinybird/prompts.py,sha256=HoDv9TxPiP8v2XoGTWYxP133dK9CEbXVv4XE5IT339c,45483
7
7
  tinybird/service_datasources.py,sha256=o6Az3T6OvcChR_7GXRu7sJH173KzGg1Gv-dNd0bI_vY,46085
8
- tinybird/sql.py,sha256=UZJLop6zA9tTPEaS-Fq7M-QyzmC5uV_tIeXZzkjnhso,48299
8
+ tinybird/sql.py,sha256=7pkwQMUVy0CH5zFgLMZyCx1BeaJSQYC05EmOb9vO3Ls,48694
9
9
  tinybird/sql_template.py,sha256=kaF5pi-f2JiWSYXEF8JsU1OIxvdu2homHnw4MYjq0n8,101953
10
10
  tinybird/sql_template_fmt.py,sha256=KUHdj5rYCYm_rKKdXYSJAE9vIyXUQLB0YSZnUXHeBlY,10196
11
11
  tinybird/sql_toolset.py,sha256=Y2_fQrbk5GSNoRncAmRS_snpV61XQbiOy4uYkeF6pr4,19767
@@ -13,12 +13,12 @@ tinybird/syncasync.py,sha256=IPnOx6lMbf9SNddN1eBtssg8vCLHMt76SuZ6YNYm-Yk,27761
13
13
  tinybird/tornado_template.py,sha256=jjNVDMnkYFWXflmT8KU_Ssbo5vR8KQq3EJMk5vYgXRw,41959
14
14
  tinybird/ch_utils/constants.py,sha256=v5-nkXHUhysu4i9Z4WVv0-sBbh6xSYUH5q5xHSY2xTI,4194
15
15
  tinybird/ch_utils/engine.py,sha256=4X1B-iuhdW_mxKnX_m3iCsxgP9RPVgR75g7yH1vsJ6A,40851
16
- tinybird/datafile/common.py,sha256=Cj-CyO6TKa9_31Mao5qQffIDDtoLnKfe93cubGF5S-Y,105670
16
+ tinybird/datafile/common.py,sha256=hr9Qv4Xot21l2dW6xKPa5_JUu8pnGuDNnVpDf8pgthc,105659
17
17
  tinybird/datafile/exceptions.py,sha256=8rw2umdZjtby85QbuRKFO5ETz_eRHwUY5l7eHsy1wnI,556
18
18
  tinybird/datafile/parse_connection.py,sha256=tRyn2Rpr1TeWet5BXmMoQgaotbGdYep1qiTak_OqC5E,1825
19
19
  tinybird/datafile/parse_datasource.py,sha256=ssW8QeFSgglVFi3sDZj_HgkJiTJ2069v2JgqnH3CkDE,1825
20
20
  tinybird/datafile/parse_pipe.py,sha256=xf4m0Tw44QWJzHzAm7Z7FwUoUUtr7noMYjU1NiWnX0k,3880
21
- tinybird/tb/__cli__.py,sha256=mQDawLTa-oQDyZZZYyjnBrWWRtaViQL0ZaN2lmv4e1E,247
21
+ tinybird/tb/__cli__.py,sha256=Etfq1IZSoQiHmnt8KFW5i_w4w_P9rnn-X56chF8OH3o,247
22
22
  tinybird/tb/check_pypi.py,sha256=Gp0HkHHDFMSDL6nxKlOY51z7z1Uv-2LRexNTZSHHGmM,552
23
23
  tinybird/tb/cli.py,sha256=FdDFEIayjmsZEVsVSSvRiVYn_FHOVg_zWQzchnzfWho,1008
24
24
  tinybird/tb/client.py,sha256=IQRaInDjOwr9Fzaz3_xXc3aUGqh94tM2lew7IZbB9eM,53733
@@ -26,7 +26,7 @@ tinybird/tb/config.py,sha256=mhMTGnMB5KcxGoh3dewIr2Jjsa6pHE183gCPAQWyp6o,3973
26
26
  tinybird/tb/modules/build.py,sha256=lSCbmrqDxqa8bG009qgp2nNRpQW7JWgSen7UQNCfLVE,7657
27
27
  tinybird/tb/modules/build_common.py,sha256=KGCtyY1JGexXXhcMVFI3e-gRavmRfCoZnfGPSTYHGxk,12962
28
28
  tinybird/tb/modules/cicd.py,sha256=0KLKccha9IP749QvlXBmzdWv1On3mFwMY4DUcJlBxiE,7326
29
- tinybird/tb/modules/cli.py,sha256=QpEGFMtmwqnJRaK1KAtKkLsKHeJ39VHU5wFkDJJiCnk,16748
29
+ tinybird/tb/modules/cli.py,sha256=-hkwg2ZIWPtldkLkgdY7RYWacOJtkMx58eqqYzMoMfw,17793
30
30
  tinybird/tb/modules/common.py,sha256=zY0PFDQVWjhu2MivBtUmcXtAlv7imgO-RG_PUK37XvI,83659
31
31
  tinybird/tb/modules/config.py,sha256=gK7rgaWTDd4ZKCrNEg_Uemr26EQjqWt6TjyQKujxOws,11462
32
32
  tinybird/tb/modules/connection.py,sha256=axp8Fny1_4PSLJGN4UF6WygyRbQtM3Lbt6thxHKTxzw,17790
@@ -34,7 +34,7 @@ tinybird/tb/modules/copy.py,sha256=dPZkcIDvxjJrlQUIvToO0vsEEEs4EYumbNV77-BzNoU,4
34
34
  tinybird/tb/modules/create.py,sha256=pJxHXG69c9Z_21s-7VuJ3RZOF_nJU51LEwiAkvI3dZY,23251
35
35
  tinybird/tb/modules/datasource.py,sha256=kDFHdxckTnRosk2829icfltQvlJd8EY5c9oWB5eS5Xo,41797
36
36
  tinybird/tb/modules/deployment.py,sha256=v0layOmG0IMnuXc3RT39mpGfa5M8yPlrL9F089fJFCo,15964
37
- tinybird/tb/modules/deployment_common.py,sha256=8Cc0VyKthmTnULiTKgciPyOGtf1kaRghC3Q00bZJbD4,19897
37
+ tinybird/tb/modules/deployment_common.py,sha256=ZX27oUw7u1ld20qiXH69j7m0DImOc5nckABZ37BPAn4,20406
38
38
  tinybird/tb/modules/deprecations.py,sha256=rrszC1f_JJeJ8mUxGoCxckQTJFBCR8wREf4XXXN-PRc,4507
39
39
  tinybird/tb/modules/dev_server.py,sha256=57FCKuWpErwYUYgHspYDkLWEm9F4pbvVOtMrFXX1fVU,10129
40
40
  tinybird/tb/modules/endpoint.py,sha256=ksRj6mfDb9Xv63PhTkV_uKSosgysHElqagg3RTt21Do,11958
@@ -55,7 +55,7 @@ tinybird/tb/modules/mock.py,sha256=ET8sRpmXnQsd2sSJXH_KCdREU1_XQgkORru6T357Akc,3
55
55
  tinybird/tb/modules/mock_common.py,sha256=72yKp--Zo40hrycUtiajSRW2BojOsgOZFqUorQ_KQ3w,2279
56
56
  tinybird/tb/modules/open.py,sha256=LYiuO8Z1I9O_v6pv58qpUCWFD6BT00BdeO21fRa4I4Y,1315
57
57
  tinybird/tb/modules/pipe.py,sha256=xPKtezhnWZ6k_g82r4XpgKslofhuIxb_PvynH4gdUzI,2393
58
- tinybird/tb/modules/project.py,sha256=_P6wUOFTY87ixE06SjfYIROMoVr6oipi6qHu-RAHLD8,7356
58
+ tinybird/tb/modules/project.py,sha256=tP6XuG8dR8QCA4pojlXZ7Am6EfS2h3Xnzw5lA3sdtlY,7747
59
59
  tinybird/tb/modules/regions.py,sha256=QjsL5H6Kg-qr0aYVLrvb1STeJ5Sx_sjvbOYO0LrEGMk,166
60
60
  tinybird/tb/modules/secret.py,sha256=9BIdh2PZDAbY2wRbf4ZDvkEltygztz1RMxgDmY1D0LI,3521
61
61
  tinybird/tb/modules/secret_common.py,sha256=8mEXOdNFrTuVWu7rgZ5-C8v-rB1EAdZQUHIyBIgwISI,1578
@@ -70,12 +70,13 @@ tinybird/tb/modules/watch.py,sha256=No0bK1M1_3CYuMaIgylxf7vYFJ72lTJe3brz6xQ-mJo,
70
70
  tinybird/tb/modules/workspace.py,sha256=tCP1zZMwBhLRGm22TGfpSd4cHvQLAS1o_azIXv_r6uw,11172
71
71
  tinybird/tb/modules/workspace_members.py,sha256=5JdkJgfuEwbq-t6vxkBhYwgsiTDxF790wsa6Xfif9nk,8608
72
72
  tinybird/tb/modules/agent/__init__.py,sha256=i3oe3vDIWWPaicdCM0zs7D7BJ1W0k7th93ooskHAV00,54
73
- tinybird/tb/modules/agent/agent.py,sha256=wxLG84pYfNdQPB1TI6Nkv_8Y_bO5lmOX3ht87gnmrwY,36315
73
+ tinybird/tb/modules/agent/agent.py,sha256=uVZ0yGOk4uRtF74mPHIYjawIDPSCweb5HCC7eLVuf2k,37339
74
74
  tinybird/tb/modules/agent/animations.py,sha256=4WOC5_2BracttmMCrV0H91tXfWcUzQHBUaIJc5FA7tE,3490
75
75
  tinybird/tb/modules/agent/banner.py,sha256=l6cO5Fi7lbVKp-GsBP8jf3IkjOWxg2jpAt9NBCy0WR8,4085
76
76
  tinybird/tb/modules/agent/command_agent.py,sha256=0Z08rQsir59zQAr-kkOvsKIFpIBsBSTGJJ1VgqqF5WA,3654
77
77
  tinybird/tb/modules/agent/compactor.py,sha256=BK5AxZFhrp3xWnsRnYaleiYoIWtVNc-_m650Hsopt8g,13841
78
78
  tinybird/tb/modules/agent/explore_agent.py,sha256=gyD5uV5TJwV24eeQiSwhkgfNPb4mtbeH7t2qSdoc18U,4100
79
+ tinybird/tb/modules/agent/file_agent.py,sha256=vE8VChVbG_-uyeBtp3I6QrXeNaPaVlVoNn4c9cGTAJA,2466
79
80
  tinybird/tb/modules/agent/memory.py,sha256=vBewB_64L_wHoT4tLT6UX2uxcHwSY880QZ26F9rPqXs,3793
80
81
  tinybird/tb/modules/agent/mock_agent.py,sha256=zbAZfAqdSLUtMr2VqO0erWpzjT2F1tTcuYjvHb-gvbA,8023
81
82
  tinybird/tb/modules/agent/models.py,sha256=eokO8XlY-kVJOsbqiVporGUAOCyKAXCO5xgTEK9SM6Y,2208
@@ -84,13 +85,14 @@ tinybird/tb/modules/agent/testing_agent.py,sha256=AtwtJViH7805i7djyBgDb7SSUtDyJn
84
85
  tinybird/tb/modules/agent/utils.py,sha256=alvRNtpPPRZP0sNdOXbzX3uQZHqqeh1daIAg3aquq24,32015
85
86
  tinybird/tb/modules/agent/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
86
87
  tinybird/tb/modules/agent/tools/analyze.py,sha256=CR5LXg4fou-zYEksqnjpJ0icvxJVoKnTctoI1NRvqCM,3873
87
- tinybird/tb/modules/agent/tools/append.py,sha256=8UsGMzmv7GYbzp0gerOBqpxxocDbous_haSuwS3zuGU,8222
88
+ tinybird/tb/modules/agent/tools/append.py,sha256=cF-1XYmgTXI3dfMQ_nEpOKo6duJGe2GOg64rXNnS9gw,8284
88
89
  tinybird/tb/modules/agent/tools/build.py,sha256=Hm-xDAP9ckMiKquT-DmDg5H0yxZefLOaWKANyoVSaEQ,846
89
90
  tinybird/tb/modules/agent/tools/datafile.py,sha256=kTob7G2TwCwIgwom0rERgXQ13rgPtZv3_ByLnrvpIdU,10881
90
91
  tinybird/tb/modules/agent/tools/deploy.py,sha256=6Vmm0lCG8XKE2iUF_ZJrOqXbTFhoe3anPzYCFehQ3_E,2027
91
92
  tinybird/tb/modules/agent/tools/deploy_check.py,sha256=pE3d9TPtXVKZjYbU0G6ORAGI86lN5K_4JKUriClERbM,1229
92
93
  tinybird/tb/modules/agent/tools/diff_resource.py,sha256=_9xHcDzCTKk_E1wKQbuktVqV6U9sA0kqYaBxWvtliX0,2613
93
94
  tinybird/tb/modules/agent/tools/execute_query.py,sha256=DL2jsZ0jaEqFIkGoiWfR-IUAwsgoF0D-_JUhq7xe4gA,9145
95
+ tinybird/tb/modules/agent/tools/file.py,sha256=_strhF1bnFFui3pVGUi2dFdcKzMyYzOD59lKeSHqG7o,2855
94
96
  tinybird/tb/modules/agent/tools/get_endpoint_stats.py,sha256=r2FrXg1L1s_Llr1tPdJ6k_gu6qw7qLsAXOkbz3eTk1g,2307
95
97
  tinybird/tb/modules/agent/tools/get_openapi_definition.py,sha256=4TIMO2XzHBMhpt9zIWRfjjPZbThT8r_iPS4CVHcItE0,2904
96
98
  tinybird/tb/modules/agent/tools/mock.py,sha256=Seo4WcYNLL1-SmPXutoaX94_pfOdIb47JXo8dHtUVhg,7106
@@ -103,14 +105,14 @@ tinybird/tb/modules/datafile/build.py,sha256=NFKBrusFLU0WJNCXePAFWiEDuTaXpwc0lHl
103
105
  tinybird/tb/modules/datafile/build_common.py,sha256=2yNdxe49IMA9wNvl25NemY2Iaz8L66snjOdT64dm1is,4511
104
106
  tinybird/tb/modules/datafile/build_datasource.py,sha256=Ra8pVQBDafbFRUKlhpgohhTsRyp_ADKZJVG8Gd69idY,17227
105
107
  tinybird/tb/modules/datafile/build_pipe.py,sha256=-mpzYcTEdH313R-FEDYuDOtAbZ5zehynzJwmtsfy16w,11262
106
- tinybird/tb/modules/datafile/diff.py,sha256=vCwBxUtQskmZSu-UxscqdgFkEJ9i3t1U1F6RrX9wRrA,6674
108
+ tinybird/tb/modules/datafile/diff.py,sha256=RxkBkuSAPUZF7slWe0yaaYLea4ZDZ-qfEscVAT9xvWU,6716
107
109
  tinybird/tb/modules/datafile/fixture.py,sha256=gftYWeweeQDFK3cHgUmSOfltNjZVOuMt8v7WTMLhGBw,1579
108
110
  tinybird/tb/modules/datafile/format_common.py,sha256=5w6GX_8RDFueW9AtDfWpc1OicEu8wWdrjUBdCEidCQk,1951
109
111
  tinybird/tb/modules/datafile/format_datasource.py,sha256=X5N65vDpprFKaWaxkSwFnHaNzYIxVhG1Sya4BARTd2Q,6138
110
112
  tinybird/tb/modules/datafile/format_pipe.py,sha256=_64RGD8XI-gpQBMzhymUAVGMhpQK6zar_irDrJFQrHY,7378
111
113
  tinybird/tb/modules/datafile/pipe_checker.py,sha256=dxsCQoA6ruxg1fvF6sMLFowpjaqws8lUQcM7XyhgZPE,24609
112
114
  tinybird/tb/modules/datafile/playground.py,sha256=47q4XcvDhclHWYv7oFNEqmF1T5NXd9GPWkrT6Av2VhY,56343
113
- tinybird/tb/modules/datafile/pull.py,sha256=BB-JSAPDRL8WotaSo73PHBDdAKBx4ZM-YeZCVcXdRTQ,4311
115
+ tinybird/tb/modules/datafile/pull.py,sha256=6mn3xqLxb6KQDcnqq63AaPzku9XsSOpscfcdsHyvvsY,5101
114
116
  tinybird/tb/modules/tinyunit/tinyunit.py,sha256=sJeBnKDHcUNn8t0sdsKB_M2w8IdzeeQ1PzJuleeQ2-E,11695
115
117
  tinybird/tb/modules/tinyunit/tinyunit_lib.py,sha256=hGh1ZaXC1af7rKnX7222urkj0QJMhMWclqMy59dOqwE,1922
116
118
  tinybird/tb_cli_modules/cicd.py,sha256=0lMkb6CVOFZl5HOwgY8mK4T4mgI7O8335UngLXtCc-c,13851
@@ -119,8 +121,8 @@ tinybird/tb_cli_modules/config.py,sha256=IsgdtFRnUrkY8-Zo32lmk6O7u3bHie1QCxLwgp4
119
121
  tinybird/tb_cli_modules/exceptions.py,sha256=pmucP4kTF4irIt7dXiG-FcnI-o3mvDusPmch1L8RCWk,3367
120
122
  tinybird/tb_cli_modules/regions.py,sha256=QjsL5H6Kg-qr0aYVLrvb1STeJ5Sx_sjvbOYO0LrEGMk,166
121
123
  tinybird/tb_cli_modules/telemetry.py,sha256=Hh2Io8ZPROSunbOLuMvuIFU4TqwWPmQTqal4WS09K1A,10449
122
- tinybird-0.0.1.dev289.dist-info/METADATA,sha256=ENjdQSJQH3QgYbGGAJddSYazWCBQ-ZJbpW6SyEqFGKE,1845
123
- tinybird-0.0.1.dev289.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
124
- tinybird-0.0.1.dev289.dist-info/entry_points.txt,sha256=LwdHU6TfKx4Qs7BqqtaczEZbImgU7Abe9Lp920zb_fo,43
125
- tinybird-0.0.1.dev289.dist-info/top_level.txt,sha256=VqqqEmkAy7UNaD8-V51FCoMMWXjLUlR0IstvK7tJYVY,54
126
- tinybird-0.0.1.dev289.dist-info/RECORD,,
124
+ tinybird-0.0.1.dev291.dist-info/METADATA,sha256=WCSw6JMv71AZt3gonZC3XeWThiDtGWEynv8GH1jSKhE,1845
125
+ tinybird-0.0.1.dev291.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
126
+ tinybird-0.0.1.dev291.dist-info/entry_points.txt,sha256=LwdHU6TfKx4Qs7BqqtaczEZbImgU7Abe9Lp920zb_fo,43
127
+ tinybird-0.0.1.dev291.dist-info/top_level.txt,sha256=VqqqEmkAy7UNaD8-V51FCoMMWXjLUlR0IstvK7tJYVY,54
128
+ tinybird-0.0.1.dev291.dist-info/RECORD,,