https://flyte.org logo
#announcements
Title
# announcements
v

varsha Parthasarathy

06/30/2022, 6:26 PM
Hey team, What is the recommended way to get the execution Id of a workflow? We used the following, are there better ways to do it?
Copy code
flytekit.current_context().execution_id.name or os.environ['FLYTE_INTERNAL_EXECUTION_ID']
k

Ketan (kumare3)

06/30/2022, 6:30 PM
context is recomended
v

varsha Parthasarathy

07/01/2022, 5:33 PM
@Ketan (kumare3) - Is this a known bug ? We noticed in one of our workflows that When passing
dict
between Flyte nodes, its content was corrupted unexpectedly. We haven’t checked all other workflows yet, checking if flyte team is aware of this? cc @Artem Rakhov
flytekit==1.0.1
k

Ketan (kumare3)

07/01/2022, 5:46 PM
nope this is not expected at all
corrupting is reallllllllllllly BAD
I am certain the contents are not corrupted, but should be a problem with unmarshalling
maybe wrong type etc
a

Alex Bain

07/07/2022, 8:52 PM
Hey @Ketan (kumare3) I opened https://github.com/flyteorg/flyte/issues/2682 for the issue - there is a formatting problem with
flytectl get launchplan --exec launch_spec.yaml
for workflows that take dictionary parameters with default (dictionary) values. I put steps to reproduce the issue on the ticket. This is what is causing problems for our user.
Maybe somebody on your team can fix this YAML formatting issue (for default dictionary values)
k

Ketan (kumare3)

07/08/2022, 1:02 AM
Yes absolutely
Cc @Prafulla Mahindrakar can you help with this issue
165 Views