tinybird 0.0.1.dev176__py3-none-any.whl → 0.0.1.dev178__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.dev176'
8
- __revision__ = '09be7b9'
7
+ __version__ = '0.0.1.dev178'
8
+ __revision__ = 'c2632b6'
@@ -675,6 +675,9 @@ def print_changes(result: dict, project: Project) -> None:
675
675
  for dc in deployment.get("changed_data_connector_names", []):
676
676
  resources.append(["modified", dc, project.get_resource_path(dc, "connection")])
677
677
 
678
+ for ds in deployment.get("disconnected_data_source_names", []):
679
+ resources.append(["modified", ds, project.get_resource_path(ds, "datasource")])
680
+
678
681
  for ds in deployment.get("deleted_datasource_names", []):
679
682
  resources.append(["deleted", ds, project.get_resource_path(ds, "datasource")])
680
683
 
@@ -159,16 +159,13 @@ async def login(host: Optional[str], auth_host: str, workspace: str, interactive
159
159
  auth_event.set()
160
160
 
161
161
  click.echo(FeedbackManager.highlight(message="» Opening browser for authentication..."))
162
-
163
162
  # Start the local server in a separate thread
164
163
  server_thread = threading.Thread(target=start_server, args=(auth_callback, auth_host))
165
164
  server_thread.daemon = True
166
165
  server_thread.start()
167
166
 
168
167
  # Open the browser to the auth page
169
- callback_url = f"http://localhost:{AUTH_SERVER_PORT}"
170
168
  params = {
171
- "redirect_uri": callback_url,
172
169
  "apiHost": host,
173
170
  }
174
171
 
@@ -178,6 +175,9 @@ async def login(host: Optional[str], auth_host: str, workspace: str, interactive
178
175
  auth_url = f"{auth_host}/api/cli-login?{urlencode(params)}"
179
176
  webbrowser.open(auth_url)
180
177
 
178
+ click.echo(FeedbackManager.info(message="\nIf browser does not open, please open the following URL manually:"))
179
+ click.echo(FeedbackManager.info(message=auth_url))
180
+
181
181
  # Wait for the authentication to complete or timeout
182
182
  if auth_event.wait(timeout=SERVER_MAX_WAIT_TIME): # Wait for up to 180 seconds
183
183
  params = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: tinybird
3
- Version: 0.0.1.dev176
3
+ Version: 0.0.1.dev178
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://www.tinybird.co/docs/forward/commands
6
6
  Author: Tinybird
@@ -12,7 +12,7 @@ tinybird/syncasync.py,sha256=IPnOx6lMbf9SNddN1eBtssg8vCLHMt76SuZ6YNYm-Yk,27761
12
12
  tinybird/tornado_template.py,sha256=jjNVDMnkYFWXflmT8KU_Ssbo5vR8KQq3EJMk5vYgXRw,41959
13
13
  tinybird/ch_utils/constants.py,sha256=aYvg2C_WxYWsnqPdZB1ZFoIr8ZY-XjUXYyHKE9Ansj0,3890
14
14
  tinybird/ch_utils/engine.py,sha256=X4tE9OrfaUy6kO9cqVEzyI9cDcmOF3IAssRRzsTsfEQ,40781
15
- tinybird/tb/__cli__.py,sha256=qwSD_BO6xPIvA1xz7Y11FszqnysrtuKrXLPMCIWrhHw,247
15
+ tinybird/tb/__cli__.py,sha256=nsmL84fKdwG5x6nXbynOK9RY9QmmKkjzGOxJQg6xFsA,247
16
16
  tinybird/tb/check_pypi.py,sha256=rW4QmDRbtgKdUUwJCnBkVjmTjZSZGN-XgZhx7vMkC0w,1009
17
17
  tinybird/tb/cli.py,sha256=u3eGOhX0MHkuT6tiwaZ0_3twqLmqKXDAOxF7yV_Nn9Q,1075
18
18
  tinybird/tb/client.py,sha256=CSBl_JRuioPyY0H8Ac96dJ9wQXDXfrvK2lwqlOxKGoY,55715
@@ -26,7 +26,7 @@ tinybird/tb/modules/connection.py,sha256=7oOR7x4PhBcm1ETFFCH2YJ_3oeGXjAbmx1cnZX9
26
26
  tinybird/tb/modules/copy.py,sha256=2Mm4FWKehOG7CoOhiF1m9UZJgJn0W1_cMolqju8ONYg,5805
27
27
  tinybird/tb/modules/create.py,sha256=jz5jswVntvsnNN-IbCXoKw9pUKySx_IubpP0rxi7Iy0,17528
28
28
  tinybird/tb/modules/datasource.py,sha256=mZ9N9LxbNA9QoKSMbxcMiQkdaQkfFqLeFB9_88e3_68,17843
29
- tinybird/tb/modules/deployment.py,sha256=j-6zGvlAlr__ERRJg98-jEtwpR3ZbUJQeRJIj5YS94I,27070
29
+ tinybird/tb/modules/deployment.py,sha256=hbQ5ijbAp8Rvj4MRA7X8538Sb6Eko6MbD8jJ0MVsiTI,27227
30
30
  tinybird/tb/modules/deprecations.py,sha256=rrszC1f_JJeJ8mUxGoCxckQTJFBCR8wREf4XXXN-PRc,4507
31
31
  tinybird/tb/modules/dev_server.py,sha256=57FCKuWpErwYUYgHspYDkLWEm9F4pbvVOtMrFXX1fVU,10129
32
32
  tinybird/tb/modules/endpoint.py,sha256=XySDt3pk66vxOZ0egUfz4bY8bEk3BjOXkv-L0OIJ3sc,12083
@@ -39,7 +39,7 @@ tinybird/tb/modules/llm.py,sha256=KfsCYmKeW1VQz0iDZhGKCRkQv_Y3kTHh6JuxvofOguE,10
39
39
  tinybird/tb/modules/llm_utils.py,sha256=nS9r4FAElJw8yXtmdYrx-rtI2zXR8qXfi1QqUDCfxvg,3469
40
40
  tinybird/tb/modules/local.py,sha256=SUaGWH9TLDFFF9uCw4y7UW4NsKgnXG8uxTcxz1dbkCM,14230
41
41
  tinybird/tb/modules/local_common.py,sha256=msAZDNPPVenNyL9Dqfb0Z5uFC_1O809xdAi7j1iKmJA,17066
42
- tinybird/tb/modules/login.py,sha256=fmXPSdvJnKPv03chptGuu3_Fm6LhP6kUsUKhrmT8rJc,8269
42
+ tinybird/tb/modules/login.py,sha256=7Wax0hzuUpGPOxTz7ef1w3olSy_4cRrHycKbh9hofJI,8344
43
43
  tinybird/tb/modules/logout.py,sha256=sniI4JNxpTrVeRCp0oGJuQ3yRerG4hH5uz6oBmjv724,1009
44
44
  tinybird/tb/modules/materialization.py,sha256=QJX5kCPhhm6IXBO1JsalVfbQdypCe_eOUDZ_WHJZWS8,5478
45
45
  tinybird/tb/modules/mock.py,sha256=IyHweMUM6bUH8IhyiX2tTMpdVpTFUeAJ41lZ5P42-HQ,5303
@@ -80,8 +80,8 @@ tinybird/tb_cli_modules/config.py,sha256=IsgdtFRnUrkY8-Zo32lmk6O7u3bHie1QCxLwgp4
80
80
  tinybird/tb_cli_modules/exceptions.py,sha256=pmucP4kTF4irIt7dXiG-FcnI-o3mvDusPmch1L8RCWk,3367
81
81
  tinybird/tb_cli_modules/regions.py,sha256=QjsL5H6Kg-qr0aYVLrvb1STeJ5Sx_sjvbOYO0LrEGMk,166
82
82
  tinybird/tb_cli_modules/telemetry.py,sha256=Hh2Io8ZPROSunbOLuMvuIFU4TqwWPmQTqal4WS09K1A,10449
83
- tinybird-0.0.1.dev176.dist-info/METADATA,sha256=4wJLDkqnQ1E1ynrHIK3402UWiSP4VA3hzNguApVbFz4,1608
84
- tinybird-0.0.1.dev176.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
85
- tinybird-0.0.1.dev176.dist-info/entry_points.txt,sha256=LwdHU6TfKx4Qs7BqqtaczEZbImgU7Abe9Lp920zb_fo,43
86
- tinybird-0.0.1.dev176.dist-info/top_level.txt,sha256=VqqqEmkAy7UNaD8-V51FCoMMWXjLUlR0IstvK7tJYVY,54
87
- tinybird-0.0.1.dev176.dist-info/RECORD,,
83
+ tinybird-0.0.1.dev178.dist-info/METADATA,sha256=2Nf3nXHYpiPTEE5DzWyymJ1AatyVhDeThpo5zQgZXPA,1608
84
+ tinybird-0.0.1.dev178.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
85
+ tinybird-0.0.1.dev178.dist-info/entry_points.txt,sha256=LwdHU6TfKx4Qs7BqqtaczEZbImgU7Abe9Lp920zb_fo,43
86
+ tinybird-0.0.1.dev178.dist-info/top_level.txt,sha256=VqqqEmkAy7UNaD8-V51FCoMMWXjLUlR0IstvK7tJYVY,54
87
+ tinybird-0.0.1.dev178.dist-info/RECORD,,