Hi all, this may be a simple question, but from py...
# ask-the-community
n
Hi all, this may be a simple question, but from python how can I attach a user id to a flyte execution? I want to provide a CLI to our users that allows them to browse their past executions, rather than spend a ton of time scrolling in the flyte UI. We are creating these executions like this (https://docs.flyte.org/projects/flytekit/en/latest/design/control_plane.html#executing-entities)
We dont necessarily want to use the
AuthRole
but just find a way to attach a username or email to the metadata such that it is queryable/browsable later.
s
i think tags can be used for your use-case: https://flyte.org/blog/flyte-1-9-arraynode-execution-tags-new-navigation-and-more#execution-tags. @Kevin Su is it possible to search for executions using flyte remote with a tag?