diff --git a/line-openapi b/line-openapi index 7ce8caf6c..1729a0aee 160000 --- a/line-openapi +++ b/line-openapi @@ -1 +1 @@ -Subproject commit 7ce8caf6c2054bb05a691cf93a9baef527386888 +Subproject commit 1729a0aee4ec6257c4f7395860b012d3a3e0b235 diff --git a/linebot/v3/insight/models/age_tile.py b/linebot/v3/insight/models/age_tile.py index 9378cc811..4ce59c6ab 100644 --- a/linebot/v3/insight/models/age_tile.py +++ b/linebot/v3/insight/models/age_tile.py @@ -36,8 +36,8 @@ def age_validate_enum(cls, value): if value is None: return value - if value not in ('from0to14', 'from15to19', 'from20to24', 'from25to29', 'from30to34', 'from35to39', 'from40to44', 'from45to49', 'from50', 'unknown'): - raise ValueError("must be one of enum values ('from0to14', 'from15to19', 'from20to24', 'from25to29', 'from30to34', 'from35to39', 'from40to44', 'from45to49', 'from50', 'unknown')") + if value not in ('from0to14', 'from15to19', 'from20to24', 'from25to29', 'from30to34', 'from35to39', 'from40to44', 'from45to49', 'from50', 'from50to54', 'from55to59', 'from60to64', 'from65to69', 'from70', 'unknown'): + raise ValueError("must be one of enum values ('from0to14', 'from15to19', 'from20to24', 'from25to29', 'from30to34', 'from35to39', 'from40to44', 'from45to49', 'from50', 'from50to54', 'from55to59', 'from60to64', 'from65to69', 'from70', 'unknown')") return value class Config: