tinybird 0.0.1.dev109__tar.gz → 0.0.1.dev110__tar.gz

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.

Files changed (108) hide show
  1. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/PKG-INFO +1 -1
  2. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/sql.py +44 -1
  3. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/__cli__.py +2 -2
  4. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/cicd.py +3 -3
  5. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/local.py +55 -9
  6. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird.egg-info/PKG-INFO +1 -1
  7. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/setup.cfg +0 -0
  8. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/__cli__.py +0 -0
  9. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/ch_utils/constants.py +0 -0
  10. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/ch_utils/engine.py +0 -0
  11. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/check_pypi.py +0 -0
  12. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/client.py +0 -0
  13. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/config.py +0 -0
  14. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/connectors.py +0 -0
  15. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/context.py +0 -0
  16. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/datafile.py +0 -0
  17. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/datatypes.py +0 -0
  18. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/feedback_manager.py +0 -0
  19. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/git_settings.py +0 -0
  20. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/prompts.py +0 -0
  21. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/sql_template.py +0 -0
  22. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/sql_template_fmt.py +0 -0
  23. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/sql_toolset.py +0 -0
  24. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/syncasync.py +0 -0
  25. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/cli.py +0 -0
  26. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/auth.py +0 -0
  27. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/build.py +0 -0
  28. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/cli.py +0 -0
  29. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/common.py +0 -0
  30. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/config.py +0 -0
  31. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/connection.py +0 -0
  32. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/copy.py +0 -0
  33. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/create.py +0 -0
  34. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/datafile/build.py +0 -0
  35. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/datafile/build_common.py +0 -0
  36. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/datafile/build_datasource.py +0 -0
  37. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/datafile/build_pipe.py +0 -0
  38. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/datafile/common.py +0 -0
  39. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/datafile/diff.py +0 -0
  40. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/datafile/exceptions.py +0 -0
  41. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/datafile/fixture.py +0 -0
  42. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/datafile/format_common.py +0 -0
  43. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/datafile/format_datasource.py +0 -0
  44. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/datafile/format_pipe.py +0 -0
  45. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/datafile/parse_datasource.py +0 -0
  46. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/datafile/parse_pipe.py +0 -0
  47. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/datafile/pipe_checker.py +0 -0
  48. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/datafile/playground.py +0 -0
  49. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/datafile/pull.py +0 -0
  50. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/datasource.py +0 -0
  51. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/deployment.py +0 -0
  52. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/endpoint.py +0 -0
  53. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/exceptions.py +0 -0
  54. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/feedback_manager.py +0 -0
  55. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/fmt.py +0 -0
  56. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/infra.py +0 -0
  57. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/job.py +0 -0
  58. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/llm.py +0 -0
  59. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/llm_utils.py +0 -0
  60. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/local_common.py +0 -0
  61. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/login.py +0 -0
  62. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/logout.py +0 -0
  63. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/materialization.py +0 -0
  64. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/mock.py +0 -0
  65. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/open.py +0 -0
  66. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/pipe.py +0 -0
  67. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/playground.py +0 -0
  68. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/project.py +0 -0
  69. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/regions.py +0 -0
  70. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/secret.py +0 -0
  71. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/shell.py +0 -0
  72. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/table.py +0 -0
  73. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/tag.py +0 -0
  74. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/telemetry.py +0 -0
  75. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/test.py +0 -0
  76. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/tinyunit/tinyunit.py +0 -0
  77. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/tinyunit/tinyunit_lib.py +0 -0
  78. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/token.py +0 -0
  79. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/watch.py +0 -0
  80. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/workspace.py +0 -0
  81. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb/modules/workspace_members.py +0 -0
  82. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli.py +0 -0
  83. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/auth.py +0 -0
  84. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/branch.py +0 -0
  85. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/cicd.py +0 -0
  86. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/cli.py +0 -0
  87. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/common.py +0 -0
  88. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/config.py +0 -0
  89. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/connection.py +0 -0
  90. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/datasource.py +0 -0
  91. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/exceptions.py +0 -0
  92. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/fmt.py +0 -0
  93. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/job.py +0 -0
  94. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/pipe.py +0 -0
  95. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/regions.py +0 -0
  96. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/tag.py +0 -0
  97. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/telemetry.py +0 -0
  98. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/test.py +0 -0
  99. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/tinyunit/tinyunit.py +0 -0
  100. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py +0 -0
  101. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/workspace.py +0 -0
  102. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tb_cli_modules/workspace_members.py +0 -0
  103. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird/tornado_template.py +0 -0
  104. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird.egg-info/SOURCES.txt +0 -0
  105. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird.egg-info/dependency_links.txt +0 -0
  106. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird.egg-info/entry_points.txt +0 -0
  107. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird.egg-info/requires.txt +0 -0
  108. {tinybird-0.0.1.dev109 → tinybird-0.0.1.dev110}/tinybird.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: tinybird
