flyte 0.2.0b24__py3-none-any.whl → 0.2.0b26__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.
Potentially problematic release.
This version of flyte might be problematic. Click here for more details.
- flyte/_internal/imagebuild/docker_builder.py +5 -1
- flyte/_internal/imagebuild/remote_builder.py +11 -3
- flyte/_internal/runtime/convert.py +16 -0
- flyte/_internal/runtime/entrypoints.py +58 -15
- flyte/_internal/runtime/reuse.py +121 -0
- flyte/_internal/runtime/rusty.py +165 -0
- flyte/_internal/runtime/task_serde.py +24 -34
- flyte/_reusable_environment.py +57 -2
- flyte/_secret.py +30 -0
- flyte/_task.py +0 -5
- flyte/_task_environment.py +14 -1
- flyte/_version.py +2 -2
- flyte/cli/_get.py +11 -8
- flyte/models.py +10 -1
- flyte/remote/__init__.py +2 -1
- flyte/remote/_action.py +698 -0
- flyte/remote/_project.py +5 -4
- flyte/remote/_run.py +3 -658
- {flyte-0.2.0b24.dist-info → flyte-0.2.0b26.dist-info}/METADATA +1 -1
- {flyte-0.2.0b24.dist-info → flyte-0.2.0b26.dist-info}/RECORD +24 -21
- {flyte-0.2.0b24.data → flyte-0.2.0b26.data}/scripts/runtime.py +0 -0
- {flyte-0.2.0b24.dist-info → flyte-0.2.0b26.dist-info}/WHEEL +0 -0
- {flyte-0.2.0b24.dist-info → flyte-0.2.0b26.dist-info}/entry_points.txt +0 -0
- {flyte-0.2.0b24.dist-info → flyte-0.2.0b26.dist-info}/top_level.txt +0 -0
flyte/remote/_project.py
CHANGED
|
@@ -6,10 +6,11 @@ from typing import AsyncIterator, Iterator, Literal, Tuple, Union
|
|
|
6
6
|
import rich.repr
|
|
7
7
|
from flyteidl.admin import common_pb2, project_pb2
|
|
8
8
|
|
|
9
|
-
from flyte._initialize import ensure_client, get_client
|
|
9
|
+
from flyte._initialize import ensure_client, get_client
|
|
10
10
|
from flyte.syncify import syncify
|
|
11
11
|
|
|
12
12
|
|
|
13
|
+
# TODO Add support for orgs again
|
|
13
14
|
@dataclass
|
|
14
15
|
class Project:
|
|
15
16
|
"""
|
|
@@ -32,7 +33,7 @@ class Project:
|
|
|
32
33
|
resp = await service.GetProject(
|
|
33
34
|
project_pb2.ProjectGetRequest(
|
|
34
35
|
id=name,
|
|
35
|
-
org=org,
|
|
36
|
+
# org=org,
|
|
36
37
|
)
|
|
37
38
|
)
|
|
38
39
|
return cls(resp)
|
|
@@ -57,7 +58,7 @@ class Project:
|
|
|
57
58
|
sort_pb2 = common_pb2.Sort(
|
|
58
59
|
key=sort_by[0], direction=common_pb2.Sort.ASCENDING if sort_by[1] == "asc" else common_pb2.Sort.DESCENDING
|
|
59
60
|
)
|
|
60
|
-
org = get_common_config().org
|
|
61
|
+
# org = get_common_config().org
|
|
61
62
|
while True:
|
|
62
63
|
resp = await get_client().project_domain_service.ListProjects( # type: ignore
|
|
63
64
|
project_pb2.ProjectListRequest(
|
|
@@ -65,7 +66,7 @@ class Project:
|
|
|
65
66
|
token=token,
|
|
66
67
|
filters=filters,
|
|
67
68
|
sort_by=sort_pb2,
|
|
68
|
-
org=org,
|
|
69
|
+
# org=org,
|
|
69
70
|
)
|
|
70
71
|
)
|
|
71
72
|
token = resp.token
|