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.
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/PKG-INFO +1 -1
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/pyproject.toml +1 -1
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/deployments.py +10 -8
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/.gitignore +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/LICENSE +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/README.md +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/__init__.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/cli.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/constants/__init__.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/constants/base.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/constants/compiler.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/constants/hosting.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/core/__init__.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/core/config.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/utils/__init__.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/utils/console.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/utils/dependency.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/utils/exceptions.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/utils/hosting.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/v2/__init__.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/v2/apps.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/v2/cli.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/v2/deployments.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/v2/project.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/v2/secrets.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/v2/utils.py +0 -0
- {reflex_hosting_cli-0.1.44 → reflex_hosting_cli-0.1.45}/reflex_cli/v2/vmtypes_regions.py +0 -0
|
@@ -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
|
|
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:
|
|
111
|
-
to_timestamp:
|
|
112
|
-
limit:
|
|
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:
|
|
150
|
-
to_timestamp:
|
|
151
|
-
limit:
|
|
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:
|
|
205
|
+
def share_deployment(url: str | None, loglevel: str):
|
|
204
206
|
"""Share a deployment.
|
|
205
207
|
|
|
206
208
|
Args:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|