tinybird-cli 4.0.1.dev0__py3-none-any.whl → 4.0.3.dev0__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__ = '4.0.1.dev0'
8
- __revision__ = '2edda96'
7
+ __version__ = '4.0.3.dev0'
8
+ __revision__ = '29cbf03'
tinybird/context.py CHANGED
@@ -12,7 +12,6 @@ origin: ContextVar[str] = ContextVar("origin")
12
12
  request_id: ContextVar[str] = ContextVar("request_id")
13
13
  engine: ContextVar[str] = ContextVar("engine")
14
14
  wait_parameter: ContextVar[bool] = ContextVar("wait_parameter")
15
- wait_for_gatherer: ContextVar[bool] = ContextVar("wait_for_gatherer")
16
15
  api_host: ContextVar[str] = ContextVar("api_host")
17
16
  ff_split_to_array_escape: ContextVar[bool] = ContextVar("ff_split_to_array_escape")
18
17
  ff_preprocess_parameters_circuit_breaker: ContextVar[bool] = ContextVar("ff_preprocess_parameters_circuit_breaker")
@@ -17,7 +17,7 @@ class Provider(Enum):
17
17
 
18
18
  WORKFLOW_VERSION = "v3.1.0"
19
19
 
20
- DEFAULT_REQUIREMENTS_FILE = "tinybird-cli>=3,<4"
20
+ DEFAULT_REQUIREMENTS_FILE = "tinybird-cli>=4,<5"
21
21
 
