https://flyte.org logo
#ask-the-community
Title
# ask-the-community
n

Nicholas Roberson

12/06/2023, 3:35 PM
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

Samhita Alla

12/07/2023, 10:52 AM
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?