Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "ds-platform-utils"
version = "0.2.2"
version = "0.2.3"
description = "Utility library for Pattern Data Science."
readme = "README.md"
authors = [
Expand Down
6 changes: 5 additions & 1 deletion src/ds_platform_utils/metaflow/write_audit_publish.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import json
import os
import warnings
from pathlib import Path
from textwrap import dedent
Expand Down Expand Up @@ -119,7 +120,10 @@ def extract(prefix: str, default: str = "unknown") -> str:
"user": current.username, # username of user who triggered the run (argo-workflows if its a deployed flow)
"domain": extract("ds.domain"), # business unit (domain) of the flow, same as app
"namespace": current.namespace, # namespace of the flow
"perimeter": "PROD" if current.is_production else "Default", # perimeter of the flow
"perimeter": str(os.environ.get("OB_CURRENT_PERIMETER") or os.environ.get("OBP_PERIMETER")),
"is_production": str(
current.is_production
), # True, if the flow is deployed with the --production flag else false
"team": "data-science", # team name, hardcoded as data-science
}

Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.