Skip to content

Commit

Permalink
Pylint -
Browse files Browse the repository at this point in the history
  • Loading branch information
pattisdr committed Sep 17, 2024
1 parent cd49d65 commit c4e1bf5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/fideslang/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,14 @@


class MaskingStrategies(str, Enum):
delete = "delete"
"""Possible options for masking strategy overrides"""

DELETE = "delete"


class MaskingStrategyOverride(BaseModel):
"""Overrides policy-level masking strategies."""

strategy: MaskingStrategies


Expand Down
2 changes: 1 addition & 1 deletion tests/fideslang/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ def test_(self):
meta = CollectionMeta(masking_strategy_override={"strategy": "delete"})

assert meta.masking_strategy_override == MaskingStrategyOverride(
strategy=MaskingStrategies.delete
strategy=MaskingStrategies.DELETE
)


Expand Down

0 comments on commit c4e1bf5

Please sign in to comment.