tinybird-cli 5.4.1.dev4__py3-none-any.whl → 5.4.1.dev5__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://www.tinybird.co/docs/cli/introduction.html'
5
5
  __author__ = 'Tinybird'
6
6
  __author_email__ = 'support@tinybird.co'
7
- __version__ = '5.4.1.dev4'
8
- __revision__ = 'f135c10'
7
+ __version__ = '5.4.1.dev5'
8
+ __revision__ = 'dca037f'
tinybird/sql_template.py CHANGED
@@ -146,7 +146,7 @@ def transform_type(
146
146
 
147
147
 
148
148
  def _and(*args, **kwargs):
149
- operands = {"in": "in", "not_in": "not in", "gt": ">", "lt": "<"}
149
+ operands = {"in": "in", "not_in": "not in", "gt": ">", "lt": "<", "gte": ">=", "lte": "<="}
150
150
 
151
151
  def _name(k):
152
152
  tk = k.rsplit("__", 1)
@@ -82,7 +82,7 @@ async def token_refresh(ctx: Context, token_id: str, yes: bool) -> None:
82
82
  try:
83
83
  await client.token_refresh(token_id)
84
84
  except DoesNotExistException:
85
- raise CLITokenException(FeedbackManager.error_token_does_not_exist(token=token_id))
85
+ raise CLITokenException(FeedbackManager.error_token_does_not_exist(token_id=token_id))
86
86
  except Exception as e:
87
87
  raise CLITokenException(FeedbackManager.error_exception(error=e))
88
88
  click.echo(FeedbackManager.success_refresh_token(token=token_id))
@@ -123,7 +123,7 @@ async def token_copy(ctx: Context, token_id: str) -> None:
123
123
  token = await client.token_get(token_id)
124
124
  pyperclip.copy(token["token"].strip())
125
125
  except DoesNotExistException:
126
- raise CLITokenException(FeedbackManager.error_token_does_not_exist(token=token_id))
126
+ raise CLITokenException(FeedbackManager.error_token_does_not_exist(token_id=token_id))
127
127
  except Exception as e:
128
128
  raise CLITokenException(FeedbackManager.error_exception(error=e))
129
129
  click.echo(FeedbackManager.success_copy_token(token=token_id))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tinybird-cli
3
- Version: 5.4.1.dev4
3
+ Version: 5.4.1.dev5
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://www.tinybird.co/docs/cli/introduction.html
6
6
  Author: Tinybird
@@ -51,10 +51,15 @@ The Tinybird command-line tool allows you to use all the Tinybird functionality
51
51
  Changelog
52
52
  ----------
53
53
 
54
+ 5.4.1.dev5
55
+ **********
56
+
57
+ - `Added` Support `gte` and `lte` in `sql_and` directive. See https://www.tinybird.co/docs/cli/advanced-templates#sql-and
58
+
54
59
  5.4.1.dev4
55
60
  **********
56
61
 
57
- - `Improved` info and error messages when using "user token" vs "admin your@email.com" token
62
+ - `Changed` info and error messages when using "user token" vs "admin your@email.com" token
58
63
 
59
64
  5.4.1.dev3
60
65
  **********
@@ -1,4 +1,4 @@
1
- tinybird/__cli__.py,sha256=YlRM6LncmXs-L0Pw8PLizOMy0UcY6Q1n-STHmnv61MM,254
1
+ tinybird/__cli__.py,sha256=UmtV-GjV6Jd7qUJFRV294YyXWQJaWklBklJ8FsIVjlQ,254
2
2
  tinybird/check_pypi.py,sha256=_4NkharLyR_ELrAdit-ftqIWvOf7jZNPt3i76frlo9g,975
3
3
  tinybird/client.py,sha256=X9WYDS8gf07w0vncMMO7eeZj7G1D4vJAv9_npf1Otak,48339
4
4
  tinybird/config.py,sha256=LTHiR5JeAhslZCq4WaIZRW973KQMcEEC7TfN-uyS3wU,5397
@@ -9,7 +9,7 @@ tinybird/datatypes.py,sha256=wwXaEy3l_UyfsH9xzYqBENQR7MSrFnDSvgS_CzLucOQ,10462
9
9
  tinybird/feedback_manager.py,sha256=ZNesVHix-NYFKLvePNOo8cC3LLda_IsL4B72TQ0iwoc,64683
10
10
  tinybird/git_settings.py,sha256=vu8sWb3TAXeM8Tqy27aR0el8MnPm7kqQzTRV76xB0ro,4707
11
11
  tinybird/sql.py,sha256=hUnpfmkRkdyZV2ylIYflzxnwyv5Es7fLEv6cBc39OJA,41589
12
- tinybird/sql_template.py,sha256=DCE_Tyl6IW91uAJ3wW8brAYbI38qOdI-lfe-zYKf_VQ,89294
12
+ tinybird/sql_template.py,sha256=TVnTROeRnpENCkxRY_aEjLQV5fd0uAkJFYcpu23dH1w,89320
13
13
  tinybird/sql_template_fmt.py,sha256=1z-PuqSZXtzso8Z_mPqUc-NxIxUrNUcVIPezNieZk-M,10196
14
14
  tinybird/sql_toolset.py,sha256=OIilqfV8o9uIOk6LetDwz4cePzLHKj-iiGvZou203SU,13777
15
15
  tinybird/syncasync.py,sha256=WlcT89npPwxcDEZ6kSF4ViZnyRwoEr74Jk1NDjhW83k,27819
@@ -31,13 +31,13 @@ tinybird/tb_cli_modules/pipe.py,sha256=ZvGQWoLn0ygZH7PBpYa9TElaDwaZJYuunBBj1tuC8
31
31
  tinybird/tb_cli_modules/regions.py,sha256=augT8qXkyCogJEIxoACPzqpyR1Z075kgBZFp5HEcekk,2257
32
32
  tinybird/tb_cli_modules/telemetry.py,sha256=YgHU-osP034xN9LZC4iaakkdfKJCWqPYDGPZFrrZfPI,10490
33
33
  tinybird/tb_cli_modules/test.py,sha256=NzFWa3EqPrpNvwBggUQYI9d0LqWcCKpSpkD22cvqhOQ,4223
34
- tinybird/tb_cli_modules/token.py,sha256=wNU7H_oOqSm-af3tLXQRuzgHm1LH0ikV4mlB4BsQgog,12334
34
+ tinybird/tb_cli_modules/token.py,sha256=UEBYhK5Mfw6FuLsH1o5ITpM2scdE4mlgzKZL-jlIa7k,12340
35
35
  tinybird/tb_cli_modules/workspace.py,sha256=pGFyLeKLXG8PaqvBVBy707ckwGRBkXlmvRqCmRKQRfE,11174
36
36
  tinybird/tb_cli_modules/workspace_members.py,sha256=OeEypt5wtHrXBAV5AWtCl2UYuiG-9jgy-JDFUH4JphA,8612
37
37
  tinybird/tb_cli_modules/tinyunit/tinyunit.py,sha256=0dYYmZMMJVubxSPls2e_a-fqtUYvgLfu2B0xwLfkbHw,11667
38
38
  tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py,sha256=j92za8QbXrv4eIPjKBZPn9ghR-nYQ2wZZ88MeXyMWXE,1868
39
- tinybird_cli-5.4.1.dev4.dist-info/METADATA,sha256=d92Re8Gd6re-XV5hYooM6-rxUaW9cspJVOfJoFrz2cs,74987
40
- tinybird_cli-5.4.1.dev4.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
41
- tinybird_cli-5.4.1.dev4.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
42
- tinybird_cli-5.4.1.dev4.dist-info/top_level.txt,sha256=pgw6AzERHBcW3YTi2PW4arjxLkulk2msOz_SomfOEuc,45
43
- tinybird_cli-5.4.1.dev4.dist-info/RECORD,,
39
+ tinybird_cli-5.4.1.dev5.dist-info/METADATA,sha256=9xzj3whZRLfQhK8bx2BfIXcTDAk5J9M0B6VwrLqbrds,75132
40
+ tinybird_cli-5.4.1.dev5.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
41
+ tinybird_cli-5.4.1.dev5.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
42
+ tinybird_cli-5.4.1.dev5.dist-info/top_level.txt,sha256=pgw6AzERHBcW3YTi2PW4arjxLkulk2msOz_SomfOEuc,45
43
+ tinybird_cli-5.4.1.dev5.dist-info/RECORD,,