3
- Version: 0.0.1.dev109
3
+ Version: 0.0.1.dev110
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://www.tinybird.co/docs/cli/introduction.html
6
6
  Author: Tinybird
@@ -9,6 +9,24 @@ valid_chars_name: str = string.ascii_letters + string.digits + "._`*<>+-'"
9
9
  valid_chars_fn: str = valid_chars_name + "[](),=!?:/ \n\t\r"
10
10
 
11
11
  INDEX_WHITELIST = ["minmax", "set", "bloom_filter", "ngrambf_v1", "tokenbf_v1"]
12
+ INDEX_SUPPORTED_TYPES = {
13
+ "bloom_filter": [
14
+ "Int*",
15
+ "UInt*",
16
+ "Float*",
17
+ "Enum",
18
+ "Date",
19
+ "DateTime",
20
+ "String",
21
+ "FixedString",
22
+ "Array",
23
+ "LowCardinality",
24
+ "Nullable",
25
+ "UUID",
26
+ "Map",
27
+ ],
28
+ "ngrambf_v1": ["String", "FixedString", "Map"],
29
+ }
12
30
 
13
31
 
14
32
  @dataclass
@@ -39,12 +57,37 @@ class TableIndex:
39
57
  def clear_index_sql(self):
40
58
  return f"CLEAR INDEX IF EXISTS {self.name}"
41
59
 
42
- def validate_allowed(self):
60
+ def _validate_index_type(self, table_structure: List[Dict[str, Any]]):
61
+ for col in table_structure:
62
+ if col["normalized_name"] != self.expr:
63
+ continue
64
+ col_type = col["type"]
65
+ index_supported_types: Optional[str] = next((t for t in INDEX_SUPPORTED_TYPES if t in self.type_full), None)
66
+
67
+ if index_supported_types:
68
+ for supported_type in INDEX_SUPPORTED_TYPES.get(index_supported_types, []):
69
+ # Convert supported type to regex pattern
70
+ # Replace * with \d+ to match any number
71
+ pattern = supported_type.replace("*", r"\d+")
72
+ if re.match(f"^{pattern}$", col_type):
73
+ return
74
+ raise ValueError(
75
+ f"Not allowed data type '{col_type}' for index '{self.type_full}' for column '{self.expr}' "
76
+ )
77
+
78
+ def validate_allowed(self, table_structure: Optional[List[Dict[str, Any]]] = None):
43
79
  """
44
80
  Validate at API level not to depend on CLI version
45
81
  """
46
82
  if not any(index in self.type_full for index in INDEX_WHITELIST):
47
83
  raise ValueError(f"Not allowed index '{self.type_full}'")
84
+ try:
85
+ if table_structure:
86
+ self._validate_index_type(table_structure)
87
+ except ValueError as e:
88
+ raise e
89
+ except Exception:
90
+ logging.exception(f"Error validating index '{self.type_full}' for column '{self.expr}'")
48
91
 
49
92
 
50
93
  @dataclass
@@ -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__ = '0.0.1.dev109'
8
- __revision__ = '421d6c4'
7
+ __version__ = '0.0.1.dev110'
8
+ __revision__ = '034b6bf'
@@ -49,7 +49,7 @@ jobs:
49
49
  steps:
50
50
  - uses: actions/checkout@v3
51
51
  - name: Install Tinybird CLI
52
- run: curl -LsSf https://api.tinybird.co/static/install.sh | sh
52
+ run: curl https://tinybird.co | sh
53
53
  - name: Build project
54
54
  run: tb build
55
55
  - name: Test project
@@ -81,7 +81,7 @@ jobs:
81
81
  steps:
82
82
  - uses: actions/checkout@v3
83
83
  - name: Install Tinybird CLI
84
- run: curl -LsSf https://api.tinybird.co/static/install.sh | sh
84
+ run: curl https://tinybird.co | sh
85
85
  - name: Deploy project
86
86
  run: tb --cloud --host ${{! env.TINYBIRD_HOST }} --token ${{! env.TINYBIRD_TOKEN }} deploy
