Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 23, 2024
1 parent 42d6fae commit 12f4baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userCode/lib/dagster_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
def filter_partitions(
instance: DagsterInstance, partition_name: str, keys_to_keep: set[str]
) -> None:
"""Remove all old partitions that are not in the list of keys to keep.
"""Remove all old partitions that are not in the list of keys to keep.
This is needed since dagster does not remove old partitions but keeps them by default for historical monitoring"""
sources_partitions_def = instance.get_dynamic_partitions(partition_name)
for key in sources_partitions_def:
Expand Down

0 comments on commit 12f4baa

Please sign in to comment.