22
22
  GITHUB_CI_YML = """
23
23
  ##################################################
@@ -1174,11 +1174,23 @@ class PlanName(Enum):
1174
1174
 
1175
1175
 
1176
1176
  def _get_workspace_plan_name(plan):
1177
+ """
1178
+ >>> _get_workspace_plan_name("dev")
1179
+ 'Build'
1180
+ >>> _get_workspace_plan_name("pro")
1181
+ 'Pro'
1182
+ >>> _get_workspace_plan_name("enterprise")
1183
+ 'Enterprise'
1184
+ >>> _get_workspace_plan_name("branch_enterprise")
1185
+ 'Enterprise'
1186
+ >>> _get_workspace_plan_name("other_plan")
1187
+ 'Custom'
1188
+ """
1177
1189
  if plan == "dev":
1178
1190
  return PlanName.DEV.value
1179
1191
  if plan == "pro":
1180
1192
  return PlanName.PRO.value
1181
- if plan == "enterprise":
1193
+ if plan in ("enterprise", "branch_enterprise"):
1182
1194
  return PlanName.ENTERPRISE.value
1183
1195
  return "Custom"
1184
1196
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tinybird-cli
3
- Version: 4.0.1.dev0
3
+ Version: 4.0.3.dev0
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://www.tinybird.co/docs/cli/introduction.html
6
6
  Author: Tinybird
@@ -51,6 +51,12 @@ The Tinybird command-line tool allows you to use all the Tinybird functionality
51
51
  Changelog
52
52
  ----------
53
53
 
54
+ 4.0.3.dev0
55
+ ************
56
+
57
+ - `Fixed` Pin `tinybird-cli>=4,<5` in `requirements.txt` on `tb init --git`
58
+
59
+
54
60
  4.0.0
55
61
  ************
56
62
 
@@ -1,9 +1,9 @@
1
- tinybird/__cli__.py,sha256=GTpedov6iss74oPDg-THSysiSzh1YppfWjTuJ1KIcjk,254
1
+ tinybird/__cli__.py,sha256=DLk_HdA8xCANHl7iVM4xLJXrpazpS1yaTODTjcelNOc,254
2
2
  tinybird/check_pypi.py,sha256=_4NkharLyR_ELrAdit-ftqIWvOf7jZNPt3i76frlo9g,975
3
3
  tinybird/client.py,sha256=S7nKDUoq7AnAunZuikqrs9yjC3j_rseWeyGVwXHCiTI,46918
4
4
  tinybird/config.py,sha256=E0jDwbFD1zhdijNhtF8fg6mqIyKbZ8xpNPP_3n2PFpE,2003
5
5
  tinybird/connectors.py,sha256=lkpVSUmSuViEZBa4QjTK7YmPHUop0a5UFoTrSmlVq6k,15244
6
- tinybird/context.py,sha256=3-k0xmNNWvo7xrBXzYKB661y7k75S9572yPcqZtKCEs,1127
6
+ tinybird/context.py,sha256=NiWhCFJeBEtvwCMbu60OdIBRRd6V9qY9aqYaHmeumbo,1057
7
7
  tinybird/datafile.py,sha256=Lw_rW3A_qrIVj7mdcwL8sNf2PuF6ZpY4f0Wlh-eof0Q,210873
8
8
  tinybird/datatypes.py,sha256=adYOQBTyfeBGVINIlaRex_81gTQQuqF2M9VTQpzq1H0,7060
9
9
  tinybird/feedback_manager.py,sha256=AQRLTyBb2cTfpSfhzJvtBFh5Fi7fZug9mhaXvhV09fc,60657
@@ -19,9 +19,9 @@ tinybird/ch_utils/constants.py,sha256=QtaTrpYsmxnlogsC57YEnkrbw22t9hx6ueCvl6qD9f
19
19
  tinybird/ch_utils/engine.py,sha256=KVxZdmNkUCYXaw74aZgpUd7n1E5AhLynsGnLx8pi7UM,39699
20
20
  tinybird/tb_cli_modules/auth.py,sha256=0CWMrOHxWQBxiyj6guUY7RBGUhSVZ2KbTKl1i9vV9xk,8601
21
21
  tinybird/tb_cli_modules/branch.py,sha256=x3nTWyCMgVTBD5ZayDP86jmrWvVphPmf75Pr8baU_QA,38296
22
- tinybird/tb_cli_modules/cicd.py,sha256=EJoZNzDzOQuhUEAPstfm7rG6EH7I_xGBVzEqxwtGLiE,13910
22
+ tinybird/tb_cli_modules/cicd.py,sha256=HYOINvm1eD37P-oF_BZ6v-A-KFoySRkkMjMGAuSfrqc,13910
23
23
  tinybird/tb_cli_modules/cli.py,sha256=7ce9J4VuaKiGRhFrKZB-MxwS4uVtczI4cGFSDV1hwIE,64576
24
- tinybird/tb_cli_modules/common.py,sha256=Zr_-6RCAnUt1ZoC1sZt4Zb_0AtxgCp_rafOh_WZ5-bY,78296
24
+ tinybird/tb_cli_modules/common.py,sha256=uQdsRot2nE4_a2S9Btd-T03uJCM2vhF2QEuB8FYIHqY,78632
25
25
  tinybird/tb_cli_modules/config.py,sha256=6NTgIdwf0X132A1j6G_YrdPep87ymZ9b5pABabKLzh4,11484
26
26
  tinybird/tb_cli_modules/connection.py,sha256=Pf-p9tr72vkWUUj5jgMVb4wFum5zCpFKAg697uK-qf0,32368
27
27
  tinybird/tb_cli_modules/datasource.py,sha256=ZNGEDT0X7EPusG29gZwVOqLMQvdt01X2lcVoGlORgx0,31968
@@ -36,8 +36,8 @@ tinybird/tb_cli_modules/workspace.py,sha256=DTIQ1-H5Kazz1CtRwqMeYAtyQ_BQtaLXfcHn
36
36
  tinybird/tb_cli_modules/workspace_members.py,sha256=3HzY43218fb35ZM81mtkwDQe7gAAf1zEFY6kIEhGvgE,8268
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-4.0.1.dev0.dist-info/METADATA,sha256=r6MgyUIl-aueaVoTg3PIofDB5eydHgS4uTS6XTe3rR0,72245
40
- tinybird_cli-4.0.1.dev0.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
41
- tinybird_cli-4.0.1.dev0.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
42
- tinybird_cli-4.0.1.dev0.dist-info/top_level.txt,sha256=pgw6AzERHBcW3YTi2PW4arjxLkulk2msOz_SomfOEuc,45
43
- tinybird_cli-4.0.1.dev0.dist-info/RECORD,,
39
+ tinybird_cli-4.0.3.dev0.dist-info/METADATA,sha256=_K8pEAtch0qHwumy1zMUjuwBXeGLHlHGyKigzJRhmvY,72348
40
+ tinybird_cli-4.0.3.dev0.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
41
+ tinybird_cli-4.0.3.dev0.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
42
+ tinybird_cli-4.0.3.dev0.dist-info/top_level.txt,sha256=pgw6AzERHBcW3YTi2PW4arjxLkulk2msOz_SomfOEuc,45
43
+ tinybird_cli-4.0.3.dev0.dist-info/RECORD,,