fix(chalice): fixed path analysis metadata filter (#1746)

This commit is contained in:
Kraiem Taha Yassine 2023-12-06 15:18:28 +01:00 committed by GitHub
parent eb677df004
commit e31b3d1f5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -825,8 +825,8 @@ class _ProductAnalyticsFilter(BaseModel):
is_event: Literal[False] = False
type: FilterType
operator: Union[SearchEventOperator, ClickEventExtraOperator, MathOperator] = Field(...)
# TODO: support session metadata filters
value: List[Union[IssueType, PlatformType, int, str]] = Field(...)
source: Optional[str] = Field(default=None)
_remove_duplicate_values = field_validator('value', mode='before')(remove_duplicate_values)