flyte 0.1.0__py3-none-any.whl → 0.2.0a0__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/__init__.py +78 -2
- flyte/_bin/__init__.py +0 -0
- flyte/_bin/runtime.py +152 -0
- flyte/_build.py +26 -0
- flyte/_cache/__init__.py +12 -0
- flyte/_cache/cache.py +145 -0
- flyte/_cache/defaults.py +9 -0
- flyte/_cache/policy_function_body.py +42 -0
- flyte/_code_bundle/__init__.py +8 -0
- flyte/_code_bundle/_ignore.py +113 -0
- flyte/_code_bundle/_packaging.py +187 -0
- flyte/_code_bundle/_utils.py +323 -0
- flyte/_code_bundle/bundle.py +209 -0
- flyte/_context.py +152 -0
- flyte/_deploy.py +243 -0
- flyte/_doc.py +29 -0
- flyte/_docstring.py +32 -0
- flyte/_environment.py +84 -0
- flyte/_excepthook.py +37 -0
- flyte/_group.py +32 -0
- flyte/_hash.py +23 -0
- flyte/_image.py +762 -0
- flyte/_initialize.py +492 -0
- flyte/_interface.py +84 -0
- flyte/_internal/__init__.py +3 -0
- flyte/_internal/controllers/__init__.py +128 -0
- flyte/_internal/controllers/_local_controller.py +193 -0
- flyte/_internal/controllers/_trace.py +41 -0
- flyte/_internal/controllers/remote/__init__.py +60 -0
- flyte/_internal/controllers/remote/_action.py +146 -0
- flyte/_internal/controllers/remote/_client.py +47 -0
- flyte/_internal/controllers/remote/_controller.py +494 -0
- flyte/_internal/controllers/remote/_core.py +410 -0
- flyte/_internal/controllers/remote/_informer.py +361 -0
- flyte/_internal/controllers/remote/_service_protocol.py +50 -0
- flyte/_internal/imagebuild/__init__.py +11 -0
- flyte/_internal/imagebuild/docker_builder.py +427 -0
- flyte/_internal/imagebuild/image_builder.py +246 -0
- flyte/_internal/imagebuild/remote_builder.py +0 -0
- flyte/_internal/resolvers/__init__.py +0 -0
- flyte/_internal/resolvers/_task_module.py +54 -0
- flyte/_internal/resolvers/common.py +31 -0
- flyte/_internal/resolvers/default.py +28 -0
- flyte/_internal/runtime/__init__.py +0 -0
- flyte/_internal/runtime/convert.py +342 -0
- flyte/_internal/runtime/entrypoints.py +135 -0
- flyte/_internal/runtime/io.py +136 -0
- flyte/_internal/runtime/resources_serde.py +138 -0
- flyte/_internal/runtime/task_serde.py +330 -0
- flyte/_internal/runtime/taskrunner.py +191 -0
- flyte/_internal/runtime/types_serde.py +54 -0
- flyte/_logging.py +135 -0
- flyte/_map.py +215 -0
- flyte/_pod.py +19 -0
- flyte/_protos/__init__.py +0 -0
- flyte/_protos/common/authorization_pb2.py +66 -0
- flyte/_protos/common/authorization_pb2.pyi +108 -0
- flyte/_protos/common/authorization_pb2_grpc.py +4 -0
- flyte/_protos/common/identifier_pb2.py +71 -0
- flyte/_protos/common/identifier_pb2.pyi +82 -0
- flyte/_protos/common/identifier_pb2_grpc.py +4 -0
- flyte/_protos/common/identity_pb2.py +48 -0
- flyte/_protos/common/identity_pb2.pyi +72 -0
- flyte/_protos/common/identity_pb2_grpc.py +4 -0
- flyte/_protos/common/list_pb2.py +36 -0
- flyte/_protos/common/list_pb2.pyi +71 -0
- flyte/_protos/common/list_pb2_grpc.py +4 -0
- flyte/_protos/common/policy_pb2.py +37 -0
- flyte/_protos/common/policy_pb2.pyi +27 -0
- flyte/_protos/common/policy_pb2_grpc.py +4 -0
- flyte/_protos/common/role_pb2.py +37 -0
- flyte/_protos/common/role_pb2.pyi +53 -0
- flyte/_protos/common/role_pb2_grpc.py +4 -0
- flyte/_protos/common/runtime_version_pb2.py +28 -0
- flyte/_protos/common/runtime_version_pb2.pyi +24 -0
- flyte/_protos/common/runtime_version_pb2_grpc.py +4 -0
- flyte/_protos/logs/dataplane/payload_pb2.py +100 -0
- flyte/_protos/logs/dataplane/payload_pb2.pyi +177 -0
- flyte/_protos/logs/dataplane/payload_pb2_grpc.py +4 -0
- flyte/_protos/secret/definition_pb2.py +49 -0
- flyte/_protos/secret/definition_pb2.pyi +93 -0
- flyte/_protos/secret/definition_pb2_grpc.py +4 -0
- flyte/_protos/secret/payload_pb2.py +62 -0
- flyte/_protos/secret/payload_pb2.pyi +94 -0
- flyte/_protos/secret/payload_pb2_grpc.py +4 -0
- flyte/_protos/secret/secret_pb2.py +38 -0
- flyte/_protos/secret/secret_pb2.pyi +6 -0
- flyte/_protos/secret/secret_pb2_grpc.py +198 -0
- flyte/_protos/secret/secret_pb2_grpc_grpc.py +198 -0
- flyte/_protos/validate/validate/validate_pb2.py +76 -0
- flyte/_protos/workflow/common_pb2.py +27 -0
- flyte/_protos/workflow/common_pb2.pyi +14 -0
- flyte/_protos/workflow/common_pb2_grpc.py +4 -0
- flyte/_protos/workflow/environment_pb2.py +29 -0
- flyte/_protos/workflow/environment_pb2.pyi +12 -0
- flyte/_protos/workflow/environment_pb2_grpc.py +4 -0
- flyte/_protos/workflow/node_execution_service_pb2.py +26 -0
- flyte/_protos/workflow/node_execution_service_pb2.pyi +4 -0
- flyte/_protos/workflow/node_execution_service_pb2_grpc.py +32 -0
- flyte/_protos/workflow/queue_service_pb2.py +105 -0
- flyte/_protos/workflow/queue_service_pb2.pyi +146 -0
- flyte/_protos/workflow/queue_service_pb2_grpc.py +172 -0
- flyte/_protos/workflow/run_definition_pb2.py +128 -0
- flyte/_protos/workflow/run_definition_pb2.pyi +314 -0
- flyte/_protos/workflow/run_definition_pb2_grpc.py +4 -0
- flyte/_protos/workflow/run_logs_service_pb2.py +41 -0
- flyte/_protos/workflow/run_logs_service_pb2.pyi +28 -0
- flyte/_protos/workflow/run_logs_service_pb2_grpc.py +69 -0
- flyte/_protos/workflow/run_service_pb2.py +129 -0
- flyte/_protos/workflow/run_service_pb2.pyi +171 -0
- flyte/_protos/workflow/run_service_pb2_grpc.py +412 -0
- flyte/_protos/workflow/state_service_pb2.py +66 -0
- flyte/_protos/workflow/state_service_pb2.pyi +75 -0
- flyte/_protos/workflow/state_service_pb2_grpc.py +138 -0
- flyte/_protos/workflow/task_definition_pb2.py +79 -0
- flyte/_protos/workflow/task_definition_pb2.pyi +81 -0
- flyte/_protos/workflow/task_definition_pb2_grpc.py +4 -0
- flyte/_protos/workflow/task_service_pb2.py +60 -0
- flyte/_protos/workflow/task_service_pb2.pyi +59 -0
- flyte/_protos/workflow/task_service_pb2_grpc.py +138 -0
- flyte/_resources.py +226 -0
- flyte/_retry.py +32 -0
- flyte/_reusable_environment.py +25 -0
- flyte/_run.py +482 -0
- flyte/_secret.py +61 -0
- flyte/_task.py +449 -0
- flyte/_task_environment.py +183 -0
- flyte/_timeout.py +47 -0
- flyte/_tools.py +27 -0
- flyte/_trace.py +120 -0
- flyte/_utils/__init__.py +26 -0
- flyte/_utils/asyn.py +119 -0
- flyte/_utils/async_cache.py +139 -0
- flyte/_utils/coro_management.py +23 -0
- flyte/_utils/file_handling.py +72 -0
- flyte/_utils/helpers.py +134 -0
- flyte/_utils/lazy_module.py +54 -0
- flyte/_utils/org_discovery.py +57 -0
- flyte/_utils/uv_script_parser.py +49 -0
- flyte/_version.py +21 -0
- flyte/cli/__init__.py +3 -0
- flyte/cli/_abort.py +28 -0
- flyte/cli/_common.py +337 -0
- flyte/cli/_create.py +145 -0
- flyte/cli/_delete.py +23 -0
- flyte/cli/_deploy.py +152 -0
- flyte/cli/_gen.py +163 -0
- flyte/cli/_get.py +310 -0
- flyte/cli/_params.py +538 -0
- flyte/cli/_run.py +231 -0
- flyte/cli/main.py +166 -0
- flyte/config/__init__.py +3 -0
- flyte/config/_config.py +216 -0
- flyte/config/_internal.py +64 -0
- flyte/config/_reader.py +207 -0
- flyte/connectors/__init__.py +0 -0
- flyte/errors.py +172 -0
- flyte/extras/__init__.py +5 -0
- flyte/extras/_container.py +263 -0
- flyte/io/__init__.py +27 -0
- flyte/io/_dir.py +448 -0
- flyte/io/_file.py +467 -0
- flyte/io/_structured_dataset/__init__.py +129 -0
- flyte/io/_structured_dataset/basic_dfs.py +219 -0
- flyte/io/_structured_dataset/structured_dataset.py +1061 -0
- flyte/models.py +391 -0
- flyte/remote/__init__.py +26 -0
- flyte/remote/_client/__init__.py +0 -0
- flyte/remote/_client/_protocols.py +133 -0
- flyte/remote/_client/auth/__init__.py +12 -0
- flyte/remote/_client/auth/_auth_utils.py +14 -0
- flyte/remote/_client/auth/_authenticators/__init__.py +0 -0
- flyte/remote/_client/auth/_authenticators/base.py +397 -0
- flyte/remote/_client/auth/_authenticators/client_credentials.py +73 -0
- flyte/remote/_client/auth/_authenticators/device_code.py +118 -0
- flyte/remote/_client/auth/_authenticators/external_command.py +79 -0
- flyte/remote/_client/auth/_authenticators/factory.py +200 -0
- flyte/remote/_client/auth/_authenticators/pkce.py +516 -0
- flyte/remote/_client/auth/_channel.py +215 -0
- flyte/remote/_client/auth/_client_config.py +83 -0
- flyte/remote/_client/auth/_default_html.py +32 -0
- flyte/remote/_client/auth/_grpc_utils/__init__.py +0 -0
- flyte/remote/_client/auth/_grpc_utils/auth_interceptor.py +288 -0
- flyte/remote/_client/auth/_grpc_utils/default_metadata_interceptor.py +151 -0
- flyte/remote/_client/auth/_keyring.py +143 -0
- flyte/remote/_client/auth/_token_client.py +260 -0
- flyte/remote/_client/auth/errors.py +16 -0
- flyte/remote/_client/controlplane.py +95 -0
- flyte/remote/_console.py +18 -0
- flyte/remote/_data.py +159 -0
- flyte/remote/_logs.py +176 -0
- flyte/remote/_project.py +85 -0
- flyte/remote/_run.py +970 -0
- flyte/remote/_secret.py +132 -0
- flyte/remote/_task.py +391 -0
- flyte/report/__init__.py +3 -0
- flyte/report/_report.py +178 -0
- flyte/report/_template.html +124 -0
- flyte/storage/__init__.py +29 -0
- flyte/storage/_config.py +233 -0
- flyte/storage/_remote_fs.py +34 -0
- flyte/storage/_storage.py +271 -0
- flyte/storage/_utils.py +5 -0
- flyte/syncify/__init__.py +56 -0
- flyte/syncify/_api.py +371 -0
- flyte/types/__init__.py +36 -0
- flyte/types/_interface.py +40 -0
- flyte/types/_pickle.py +118 -0
- flyte/types/_renderer.py +162 -0
- flyte/types/_string_literals.py +120 -0
- flyte/types/_type_engine.py +2287 -0
- flyte/types/_utils.py +80 -0
- flyte-0.2.0a0.dist-info/METADATA +249 -0
- flyte-0.2.0a0.dist-info/RECORD +218 -0
- {flyte-0.1.0.dist-info → flyte-0.2.0a0.dist-info}/WHEEL +2 -1
- flyte-0.2.0a0.dist-info/entry_points.txt +3 -0
- flyte-0.2.0a0.dist-info/top_level.txt +1 -0
- flyte-0.1.0.dist-info/METADATA +0 -6
- flyte-0.1.0.dist-info/RECORD +0 -5
flyte/types/_utils.py
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import importlib
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
from flyteidl.core.types_pb2 import EnumType, LiteralType, UnionType
|
|
7
|
+
|
|
8
|
+
T = typing.TypeVar("T")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def literal_types_match(downstream: LiteralType, upstream: LiteralType) -> bool:
|
|
12
|
+
"""
|
|
13
|
+
Returns if two LiteralTypes are the same.
|
|
14
|
+
Takes into account arbitrary ordering of enums and unions, otherwise just an equivalence check.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
# If the types are exactly the same, return True
|
|
18
|
+
if downstream == upstream:
|
|
19
|
+
return True
|
|
20
|
+
|
|
21
|
+
if downstream.collection_type:
|
|
22
|
+
if not upstream.collection_type:
|
|
23
|
+
return False
|
|
24
|
+
return literal_types_match(downstream.collection_type, upstream.collection_type)
|
|
25
|
+
|
|
26
|
+
if downstream.map_value_type:
|
|
27
|
+
if not upstream.map_value_type:
|
|
28
|
+
return False
|
|
29
|
+
return literal_types_match(downstream.map_value_type, upstream.map_value_type)
|
|
30
|
+
|
|
31
|
+
# Handle enum types
|
|
32
|
+
if downstream.enum_type and upstream.enum_type:
|
|
33
|
+
return _enum_types_match(downstream.enum_type, upstream.enum_type)
|
|
34
|
+
|
|
35
|
+
# Handle union types
|
|
36
|
+
if downstream.union_type and upstream.union_type:
|
|
37
|
+
return _union_types_match(downstream.union_type, upstream.union_type)
|
|
38
|
+
|
|
39
|
+
# If none of the above conditions are met, the types are not castable
|
|
40
|
+
return False
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def _enum_types_match(downstream: EnumType, upstream: EnumType) -> bool:
|
|
44
|
+
return set(upstream.values) == set(downstream.values)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def _union_types_match(downstream: UnionType, upstream: UnionType) -> bool:
|
|
48
|
+
if len(downstream.variants) != len(upstream.variants):
|
|
49
|
+
return False
|
|
50
|
+
|
|
51
|
+
down_sorted = sorted(downstream.variants, key=lambda x: str(x))
|
|
52
|
+
up_sorted = sorted(upstream.variants, key=lambda x: str(x))
|
|
53
|
+
|
|
54
|
+
for downstream_variant, upstream_variant in zip(down_sorted, up_sorted):
|
|
55
|
+
if not literal_types_match(downstream_variant, upstream_variant):
|
|
56
|
+
return False
|
|
57
|
+
|
|
58
|
+
return True
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
def load_type_from_tag(tag: str) -> typing.Type[T]:
|
|
62
|
+
"""
|
|
63
|
+
Helper function for proto buf compatibility only. Used in type transformer
|
|
64
|
+
"""
|
|
65
|
+
|
|
66
|
+
if "." not in tag:
|
|
67
|
+
raise ValueError(
|
|
68
|
+
f"Protobuf tag must include at least one '.' to delineate package and object name got {tag}",
|
|
69
|
+
)
|
|
70
|
+
|
|
71
|
+
module, name = tag.rsplit(".", 1)
|
|
72
|
+
try:
|
|
73
|
+
pb_module = importlib.import_module(module)
|
|
74
|
+
except ImportError:
|
|
75
|
+
raise ValueError(f"Could not resolve the protobuf definition @ {module}. Is the protobuf library installed?")
|
|
76
|
+
|
|
77
|
+
if not hasattr(pb_module, name):
|
|
78
|
+
raise ValueError(f"Could not find the protobuf named: {name} @ {module}.")
|
|
79
|
+
|
|
80
|
+
return getattr(pb_module, name)
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: flyte
|
|
3
|
+
Version: 0.2.0a0
|
|
4
|
+
Summary: Add your description here
|
|
5
|
+
Author-email: Ketan Umare <kumare3@users.noreply.github.com>
|
|
6
|
+
Requires-Python: >=3.10
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
Requires-Dist: aiofiles>=24.1.0
|
|
9
|
+
Requires-Dist: click>=8.2.1
|
|
10
|
+
Requires-Dist: flyteidl==1.15.4b0
|
|
11
|
+
Requires-Dist: cloudpickle>=3.1.1
|
|
12
|
+
Requires-Dist: fsspec>=2025.3.0
|
|
13
|
+
Requires-Dist: grpcio>=1.71.0
|
|
14
|
+
Requires-Dist: obstore>=0.6.0
|
|
15
|
+
Requires-Dist: protobuf>=6.30.1
|
|
16
|
+
Requires-Dist: pydantic>=2.10.6
|
|
17
|
+
Requires-Dist: pyyaml>=6.0.2
|
|
18
|
+
Requires-Dist: rich-click>=1.8.9
|
|
19
|
+
Requires-Dist: httpx>=0.28.1
|
|
20
|
+
Requires-Dist: keyring>=25.6.0
|
|
21
|
+
Requires-Dist: msgpack>=1.1.0
|
|
22
|
+
Requires-Dist: toml>=0.10.2
|
|
23
|
+
Requires-Dist: async-lru>=2.0.5
|
|
24
|
+
Requires-Dist: mashumaro
|
|
25
|
+
Requires-Dist: dataclasses_json
|
|
26
|
+
|
|
27
|
+
# Flyte v2 SDK
|
|
28
|
+
|
|
29
|
+
The next-generation SDK for Flyte.
|
|
30
|
+
|
|
31
|
+
[](https://github.com/unionai/unionv2/actions/workflows/publish.yml)
|
|
32
|
+
|
|
33
|
+
## Quick start
|
|
34
|
+
|
|
35
|
+
1. Run `uv venv`, and `source .venv/bin/activate` to create a new virtual environment.
|
|
36
|
+
2. Install the latest version of the SDK by running the following:
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
uv pip install --no-cache --prerelease=allow --upgrade flyte
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
4. Create the config and point it to your cluster by running the following:
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
flyte create config --endpoint <your-endpoint-url> --project <your-project> --domain <your-domain>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
This will create a `config.yaml` file in the current directory which will be referenced ahead of any other `config.yaml`s found in your system.
|
|
49
|
+
|
|
50
|
+
5. Now you can run code with the CLI:
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
flyte run <path-to-your-script> <task-name>
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Hello World Example
|
|
57
|
+
|
|
58
|
+
```python
|
|
59
|
+
# hello_world.py
|
|
60
|
+
|
|
61
|
+
import flyte
|
|
62
|
+
|
|
63
|
+
env = flyte.TaskEnvironment(name="hello_world")
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
@env.task
|
|
67
|
+
async def say_hello(data: str) -> str:
|
|
68
|
+
return f"Hello {data}"
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
@env.task
|
|
72
|
+
async def say_hello_nested(data: str) -> str:
|
|
73
|
+
return await say_hello.override(resources=flyte.Resources(gpu="A100 80G:4")).execute(data)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
if __name__ == "__main__":
|
|
77
|
+
import asyncio
|
|
78
|
+
|
|
79
|
+
# to run pure python - the SDK is not invoked at all
|
|
80
|
+
asyncio.run(say_hello_nested("test"))
|
|
81
|
+
|
|
82
|
+
# To run locally, but run through type system etc
|
|
83
|
+
flyte.init()
|
|
84
|
+
flyte.run(say_hello_nested, "World")
|
|
85
|
+
|
|
86
|
+
# To run remote
|
|
87
|
+
flyte.init(endpoint="dns:///localhost:8090", insecure=True)
|
|
88
|
+
flyte.run(say_hello_nested, "World")
|
|
89
|
+
# It is possible to switch local and remote, but keeping init to have and endpoint, but , changing context during run
|
|
90
|
+
flyte.with_runcontext(mode="local").run(...) # this will run locally only
|
|
91
|
+
|
|
92
|
+
# To run remote with a config
|
|
93
|
+
flyte.init_from_config("config.yaml")
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## CLI
|
|
97
|
+
|
|
98
|
+
All commands can be run from any root directory.
|
|
99
|
+
For examples, it is not needed to have `__init__.py` in the directory.
|
|
100
|
+
If you run from a directory, the code will automatically package and upload all modules that are imported.
|
|
101
|
+
You can change the behavior by using `--copy-style` flag.
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
flyte run hello_world.py say_hello --data "World"
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
To follow the logs for the `a0` action, you can use the `--follow` flag:
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
flyte run --follow hello_world.py say_hello --data "World"
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Note that `--follow` has to be used with the `run` command.
|
|
114
|
+
|
|
115
|
+
Change copy style:
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
flyte run --copy-style all hello_world.py say_hello_nested --data "World"
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
## Building Images
|
|
122
|
+
|
|
123
|
+
```python
|
|
124
|
+
import flyte
|
|
125
|
+
|
|
126
|
+
env = flyte.TaskEnvironment(
|
|
127
|
+
name="hello_world",
|
|
128
|
+
image=flyte.Image.auto().with_apt_packages(...).with_pip_packages(...),
|
|
129
|
+
)
|
|
130
|
+
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## Deploying
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
flyte deploy hello_world.py say_hello_nested
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
## Get information
|
|
140
|
+
|
|
141
|
+
Get all runs:
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
flyte get run
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
Get a specific run:
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
flyte get run "run-name"
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
Get all actions for a run:
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
flyte get actions "run-name"
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
Get a specific action for a run:
|
|
160
|
+
|
|
161
|
+
```bash
|
|
162
|
+
flyte get action "run-name" "action-name"
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Get action logs:
|
|
166
|
+
|
|
167
|
+
```bash
|
|
168
|
+
flyte get logs "run-name" ["action-name"]
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
This defaults to root action if no action name is provided
|
|
172
|
+
|
|
173
|
+
## Running workflows programmatically in Python
|
|
174
|
+
|
|
175
|
+
You can run any workflow programmatically within the script module using __main__:
|
|
176
|
+
|
|
177
|
+
```python
|
|
178
|
+
if __name__ == "__main__":
|
|
179
|
+
import flyte
|
|
180
|
+
flyte.init()
|
|
181
|
+
flyte.run(say_hello_nested, "World")
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
## Running scripts with dependencies specified in metadata headers
|
|
185
|
+
|
|
186
|
+
You can also run a `uv` script with dependencies specified in metadata headers
|
|
187
|
+
and build the task image automatically based on those dependencies:
|
|
188
|
+
|
|
189
|
+
```python
|
|
190
|
+
# container_images.py
|
|
191
|
+
|
|
192
|
+
# /// script
|
|
193
|
+
# dependencies = [
|
|
194
|
+
# "polars",
|
|
195
|
+
# "flyte>=0.2.0b12"
|
|
196
|
+
# ]
|
|
197
|
+
# ///
|
|
198
|
+
|
|
199
|
+
import polars as pl
|
|
200
|
+
|
|
201
|
+
import flyte
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
env = flyte.TaskEnvironment(
|
|
205
|
+
name="polars_image",
|
|
206
|
+
image=flyte.Image.from_uv_script(
|
|
207
|
+
__file__,
|
|
208
|
+
name="flyte",
|
|
209
|
+
registry="ghcr.io/<you-username>"
|
|
210
|
+
arch=("linux/amd64", "linux/arm64"),
|
|
211
|
+
).with_apt_packages("ca-certificates"),
|
|
212
|
+
)
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
@env.task
|
|
216
|
+
async def create_dataframe() -> pl.DataFrame:
|
|
217
|
+
return pl.DataFrame(
|
|
218
|
+
{"name": ["Alice", "Bob", "Charlie"], "age": [25, 32, 37], "city": ["New York", "Paris", "Berlin"]}
|
|
219
|
+
)
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
@env.task
|
|
223
|
+
async def print_dataframe(dataframe: pl.DataFrame):
|
|
224
|
+
print(dataframe)
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
@env.task
|
|
228
|
+
async def workflow():
|
|
229
|
+
df = await create_dataframe()
|
|
230
|
+
await print_dataframe(df)
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
if __name__ == "__main__":
|
|
234
|
+
flyte.init_from_config("config.yaml")
|
|
235
|
+
run = flyte.run(workflow)
|
|
236
|
+
print(run.name)
|
|
237
|
+
print(run.url)
|
|
238
|
+
run.wait(run)
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
When you execute
|
|
242
|
+
|
|
243
|
+
```bash
|
|
244
|
+
uv run hello_world.py
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
`uv` will automatically update the local virtual environment with the dependencies specified in the metadata headers.
|
|
248
|
+
Then, Flyte will build the task image using those dependencies and push it to the registry you specify.
|
|
249
|
+
Flyte will then deploy the tasks to the cluster where the system will pull the image and run the tasks using it.
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
flyte/__init__.py,sha256=n2pIa0y3vZ4xbiTEnLmSSfKPi8S_Ff1jmSqrx8PP-3k,1660
|
|
2
|
+
flyte/_build.py,sha256=MkgfLAPeL56YeVrGRNZUCZgbwzlEzVP3wLbl5Qru4yk,578
|
|
3
|
+
flyte/_context.py,sha256=K0-TCt-_pHOoE5Xni87_8uIe2vCBOhfNQEtjGT4Hu4k,5239
|
|
4
|
+
flyte/_deploy.py,sha256=iLgVmLFv08oQGK5h0ZITIbxRO_srTV3KMNDVZbHRyBo,9268
|
|
5
|
+
flyte/_doc.py,sha256=_OPCf3t_git6UT7kSJISFaWO9cfNzJhhoe6JjVdyCJo,706
|
|
6
|
+
flyte/_docstring.py,sha256=SsG0Ab_YMAwy2ABJlEo3eBKlyC3kwPdnDJ1FIms-ZBQ,1127
|
|
7
|
+
flyte/_environment.py,sha256=dmIFmFLRIklOEYL9gsP2IH3-MYcjHYyyOlqlcf3E6_A,2924
|
|
8
|
+
flyte/_excepthook.py,sha256=nXts84rzEg6-7RtFarbKzOsRZTQR4plnbWVIFMAEprs,1310
|
|
9
|
+
flyte/_group.py,sha256=7o1j16sZyUmYB50mOiq1ui4TBAKhRpDqLakV8Ya1kw4,803
|
|
10
|
+
flyte/_hash.py,sha256=Of_Zl_DzzzF2jp4ZsLm-3o-xJFCCJ8_GubmLI1htx78,504
|
|
11
|
+
flyte/_image.py,sha256=mJ3-WpYoKDxQLXfjyZw4-6-F5CRY58p3HztF-DOEQTE,29166
|
|
12
|
+
flyte/_initialize.py,sha256=zPcygfpUM24vZ8-6BizPTiDYHeEgXSPbqD4QqJ_pA_A,17831
|
|
13
|
+
flyte/_interface.py,sha256=GV2VQcMUsRqwKwy2n_5ZWyDv3MSbkxSHKRbQ95zq40w,3539
|
|
14
|
+
flyte/_logging.py,sha256=_yNo-Nx2yzh0MLoZGbnIYHGKei4wtQmSGM0lE30Ev7w,3662
|
|
15
|
+
flyte/_map.py,sha256=efPd8O-JKUg1OY3_MzU3KGbhsGYDVRNBwWr0ceNIXhQ,7444
|
|
16
|
+
flyte/_pod.py,sha256=lNaQuWX22QG6Xji7-8GpuKUkqCmVFaRxOVU-eUEa-Vk,637
|
|
17
|
+
flyte/_resources.py,sha256=UOLyEVhdxolvrHhddiBbYdJuE1RkM_l7xeS9G1abe6M,7583
|
|
18
|
+
flyte/_retry.py,sha256=rfLv0MvWxzPByKESTglEmjPsytEAKiIvvmzlJxXwsfE,941
|
|
19
|
+
flyte/_reusable_environment.py,sha256=P4FBATVKAYcIKpdFN98sI8acPyKy8eIGx6V0kUb9YdM,1289
|
|
20
|
+
flyte/_run.py,sha256=32pLVE2UhZOYOHfYH2yKPSzVFkRj1OjjCUxgCYMyeXE,20200
|
|
21
|
+
flyte/_secret.py,sha256=SqIHs6mi8hEkIIBZe3bI9jJsPt65Mt6dV5uh9_op1ME,2392
|
|
22
|
+
flyte/_task.py,sha256=yOJoFjr5ZqBnZpK47-bUplEGe5J7Y1hdyIoGBEJzxmo,18079
|
|
23
|
+
flyte/_task_environment.py,sha256=1PIuRQ6inH0vMw89iutWKAyPff9qaTEcjk6UR1Gl0cg,6861
|
|
24
|
+
flyte/_timeout.py,sha256=zx5sFcbYmjJAJbZWSGzzX-BpC9HC7Jfs35T7vVhKwkk,1571
|
|
25
|
+
flyte/_tools.py,sha256=JewkQZBR_M85tS6QY8e4xXue75jbOE48nID4ZHnc9jY,632
|
|
26
|
+
flyte/_trace.py,sha256=C788bgoSc3st8kE8Cae2xegnLx2CT6uuRKKfaDrDUys,5122
|
|
27
|
+
flyte/_version.py,sha256=8hKNRZtdc1TKmdCrYk_elfUsDOAI2EGHniuqQJ9RQLg,519
|
|
28
|
+
flyte/errors.py,sha256=skXcdexLisFZFcTnUmMvMmuh4Ty96oJkyLKaipzkyeI,4954
|
|
29
|
+
flyte/models.py,sha256=my7Vxo-NK6gHGahyqtHr42wYjPGw0nl2SGBBoSb6hIc,14733
|
|
30
|
+
flyte/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
31
|
+
flyte/_bin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
32
|
+
flyte/_bin/runtime.py,sha256=09OKQeUwyEDkXF2HtzHeYVJsIMkEzLIO2tVCARvPGJE,5783
|
|
33
|
+
flyte/_cache/__init__.py,sha256=zhdO5UuHQRdzn8GHmSN40nrxfAmI4ihDRuHZM11U84Y,305
|
|
34
|
+
flyte/_cache/cache.py,sha256=ErhWzzJdEjTIuEF4f-r6IBgko-3Al9iUs1Eq4O42TUE,5021
|
|
35
|
+
flyte/_cache/defaults.py,sha256=gzJZW0QJPUfd2OPnGpv3tzIfwPtgFjAKoie3NP1P97U,217
|
|
36
|
+
flyte/_cache/policy_function_body.py,sha256=_AcyN6XKRXq16yV5lWuRJYCIVUlmyPvvWuYRxfU-Ldo,1507
|
|
37
|
+
flyte/_code_bundle/__init__.py,sha256=G7DJTQ0UN_ETvdh55pYcWsTrZJKXEcyQl9iQQNQOBXQ,328
|
|
38
|
+
flyte/_code_bundle/_ignore.py,sha256=Tfaoa62CQVTH17kBHD6Xv6xEh1FhcAyvXivl9m-MEE0,3853
|
|
39
|
+
flyte/_code_bundle/_packaging.py,sha256=5QUuea6kg9s-ebBg7gFAHaxOMchxR5MhTQ8KohWsjPk,6909
|
|
40
|
+
flyte/_code_bundle/_utils.py,sha256=b0s3ZVKSRwaa_2CMTCqt2iRrUvTTW3FmlyqCD9k5BS0,12028
|
|
41
|
+
flyte/_code_bundle/bundle.py,sha256=8T0gcXck6dmg-8L2-0G3B2iNjC-Xwydu806iyKneMMY,8789
|
|
42
|
+
flyte/_internal/__init__.py,sha256=vjXgGzAAjy609YFkAy9_RVPuUlslsHSJBXCLNTVnqOY,136
|
|
43
|
+
flyte/_internal/controllers/__init__.py,sha256=5CBnS9lb1VFMzZuRXUiaPhlN3G9qh7Aq9kTwxW5hsRw,4301
|
|
44
|
+
flyte/_internal/controllers/_local_controller.py,sha256=Wpgtd50C_ovIHpQSZC6asQc7iKyKIraEf-MAHCwcNJI,7124
|
|
45
|
+
flyte/_internal/controllers/_trace.py,sha256=biI-lXSIe3gXuWI-KT6T-jTtojQCQ7BLOHTCG3J6MQc,1145
|
|
46
|
+
flyte/_internal/controllers/remote/__init__.py,sha256=9_azH1eHLqY6VULpDugXi7Kf1kK1ODqEnsQ_3wM6IqU,1919
|
|
47
|
+
flyte/_internal/controllers/remote/_action.py,sha256=aGmTCciHkx9YSU6gPWWFsgjIan-mgelHfmZM4SzZJS4,5121
|
|
48
|
+
flyte/_internal/controllers/remote/_client.py,sha256=HPbzbfaWZVv5wpOvKNtFXR6COiZDwd1cUJQqi60A7oU,1421
|
|
49
|
+
flyte/_internal/controllers/remote/_controller.py,sha256=h01Jdhpa8JL5Ckjkq1DhL-dYvpfPJtkVU0ArgPvS1Qc,21248
|
|
50
|
+
flyte/_internal/controllers/remote/_core.py,sha256=UKjiL3dGidXcR1dPzJswn67g38HQmVXV7n0zoX_8AZY,18422
|
|
51
|
+
flyte/_internal/controllers/remote/_informer.py,sha256=StiPcQLLW0h36uEBhKsupMY79EeFCKA3QQzvv2IyvRo,14188
|
|
52
|
+
flyte/_internal/controllers/remote/_service_protocol.py,sha256=B9qbIg6DiGeac-iSccLmX_AL2xUgX4ezNUOiAbSy4V0,1357
|
|
53
|
+
flyte/_internal/imagebuild/__init__.py,sha256=cLXVxkAyFpbdC1y-k3Rb6FRW9f_xpoRQWVn__G9IqKs,354
|
|
54
|
+
flyte/_internal/imagebuild/docker_builder.py,sha256=JMfcIhWz5MWoSMOFE5xfP7AL8KZybko_hLvF7WWMYWo,14468
|
|
55
|
+
flyte/_internal/imagebuild/image_builder.py,sha256=NlAUCQ8TsgUGZLMpR0C6ASUmR-aykhLNKmMS7ls5xGg,9811
|
|
56
|
+
flyte/_internal/imagebuild/remote_builder.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
57
|
+
flyte/_internal/resolvers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
58
|
+
flyte/_internal/resolvers/_task_module.py,sha256=jwy1QYygUK7xmpCZLt1SPTfJCkfox3Ck3mTlTsm66UI,1973
|
|
59
|
+
flyte/_internal/resolvers/common.py,sha256=ADQLRoyGsJ4vuUkitffMGrMKKjy0vpk6X53g4FuKDLc,993
|
|
60
|
+
flyte/_internal/resolvers/default.py,sha256=nX4DHUYod1nRvEsl_vSgutQVEdExu2xL8pRkyi4VWbY,981
|
|
61
|
+
flyte/_internal/runtime/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
62
|
+
flyte/_internal/runtime/convert.py,sha256=-ZjnymAhAmO6ngNkbhwrxRrvvXD0QQRnZUPptY1pyuo,13777
|
|
63
|
+
flyte/_internal/runtime/entrypoints.py,sha256=Kyi19i7LYk7YM3ZV_Y4FXGt5Pc1tIftGkIDohopblyY,5127
|
|
64
|
+
flyte/_internal/runtime/io.py,sha256=Lgdy4iPjlKjUO-V_AkoPZff6lywaFjZUG-PErRukmx4,4248
|
|
65
|
+
flyte/_internal/runtime/resources_serde.py,sha256=tvMMv3l6cZEt_cfs7zVE_Kqs5qh-_r7fsEPxb6xMxMk,4812
|
|
66
|
+
flyte/_internal/runtime/task_serde.py,sha256=H7cyRCS8eyicnWjQogcFPHxs1uX9FI5bZypUfBSzJOw,13873
|
|
67
|
+
flyte/_internal/runtime/taskrunner.py,sha256=rHWS4t5qgZnzGdGrs0_O0sSs_PVGoE1CNPDb-fTwwmo,7332
|
|
68
|
+
flyte/_internal/runtime/types_serde.py,sha256=EjRh9Yypx9-20XXQprtNgp766LeQVRoYWtY6XPGMZQg,1813
|
|
69
|
+
flyte/_protos/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
70
|
+
flyte/_protos/common/authorization_pb2.py,sha256=6G7CAfq_Vq1qrm8JFkAnMAj0AaEipiX7MkjA7nk91-M,6707
|
|
71
|
+
flyte/_protos/common/authorization_pb2.pyi,sha256=tdqc3wZo3Yc6lKfjVgJlUFUFzGv4GAaCknIv43RGd-8,4759
|
|
72
|
+
flyte/_protos/common/authorization_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
73
|
+
flyte/_protos/common/identifier_pb2.py,sha256=Stfe32AVvRe9G5fazu63_qQlbVPOiQQ5Prn138EqCvE,6379
|
|
74
|
+
flyte/_protos/common/identifier_pb2.pyi,sha256=liHxsjjUE1QxXvOPr1s27S0agU8ohT1tHSJ5c1KmJYA,3132
|
|
75
|
+
flyte/_protos/common/identifier_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
76
|
+
flyte/_protos/common/identity_pb2.py,sha256=Q3UHzjnYkgHPjBC001DSRSVd5IbiarijpWpUt-GSWAo,4581
|
|
77
|
+
flyte/_protos/common/identity_pb2.pyi,sha256=gjcp8lg-XIBP4ZzFBI8-Uf8DofAkheZlZLG5Cj3m4-g,3720
|
|
78
|
+
flyte/_protos/common/identity_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
79
|
+
flyte/_protos/common/list_pb2.py,sha256=T8LVB2Gj8_FLEEfCjDOjBdqfhJ2ve4vizyqbgQ_exxw,3276
|
|
80
|
+
flyte/_protos/common/list_pb2.pyi,sha256=Mz0ZTm3eHTbaK86joit0xl8_jUWpswxDhLZmU3kg8hY,3398
|
|
81
|
+
flyte/_protos/common/list_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
82
|
+
flyte/_protos/common/policy_pb2.py,sha256=NceBASAzGQVU0A-WKSViDndQ_3cEGbDA3vXg8Lf-g0s,2966
|
|
83
|
+
flyte/_protos/common/policy_pb2.pyi,sha256=LCHthmNrqlRI-rrAB7D4gMrH-OnlrCGymquNGN6vO9Q,1535
|
|
84
|
+
flyte/_protos/common/policy_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
85
|
+
flyte/_protos/common/role_pb2.py,sha256=_Ve6LHrjS617n4Wa36LYVo_vvxlL_fbqbi891XQ44FA,3301
|
|
86
|
+
flyte/_protos/common/role_pb2.pyi,sha256=wVl1Q4x5hhdJ3s12hxqnA6J6tLbg6VXBWKLz8CZOjZY,2661
|
|
87
|
+
flyte/_protos/common/role_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
88
|
+
flyte/_protos/common/runtime_version_pb2.py,sha256=djTmB3fRv2V0IV6Jzz4mtmHvEuEK4KPCkJWdRcW3DUQ,2012
|
|
89
|
+
flyte/_protos/common/runtime_version_pb2.pyi,sha256=pPQ9qVtfvE1sGhdZo47aThk2quLtXOOywRhYXFp-Kzg,1132
|
|
90
|
+
flyte/_protos/common/runtime_version_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
91
|
+
flyte/_protos/logs/dataplane/payload_pb2.py,sha256=3AqZl3EzNtGZcc5hDxPoP_QQRz1pbCeI-vCcoUyT_U4,12114
|
|
92
|
+
flyte/_protos/logs/dataplane/payload_pb2.pyi,sha256=KuuIIpTUpXR-HVwKc9kqUvs1cRyMQzFhERdr3GUGTeA,9714
|
|
93
|
+
flyte/_protos/logs/dataplane/payload_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
94
|
+
flyte/_protos/secret/definition_pb2.py,sha256=OCV8zbPz9nxKJM215_3J4sbT0YVx5z_p6vCoYNHFZo4,4904
|
|
95
|
+
flyte/_protos/secret/definition_pb2.pyi,sha256=EQPG_os98mnRT3Hfn3kHHgI-ZYrIV6ZUmo2PgY4vAFM,4412
|
|
96
|
+
flyte/_protos/secret/definition_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
97
|
+
flyte/_protos/secret/payload_pb2.py,sha256=O0ryqbUf6UG08r7MVfpReXeIFxg6334PSw75hjwBFwA,5918
|
|
98
|
+
flyte/_protos/secret/payload_pb2.pyi,sha256=0rxXcrbekexC2MrbvwPLZNf33EjPSaRKt2nXcpSaoxM,4386
|
|
99
|
+
flyte/_protos/secret/payload_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
100
|
+
flyte/_protos/secret/secret_pb2.py,sha256=Zcvxs6pRv8H0_amjLjd5i_pxYhQRPFy4Vs-WsC9zRG8,3554
|
|
101
|
+
flyte/_protos/secret/secret_pb2.pyi,sha256=gQ2SbW8J93TB2i4c7FjsrJdj38rlhLmdY1T3kOomJgA,255
|
|
102
|
+
flyte/_protos/secret/secret_pb2_grpc.py,sha256=3DOSlIwXhKUn_Kvsv3V6Hmnge1NgtZUI2V_wYOl3aak,9085
|
|
103
|
+
flyte/_protos/secret/secret_pb2_grpc_grpc.py,sha256=3DOSlIwXhKUn_Kvsv3V6Hmnge1NgtZUI2V_wYOl3aak,9085
|
|
104
|
+
flyte/_protos/validate/validate/validate_pb2.py,sha256=yJOyUdZVPAVOSvo8uNgynvObiS-fQFYJE97KilJnLZA,13409
|
|
105
|
+
flyte/_protos/workflow/common_pb2.py,sha256=NmukAKm8cxBvxYrZ7VuARExi5M5SB0mcP1AxSkq7n5E,1812
|
|
106
|
+
flyte/_protos/workflow/common_pb2.pyi,sha256=h69_9esVb6NRD5QNC-ahv7IbjxH77UrT9M9wvqbcjSA,652
|
|
107
|
+
flyte/_protos/workflow/common_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
108
|
+
flyte/_protos/workflow/environment_pb2.py,sha256=N3zUd5CdKy6rZmZiAaiQRNmAv-3NOMMTzYRSQc5xIxs,1923
|
|
109
|
+
flyte/_protos/workflow/environment_pb2.pyi,sha256=ly3FuUNeCPo845N307SZ5-W1-DJGqOJK454jpJwoUVk,459
|
|
110
|
+
flyte/_protos/workflow/environment_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
111
|
+
flyte/_protos/workflow/node_execution_service_pb2.py,sha256=IOLg3tNikY7n00kLOVsC69yyXc5Ttnx-_-xUuc0q05Q,1654
|
|
112
|
+
flyte/_protos/workflow/node_execution_service_pb2.pyi,sha256=C7VVuw_bnxp68qemD3SLoGIL-Hmno6qkIoq3l6W2qb8,135
|
|
113
|
+
flyte/_protos/workflow/node_execution_service_pb2_grpc.py,sha256=2JJDS3Aww3FFDW-qYdTaxC75gRpsgnn4an6LPZmF9uA,947
|
|
114
|
+
flyte/_protos/workflow/queue_service_pb2.py,sha256=7TPBylY7vXCb9QF1bvAjwFP0Vkm17o_Axzt4X9E5jLw,12221
|
|
115
|
+
flyte/_protos/workflow/queue_service_pb2.pyi,sha256=aIqgKP39QzqeyRfLsBcLoE8C8MyrtPTa9L55f0GBytE,8047
|
|
116
|
+
flyte/_protos/workflow/queue_service_pb2_grpc.py,sha256=6KK87jYXrmK0jacf4AKhHp21QU9JFJPOiEBjbDRkBm0,7839
|
|
117
|
+
flyte/_protos/workflow/run_definition_pb2.py,sha256=9RuY5xbz7Fp8R9fHb3cCqfCvGYT3txLnTnuKUmcCpZA,16156
|
|
118
|
+
flyte/_protos/workflow/run_definition_pb2.pyi,sha256=lUt30Pnbqlg6vUD2pF64BpRjlAAbRUZe0of-vHCOeg8,15371
|
|
119
|
+
flyte/_protos/workflow/run_definition_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
120
|
+
flyte/_protos/workflow/run_logs_service_pb2.py,sha256=MKG9keauunf7EmIrlthQKgXrQAfMjbX9LyeBMlLhK30,3358
|
|
121
|
+
flyte/_protos/workflow/run_logs_service_pb2.pyi,sha256=88_Qp-qQh9PSUUPSsyuawc9gBi9_4OEbnp37cgH1VGE,1534
|
|
122
|
+
flyte/_protos/workflow/run_logs_service_pb2_grpc.py,sha256=xoNyNBaK9dmrjZtiYkZQSQnSLNY7d2CK9pr5BTP7zxQ,2694
|
|
123
|
+
flyte/_protos/workflow/run_service_pb2.py,sha256=aKeLCUAC_oIHHm4k6Pd7rbbspUwY5Cl3Rp7keasNbVo,14910
|
|
124
|
+
flyte/_protos/workflow/run_service_pb2.pyi,sha256=AZBcXfw6tvlfa3OjQzVt3pSB5xc2DJGyW4aUgF2y_9s,9045
|
|
125
|
+
flyte/_protos/workflow/run_service_pb2_grpc.py,sha256=tO1qnrD5_0KrtToCIcuseVhkQNdNIQ2yfZHCzysV5sY,19657
|
|
126
|
+
flyte/_protos/workflow/state_service_pb2.py,sha256=MyraTRsEQpchOOTlIVDGdSuYOtwnz84LNO9bwD3P67c,6712
|
|
127
|
+
flyte/_protos/workflow/state_service_pb2.pyi,sha256=aiWXyWVI6ooqbZsYa01OaSw1JXkDuop_gwB0wTm7uPc,3881
|
|
128
|
+
flyte/_protos/workflow/state_service_pb2_grpc.py,sha256=nCRIosO0pGM66H-i3hP_KFQKSMCFHmnspGgyxchaxQA,5825
|
|
129
|
+
flyte/_protos/workflow/task_definition_pb2.py,sha256=fqqvgxX6DykFHwRJFIrmYkBxLx6Qhtq3CuzBViuzvag,7833
|
|
130
|
+
flyte/_protos/workflow/task_definition_pb2.pyi,sha256=WO23j393scV5Q5GFJfWOrydzNLG0indVAT36RxB6tw4,4163
|
|
131
|
+
flyte/_protos/workflow/task_definition_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
132
|
+
flyte/_protos/workflow/task_service_pb2.py,sha256=7kCVgR8Is9MzlbdoGd1kVCwz1ot39r2qyY3oZzE_Xuo,5781
|
|
133
|
+
flyte/_protos/workflow/task_service_pb2.pyi,sha256=W0OZWui3TbQANi0GL7lCVmbpJKRwJ0X-8vjXj1qNP5k,3100
|
|
134
|
+
flyte/_protos/workflow/task_service_pb2_grpc.py,sha256=whmfmOTiNhz6_CBsXm8aXUCwtA5bncOikqKYz-bKdok,5992
|
|
135
|
+
flyte/_utils/__init__.py,sha256=RByuYa2hSqsKrpLkFfjKspKxH3K7DzfVzTVnZsxkO0A,757
|
|
136
|
+
flyte/_utils/asyn.py,sha256=KeJKarXNIyD16g6oPM0T9cH7JDmh1KY7JLbwo7i0IlQ,3673
|
|
137
|
+
flyte/_utils/async_cache.py,sha256=JtZJmWO62OowJ0QFNl6wryWqh-kuDi76aAASMie87QY,4596
|
|
138
|
+
flyte/_utils/coro_management.py,sha256=_JTt9x9fOc_1OSe03DSheYoKOvlonBB_4WNCS9XSaoU,698
|
|
139
|
+
flyte/_utils/file_handling.py,sha256=iU4TxW--fCho_Eg5xTMODn96P03SxzF-V-5f-7bZAZY,2233
|
|
140
|
+
flyte/_utils/helpers.py,sha256=9N70yzfLF4lLGEEdOv5OcweEpYtrCvZqqhtzkjZUXNY,4779
|
|
141
|
+
flyte/_utils/lazy_module.py,sha256=fvXPjvZLzCfcI8Vzs4pKedUDdY0U_RQ1ZVrp9b8qBQY,1994
|
|
142
|
+
flyte/_utils/org_discovery.py,sha256=C7aJa0LfnWBkDtSU9M7bE60zp27qEhJC58piqOErZ94,2088
|
|
143
|
+
flyte/_utils/uv_script_parser.py,sha256=PxqD8lSMi6xv0uDd1s8LKB2IPZr4ttZJCUweqlyMTKk,1483
|
|
144
|
+
flyte/cli/__init__.py,sha256=M02O-UGqQlA8JJ_jyWRiwQhTNc5CJJ7x9J7fNxTxBT0,52
|
|
145
|
+
flyte/cli/_abort.py,sha256=Ty-63Gtd2PUn6lCuL5AaasfBoPu7TDSU5EQKVbkF4qw,661
|
|
146
|
+
flyte/cli/_common.py,sha256=fbWorrcjrGPrrdyu9i7vwQVerlrYs8OxFzbzKhCbCwM,11007
|
|
147
|
+
flyte/cli/_create.py,sha256=a75II-xT71SpdopNY14rPuidO5qL0mH1UAwf205sVzQ,4313
|
|
148
|
+
flyte/cli/_delete.py,sha256=VTmXv09PBjkdtyl23mbSjIQQlN7Y1AI_bO0GkHP-f9E,546
|
|
149
|
+
flyte/cli/_deploy.py,sha256=_7tMgLavjvncdTdrn1sxN4UlnL16vuC1o-k5VefZTxM,4841
|
|
150
|
+
flyte/cli/_gen.py,sha256=vlE5l8UR1zz4RSdaRyUfYFvGR0TLxGcTYcP4dhA3Pvg,5458
|
|
151
|
+
flyte/cli/_get.py,sha256=UBh82YQ3WZF7WPZjW3l3RQG97JZYlgHMzpuiVdtJseg,9896
|
|
152
|
+
flyte/cli/_params.py,sha256=cDeTvjOQP8EydVJUrncLeAxUaHvGorJyDvMSrAxapmM,19466
|
|
153
|
+
flyte/cli/_run.py,sha256=a8Y1XLhti6kaaibcN2AZHjxIauHeXqT9wnXWDKee2ew,7733
|
|
154
|
+
flyte/cli/main.py,sha256=a9VsgyGi-s_FoXL-HsSXYSQfLV_ljCJWnTCriOHWXWI,4382
|
|
155
|
+
flyte/config/__init__.py,sha256=MiwEYK5Iv7MRR22z61nzbsbvZ9Q6MdmAU_g9If1Pmb8,144
|
|
156
|
+
flyte/config/_config.py,sha256=QE3T0W8xOULjJaqDMdMF90f9gFVjGR6h8QPOLsyqjYw,9831
|
|
157
|
+
flyte/config/_internal.py,sha256=Bj0uzn3PYgxKbzM-q2GKXxp7Y6cyzhPzUB-Y2i6cQKo,2836
|
|
158
|
+
flyte/config/_reader.py,sha256=c16jm0_IYxwEAjXENtllLeO_sT5Eg2RNLG4UjnAv_x4,7157
|
|
159
|
+
flyte/connectors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
160
|
+
flyte/extras/__init__.py,sha256=FhB0uK7H1Yo5De9vOuF7UGnezTKncj3u2Wo5uQdWN0g,74
|
|
161
|
+
flyte/extras/_container.py,sha256=7fg43UScXevb9QdiyZLyf0xFrL5L3GkPvUWKQLl4R98,10939
|
|
162
|
+
flyte/io/__init__.py,sha256=F7hlpin_1JJjsdFZSn7_jQgltPzsjETX1DCYGz-ELqI,629
|
|
163
|
+
flyte/io/_dir.py,sha256=rih9CY1YjNX05bcAu5LG62Xoyij5GXAlv7jLyVF0je8,15310
|
|
164
|
+
flyte/io/_file.py,sha256=kp5700SKPy5htmMhm4hE2ybb99Ykny1b0Kwm3huCWXs,15572
|
|
165
|
+
flyte/io/_structured_dataset/__init__.py,sha256=69ixVV9OEXiLiQ6SV2S8tEC7dVQe7YTt9NV1OotlG64,4524
|
|
166
|
+
flyte/io/_structured_dataset/basic_dfs.py,sha256=77aYFrFigPC7cjM6UjCbU26REtXmwIBBapFN6KGYOO8,8224
|
|
167
|
+
flyte/io/_structured_dataset/structured_dataset.py,sha256=ddRjz36RhNxIy0gakzdLStBzoo4cAOgXbNqiqt5YhMI,52645
|
|
168
|
+
flyte/remote/__init__.py,sha256=h0J9W1yWbvPq2R9HXa_HezJtxHoWl6d9QKQbuuKDMnU,597
|
|
169
|
+
flyte/remote/_console.py,sha256=avmELJPx8nQMAVPrHlh6jEIRPjrMwFpdZjJsWOOa9rE,660
|
|
170
|
+
flyte/remote/_data.py,sha256=0CN4KfR9nc27D26TIhQE4Ltr77x4tXpmKuNxZphnCyc,6078
|
|
171
|
+
flyte/remote/_logs.py,sha256=EOXg4OS8yYclsT6NASgOLMo0TA2sZpKb2MWZXpWBPuI,6404
|
|
172
|
+
flyte/remote/_project.py,sha256=dTBYqORDAbLvh9WnPO1Ytuzw2vxNYZwwNsKE2_b0o14,2807
|
|
173
|
+
flyte/remote/_run.py,sha256=iFcEn-ChThek_DnvUASJjmJcVFN3H4fvWlhIZQvTA6M,31246
|
|
174
|
+
flyte/remote/_secret.py,sha256=l5xeMS83uMcWWeSSTRsSZUNhS0N--1Dze09C-thSOQs,4341
|
|
175
|
+
flyte/remote/_task.py,sha256=7e5Y0K8vd8TC2J6Nb0nOCUPaUh8IiV3kKfgsCP9CcGw,14227
|
|
176
|
+
flyte/remote/_client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
177
|
+
flyte/remote/_client/_protocols.py,sha256=JyBWHs5WsVOxEDUyG9X7wPLDzzzjkoaNhJlU-X4YlN0,5599
|
|
178
|
+
flyte/remote/_client/controlplane.py,sha256=FsOfj4rO4MIMnYrpAT53F8q588VVf5t4sDuwoPuc840,3102
|
|
179
|
+
flyte/remote/_client/auth/__init__.py,sha256=JQrIlwaqPlPzrxcOREhcfyFsC4LrfqL5TRz6A3JNSEA,413
|
|
180
|
+
flyte/remote/_client/auth/_auth_utils.py,sha256=Is6mr18J8AMQlbtu-Q63aMJgrZ27dXXNSig8KshR1_8,545
|
|
181
|
+
flyte/remote/_client/auth/_channel.py,sha256=GViIT63qabaMOe0gethEGwPR7M_E-MxAiVOlDFgYHps,9449
|
|
182
|
+
flyte/remote/_client/auth/_client_config.py,sha256=Elit5TCLjMQDiktiUmMKy2POWwwb5rKgIXfG3-rpfbs,3304
|
|
183
|
+
flyte/remote/_client/auth/_default_html.py,sha256=XAdgP-25WySMODbusWOcQQPiXin1h-hfzmRJv_Dg3tE,1651
|
|
184
|
+
flyte/remote/_client/auth/_keyring.py,sha256=BL-FzGe5ryuBRCwwpvvG8IzkYuXiJTU2J0P1l-Za5IM,5176
|
|
185
|
+
flyte/remote/_client/auth/_token_client.py,sha256=FxFaG_DcynQIZfEdAuJUsrcy0OnYbEr4gKLpu8WZHJo,10460
|
|
186
|
+
flyte/remote/_client/auth/errors.py,sha256=ZYS9k4GX_McacKhxHKt5V2A4CWjLUq4RkBx_goDTdHY,390
|
|
187
|
+
flyte/remote/_client/auth/_authenticators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
188
|
+
flyte/remote/_client/auth/_authenticators/base.py,sha256=7ygwRYIt_BoSNfUFuc0E7mS88xD9AkwIkSX2Cv8be34,16636
|
|
189
|
+
flyte/remote/_client/auth/_authenticators/client_credentials.py,sha256=e9DOFdKEvaM3uSR10lnNuJaOwAcCkZQWZPKv7xUoFsI,3483
|
|
190
|
+
flyte/remote/_client/auth/_authenticators/device_code.py,sha256=G4jBkHS51kQ333dAuk7dCVSpd1Zy8g85YBdwMp8QoO0,4855
|
|
191
|
+
flyte/remote/_client/auth/_authenticators/external_command.py,sha256=IfTJQACPd1xc6htZYC-HdMIx6Q9JHBPw1HUG1Pv6lXg,3838
|
|
192
|
+
flyte/remote/_client/auth/_authenticators/factory.py,sha256=_oBWs7xIG6l13q06V2PUGIDmzU9-XYUK5hx5S6gZjrU,10291
|
|
193
|
+
flyte/remote/_client/auth/_authenticators/pkce.py,sha256=fQatN6oH675QVBDoWsnJ_wWMcIXGA6wR7skC8BOOY5M,23147
|
|
194
|
+
flyte/remote/_client/auth/_grpc_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
195
|
+
flyte/remote/_client/auth/_grpc_utils/auth_interceptor.py,sha256=JCjdoWV41sjdvfJcUmrJdIfQ0meuGFwv2ArU7FQGDDA,12403
|
|
196
|
+
flyte/remote/_client/auth/_grpc_utils/default_metadata_interceptor.py,sha256=IoMGWM42_VyzxqIVYe458o0uKsqhH-mcERUs9CY1L5U,6194
|
|
197
|
+
flyte/report/__init__.py,sha256=yLbeUxYaVaDlgBod3Oh34zGBSotl1UlXq1vUkb9q7cs,152
|
|
198
|
+
flyte/report/_report.py,sha256=jZXl-dqkZHiVAPBuUCmE4e1vE9FpHLkermOeZehi8Tc,5175
|
|
199
|
+
flyte/report/_template.html,sha256=YehmLJG3QMYQ10UT1YZBu2ncVmAJ4iyqVp5hF3sXRAs,3458
|
|
200
|
+
flyte/storage/__init__.py,sha256=kkOyqBXJVZSKt3ALitGn9zK6bkchy1-c3TOPB4QhPxk,499
|
|
201
|
+
flyte/storage/_config.py,sha256=xVibWJaioOnkeTb_M30azgiUe1jvmQaOWRZEkpdoTao,8680
|
|
202
|
+
flyte/storage/_remote_fs.py,sha256=kM_iszbccjVD5VtVdgfkl1FHS8NPnY__JOo_CPQUE4c,1124
|
|
203
|
+
flyte/storage/_storage.py,sha256=mBy7MKII2M1UTVm_EUUDwVb7uT1_AOPzQr2wCJ-fgW0,9873
|
|
204
|
+
flyte/storage/_utils.py,sha256=8oLCM-7D7JyJhzUi1_Q1NFx8GBUPRfou0T_5tPBmPbE,309
|
|
205
|
+
flyte/syncify/__init__.py,sha256=WgTk-v-SntULnI55CsVy71cxGJ9Q6pxpTrhbPFuouJ0,1974
|
|
206
|
+
flyte/syncify/_api.py,sha256=fh7Dlh0cZGELnWDh5lFmxVu-_cqlfsu9XLwkiuDRseE,14672
|
|
207
|
+
flyte/types/__init__.py,sha256=9310PRtVrwJePwEPeoUO0HPyIkgaja7-Dar_QlE_MUI,1745
|
|
208
|
+
flyte/types/_interface.py,sha256=5y9EC5r897xz03Hh0ltF8QVGKMfMfAznws-hKSEO4Go,1677
|
|
209
|
+
flyte/types/_pickle.py,sha256=PjdR66OTDMZ3OYq6GvM_Ua0cIo5t2XQaIjmpJ9xo4Ys,4050
|
|
210
|
+
flyte/types/_renderer.py,sha256=ygcCo5l60lHufyQISFddZfWwLlQ8kJAKxUT_XnR_6dY,4818
|
|
211
|
+
flyte/types/_string_literals.py,sha256=NlG1xV8RSA-sZ-n-IFQCAsdB6jXJOAKkHWtnopxVVDk,4231
|
|
212
|
+
flyte/types/_type_engine.py,sha256=Kk5g1nZubh2A4KWbvGBf5A-aZTvbTtjrY1Bg1_GOPV4,96643
|
|
213
|
+
flyte/types/_utils.py,sha256=pbts9E1_2LTdLygAY0UYTLYJ8AsN3BZyviSXvrtcutc,2626
|
|
214
|
+
flyte-0.2.0a0.dist-info/METADATA,sha256=3BOQsCkTkV32yhV83TUm2WaA-Xf8ix1kgvJyd6qygM8,5837
|
|
215
|
+
flyte-0.2.0a0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
216
|
+
flyte-0.2.0a0.dist-info/entry_points.txt,sha256=MIq2z5dBurdCJfpXfMKzgBv7sJOakKRYxr8G0cMiTrg,75
|
|
217
|
+
flyte-0.2.0a0.dist-info/top_level.txt,sha256=7dkyFbikvA12LEZEqawx8oDG1CMod6hTliPj7iWzgYo,6
|
|
218
|
+
flyte-0.2.0a0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
flyte
|
flyte-0.1.0.dist-info/METADATA
DELETED
flyte-0.1.0.dist-info/RECORD
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
flyte/__init__.py,sha256=i_RWIOny03mC5Jiml8H4uGGeOjjcvPT3Ym6ulmE3icA,51
|
|
2
|
-
flyte/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
flyte-0.1.0.dist-info/METADATA,sha256=nh5cagGGIsFMkj9s1FwWUDuFQE7FRD3wx7kYLgpbhT4,171
|
|
4
|
-
flyte-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
5
|
-
flyte-0.1.0.dist-info/RECORD,,
|