Skip to content

Commit

Permalink
fix(chalice): fixed schemas field validator
Browse files Browse the repository at this point in the history
  • Loading branch information
tahayk committed Aug 13, 2024
1 parent b3be2ab commit c82fae9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/schemas/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,8 @@ def split_filters_events(self, values):
return values

@field_validator("filters", mode="after")
def merge_identical_filters(self, values):
@classmethod
def merge_identical_filters(cls, values):
# ignore 'issue' type as it could be used for step-filters and tab-filters at the same time
i = 0
while i < len(values):
Expand Down

0 comments on commit c82fae9

Please sign in to comment.