Andrew Pruchinski
07/12/2022, 6:30 PMTenantView
class but for security purposes we now have all environments (projects) under one tenant/team. Appreciate the help!Anna Geller
07/12/2022, 6:42 PMprefect.context.get("project_name")
prefect.context.get("project_id")
Andrew Pruchinski
07/12/2022, 6:45 PMflow_id
and task_id
return values though.Anna Geller
07/12/2022, 6:54 PMimport task, Flow, prefect
@task
def some_task():
print(prefect.context.get("project_name"))
Andrew Pruchinski
07/12/2022, 7:00 PM