87
87
  """
@@ -110,7 +110,7 @@ tinybird_ci_workflow:
110
110
  - {{ data_project_dir }}/**/*{% end %}
111
111
  before_script:
112
112
  - apt update && apt install -y curl
113
- - curl -LsSf https://api.tinybird.co/static/install.sh | sh
113
+ - curl https://tinybird.co | sh
114
114
  script:
115
115
  - export PATH="$HOME/.local/bin:$PATH"
116
116
  - cd $CI_PROJECT_DIR/{{ data_project_dir }}
@@ -1,12 +1,14 @@
1
1
  import re
2
2
  import subprocess
3
3
  import time
4
+ from typing import Optional
4
5
 
5
6
  import boto3
6
7
  import click
7
8
 
8
9
  import docker
9
10
  from docker.client import DockerClient
11
+ from docker.models.containers import Container
10
12
  from tinybird.tb.modules.cli import cli
11
13
  from tinybird.tb.modules.common import coro
12
14
  from tinybird.tb.modules.exceptions import CLIException
@@ -41,10 +43,9 @@ def start_tinybird_local(
41
43
  if pull_required:
42
44
  docker_client.images.pull(TB_IMAGE_NAME, platform="linux/amd64")
43
45
 
44
- container = None
45
- containers = docker_client.containers.list(all=True, filters={"name": TB_CONTAINER_NAME})
46
- if containers:
47
- container = containers[0]
46
+ environment = get_use_aws_creds() if use_aws_creds else {}
47
+
48
+ container = get_existing_container_with_matching_env(docker_client, TB_CONTAINER_NAME, environment)
48
49
 
49
50
  if container and not pull_required:
50
51
  # Container `start` is idempotent. It's safe to call it even if the container is already running.
@@ -53,8 +54,6 @@ def start_tinybird_local(
53
54
  if container:
54
55
  container.remove(force=True)
55
56
 
56
- environment = get_use_aws_creds() if use_aws_creds else {}
57
-
58
57
  container = docker_client.containers.run(
59
58
  TB_IMAGE_NAME,
60
59
  name=TB_CONTAINER_NAME,
@@ -82,6 +81,43 @@ def start_tinybird_local(
82
81
  image.remove(force=True)
83
82
 
84
83
 
84
+ def get_existing_container_with_matching_env(
85
+ docker_client: DockerClient, container_name: str, required_env: dict[str, str]
86
+ ) -> Optional[Container]:
87
+ """
88
+ Checks if a container with the given name exists and has matching environment variables.
89
+ If it exists but environment doesn't match, it returns None.
90
+
91
+ Args:
92
+ docker_client: The Docker client instance
93
+ container_name: The name of the container to check
94
+ required_env: Dictionary of environment variables that must be present
95
+
96
+ Returns:
97
+ The container if it exists with matching environment, None otherwise
98
+ """
99
+ container = None
100
+ containers = docker_client.containers.list(all=True, filters={"name": container_name})
101
+ if containers:
102
+ container = containers[0]
103
+
104
+ if container and required_env:
105
+ container_info = container.attrs
106
+ container_env = container_info.get("Config", {}).get("Env", [])
107
+ env_missing = False
108
+ for key, value in required_env.items():
109
+ env_var = f"{key}={value}"
110
+ if env_var not in container_env:
111
+ env_missing = True
112
+ break
113
+
114
+ if env_missing:
115
+ container.remove(force=True)
116
+ container = None
117
+
118
+ return container
119
+
120
+
85
121
  def get_docker_client() -> DockerClient:
86
122
  """Check if Docker is installed and running."""
87
123
  try:
@@ -156,7 +192,7 @@ def update_cli():
156
192
  text=True,
157
193
  )
158
194
  except FileNotFoundError:
159
- raise CLIException("Cannot find required tool: uv. Reinstall using: curl -LsSf tbrd.co/fwd | sh")
195
+ raise CLIException("Cannot find required tool: uv. Reinstall using: curl https://tinybird.co | sh")
160
196
 
161
197
  stdout, stderr = process.communicate()
162
198
  if "Nothing to upgrade" not in stdout + stderr:
@@ -208,7 +244,12 @@ async def remove() -> None:
208
244
 
209
245
  @local.command()
210
246
  @coro
211
- @click.option("--use-aws-creds", default=False, is_flag=True, help="Use local AWS credentials")
247
+ @click.option(
248
+ "--use-aws-creds",
249
+ default=False,
250
+ is_flag=True,
251
+ help="Use local AWS credentials from your environment and pass them to the Tinybird docker container",
252
+ )
212
253
  async def start(use_aws_creds: bool) -> None:
213
254
  """Start Tinybird Local"""
214
255
  click.echo(FeedbackManager.highlight(message="» Starting Tinybird Local..."))
@@ -219,7 +260,12 @@ async def start(use_aws_creds: bool) -> None:
219
260
 
220
261
  @local.command()
221
262
  @coro
222
- @click.option("--use-aws-creds", is_flag=True, help="Use local AWS credentials")
263
+ @click.option(
264
+ "--use-aws-creds",
265
+ default=False,
266
+ is_flag=True,
267
+ help="Use local AWS credentials from your environment and pass them to the Tinybird docker container",
268
+ )
223
269
  async def restart(use_aws_creds: bool) -> None:
224
270
  """Restart Tinybird Local"""
225
271
  click.echo(FeedbackManager.highlight(message="» Restarting Tinybird Local..."))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: tinybird
3
- Version: 0.0.1.dev109
3
+ Version: 0.0.1.dev110
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://www.tinybird.co/docs/cli/introduction.html
6
6
  Author: Tinybird