Skip to content

Commit

Permalink
fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
pariksheet committed Aug 26, 2024
1 parent 8b35822 commit 5665318
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions brickflow/codegen/databricks_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,9 @@ def _get_runtime_tags() -> Dict[str, str]:
project_tags = os.environ.get(BrickflowEnvVars.BRICKFLOW_PROJECT_TAGS.value)
if project_tags:
tags: dict[str, str] = dict(
map(str.strip, tag.split("=")) # type: ignore[misc]
for tag in project_tags.split(",")
tag.split("=") for tag in project_tags.split(",")
)
return tags
return {k.strip(): v.strip() for (k, v) in tags.items()}
return {}

def _mutate_pipelines(self, resource: Resources, ci: CodegenInterface) -> Resources:
Expand Down

0 comments on commit 5665318

Please sign in to comment.