tinybird-cli 3.3.1.dev15__py3-none-any.whl → 3.3.1.dev16__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.
tinybird/__cli__.py CHANGED
@@ -4,5 +4,5 @@ __description__ = 'Tinybird Command Line Tool'
4
4
  __url__ = 'https://docs.tinybird.co/cli.html'
5
5
  __author__ = 'Tinybird'
6
6
  __author_email__ = 'support@tinybird.co'
7
- __version__ = '3.3.1.dev15'
8
- __revision__ = 'daed555'
7
+ __version__ = '3.3.1.dev16'
8
+ __revision__ = 'd6339a3'
@@ -63,7 +63,7 @@ async def add_members_to_workspace(ctx: Context, members_emails: str, user_token
63
63
 
64
64
  cmd_ctx = await get_command_context(ctx)
65
65
 
66
- requested_users = members_emails.split(",")
66
+ requested_users = [u.strip() for u in members_emails.split(",")]
67
67
  users_to_add = [u for u in requested_users if u not in get_workspace_users(cmd_ctx)]
68
68
 
69
69
  if len(users_to_add) == 0:
@@ -110,7 +110,7 @@ async def remove_members_from_workspace(ctx: Context, members_emails: str, user_
110
110
 
111
111
  cmd_ctx = await get_command_context(ctx)
112
112
 
113
- requested_users = members_emails.split(",")
113
+ requested_users = [u.strip() for u in members_emails.split(",")]
114
114
  workspace_users = get_workspace_users(cmd_ctx)
115
115
  users_to_remove = [u for u in requested_users if u in workspace_users]
116
116
  non_valid_users = [u for u in requested_users if u not in workspace_users]
@@ -159,7 +159,7 @@ async def set_workspace_member_role(ctx: Context, role: str, members_emails: str
159
159
 
160
160
  cmd_ctx = await get_command_context(ctx)
161
161
 
162
- requested_users = members_emails.split(",")
162
+ requested_users = [u.strip() for u in members_emails.split(",")]
163
163
  workspace_users = get_workspace_users(cmd_ctx)
164
164
  users_to_change = [u for u in requested_users if u in workspace_users]
165
165
  non_valid_users = [u for u in requested_users if u not in workspace_users]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tinybird-cli
3
- Version: 3.3.1.dev15
3
+ Version: 3.3.1.dev16
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://docs.tinybird.co/cli.html
6
6
  Author: Tinybird
@@ -52,6 +52,12 @@ Changelog
52
52
 
53
53
  ---------
54
54
 
55
+ 3.3.1.dev16
56
+ ************
57
+
58
+ - `Fixed` Allow spaces when managing multiple Workspace members
59
+
60
+
55
61
  3.3.1.dev15
56
62
  ************
57
63
 
@@ -1,4 +1,4 @@
1
- tinybird/__cli__.py,sha256=pO3AkZ0Y0gdsk8m5P90_iQCKCLC9aCqt5Uk6xeru7hA,238
1
+ tinybird/__cli__.py,sha256=P4NMgzYDLRPeJszf7i-H40hFTALVQ1hnTvE7WLp3V1w,238
2
2
  tinybird/check_pypi.py,sha256=_4NkharLyR_ELrAdit-ftqIWvOf7jZNPt3i76frlo9g,975
3
3
  tinybird/client.py,sha256=iLQHu8tVUZ25U3DeWTxO2vAhsy-pko1XDX2r0xNoays,46468
4
4
  tinybird/config.py,sha256=E0jDwbFD1zhdijNhtF8fg6mqIyKbZ8xpNPP_3n2PFpE,2003
@@ -35,11 +35,11 @@ tinybird/tb_cli_modules/telemetry.py,sha256=YgHU-osP034xN9LZC4iaakkdfKJCWqPYDGPZ
35
35
  tinybird/tb_cli_modules/test.py,sha256=NzFWa3EqPrpNvwBggUQYI9d0LqWcCKpSpkD22cvqhOQ,4223
36
36
  tinybird/tb_cli_modules/token.py,sha256=ZGUUX8x6Qk9214L4wSmFw5FsP5ht_iuIrKDBkpaT8Bc,4383
37
37
  tinybird/tb_cli_modules/workspace.py,sha256=NDHINzW3SBo8FcWH8Bx-DCeUXQ8YUJX6FW8cGmESnLc,10081
38
- tinybird/tb_cli_modules/workspace_members.py,sha256=6oZM7oJQPxDMycL95TPtALriL5WRI2DhNlQWD8MP8JU,8205
38
+ tinybird/tb_cli_modules/workspace_members.py,sha256=3HzY43218fb35ZM81mtkwDQe7gAAf1zEFY6kIEhGvgE,8268
39
39
  tinybird/tb_cli_modules/tinyunit/tinyunit.py,sha256=0dYYmZMMJVubxSPls2e_a-fqtUYvgLfu2B0xwLfkbHw,11667
40
40
  tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py,sha256=j92za8QbXrv4eIPjKBZPn9ghR-nYQ2wZZ88MeXyMWXE,1868
41
- tinybird_cli-3.3.1.dev15.dist-info/METADATA,sha256=hFQ1i7UAAgsAZFXk-53K-pNu8EIuQWpJCEkJXpz8SRs,67954
42
- tinybird_cli-3.3.1.dev15.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
43
- tinybird_cli-3.3.1.dev15.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
44
- tinybird_cli-3.3.1.dev15.dist-info/top_level.txt,sha256=8TRt5snq9vZpx4rBBc9EWpj76Er6IAdfnx_Eq6cNBk8,45
45
- tinybird_cli-3.3.1.dev15.dist-info/RECORD,,
41
+ tinybird_cli-3.3.1.dev16.dist-info/METADATA,sha256=1GcFP8OC7XxVF-lCZrw3oisHBnJ6MJz0DP7UrVFGxfg,68046
42
+ tinybird_cli-3.3.1.dev16.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
43
+ tinybird_cli-3.3.1.dev16.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
44
+ tinybird_cli-3.3.1.dev16.dist-info/top_level.txt,sha256=8TRt5snq9vZpx4rBBc9EWpj76Er6IAdfnx_Eq6cNBk8,45
45
+ tinybird_cli-3.3.1.dev16.dist-info/RECORD,,