Mick Jermsurawong
Vaibhav Verma
@workflow def wf(): try: output0 = t0() except Exception: return handle_failure(...) return handle_success(...)
t0
Yubo Wang
Saravanan Arumugam
Eric Peter Wairagala
Failed to check if the image exists with error : Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
pyflyte --config ~/.flyte/config.yaml register ...
Nan Qin
Fredrick
{"json":{"src":"handlers.go:161"},"level":"error","msg":"Error setting encrypted JWT cookie [SECURE_COOKIE_ERROR] Error creating secure cookie, caused by: securecookie: the value is too long","ts":"2022-07-01T07:41:05Z"}
Frank Shen
Haytham Abuelfutuh
Brandon Segal
class GenerateOutputs(NamedTuple): uri: str @reference_task( ... ) def generate( input:str ) -> GenerateOutputs: ... @workflow def my_wf( input="default_input" ) -> str: output = generate( input:str=input ) return output.uri
class TestNamedTuple(TestCase): def test_run_workflow(self): with task_mock(generate) as fake_generate: fake_generate.return_value = GenerateOutputs(uri="test_uri") uri = my_wf() self.assertIsNotNone(uri)
AttributeError: 'Promise' object has no attribute 'uri'
Flyte enables production-grade orchestration for machine learning workflows and data processing created to accelerate local workflows to production.