reflex-hosting-cli 0.1.44__tar.gz → 0.1.45__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.
Files changed (27) hide show
  1. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/PKG-INFO +1 -1
  2. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/pyproject.toml +1 -1
  3. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/deployments.py +10 -8
  4. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/.gitignore +0 -0
  5. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/LICENSE +0 -0
  6. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/README.md +0 -0
  7. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/__init__.py +0 -0
  8. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/cli.py +0 -0
  9. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/constants/__init__.py +0 -0
  10. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/constants/base.py +0 -0
  11. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/constants/compiler.py +0 -0
  12. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/constants/hosting.py +0 -0
  13. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/core/__init__.py +0 -0
  14. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/core/config.py +0 -0
  15. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/utils/__init__.py +0 -0
  16. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/utils/console.py +0 -0
  17. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/utils/dependency.py +0 -0
  18. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/utils/exceptions.py +0 -0
  19. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/utils/hosting.py +0 -0
  20. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/v2/__init__.py +0 -0
  21. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/v2/apps.py +0 -0
  22. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/v2/cli.py +0 -0
  23. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/v2/deployments.py +0 -0
  24. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/v2/project.py +0 -0
  25. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/v2/secrets.py +0 -0
  26. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/v2/utils.py +0 -0
  27. {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/v2/vmtypes_regions.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reflex-hosting-cli
3
- Version: 0.1.44
3
+ Version: 0.1.45
4
4
  Summary: Reflex Hosting CLI
5
5
  Project-URL: homepage, https://reflex.dev
6
6
  Project-URL: repository, https://github.com/reflex-dev/reflex
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "reflex-hosting-cli"
3
- version = "0.1.44"
3
+ version = "0.1.45"
4
4
  description = "Reflex Hosting CLI"
5
5
  license = "Apache-2.0"
6
6
  authors = [
@@ -1,7 +1,9 @@
1
1
  """Disabled Hosting CLI deployments sub-commands."""
2
2
 
3
+ from __future__ import annotations
4
+
3
5
  from importlib.util import find_spec
4
- from typing import TYPE_CHECKING, Optional
6
+ from typing import TYPE_CHECKING
5
7
 
6
8
  import click
7
9
 
@@ -107,9 +109,9 @@ def get_deployment_status(key: str, loglevel: str):
107
109
  )
108
110
  def get_deployment_logs(
109
111
  key: str,
110
- from_timestamp: Optional[str],
111
- to_timestamp: Optional[str],
112
- limit: Optional[int],
112
+ from_timestamp: str | None,
113
+ to_timestamp: str | None,
114
+ limit: int | None,
113
115
  loglevel: str,
114
116
  ):
115
117
  """Get the logs for a deployment.
@@ -146,9 +148,9 @@ def get_deployment_logs(
146
148
  )
147
149
  def get_deployment_build_logs(
148
150
  key: str,
149
- from_timestamp: Optional[str],
150
- to_timestamp: Optional[str],
151
- limit: Optional[int],
151
+ from_timestamp: str | None,
152
+ to_timestamp: str | None,
153
+ limit: int | None,
152
154
  loglevel: str,
153
155
  ):
154
156
  """Get the build logs for a deployment.
@@ -200,7 +202,7 @@ def get_deployment_regions(loglevel: str, as_json: bool):
200
202
  default=constants.LogLevel.INFO.value,
201
203
  help="The log level to use.",
202
204
  )
203
- def share_deployment(url: Optional[str], loglevel: str):
205
+ def share_deployment(url: str | None, loglevel: str):
204
206
  """Share a deployment.
205
207
 
206
208
  Args: