Skip to content

Commit 899b72d

Browse files
github-actions[bot]github-actions
and
github-actions
authored
Codes are generated by openapi generator (#669)
Co-authored-by: github-actions <[email protected]>
1 parent 48e4a90 commit 899b72d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

line-openapi

linebot/v3/insight/models/age_tile.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ def age_validate_enum(cls, value):
3636
if value is None:
3737
return value
3838

39-
if value not in ('from0to14', 'from15to19', 'from20to24', 'from25to29', 'from30to34', 'from35to39', 'from40to44', 'from45to49', 'from50', 'unknown'):
40-
raise ValueError("must be one of enum values ('from0to14', 'from15to19', 'from20to24', 'from25to29', 'from30to34', 'from35to39', 'from40to44', 'from45to49', 'from50', 'unknown')")
39+
if value not in ('from0to14', 'from15to19', 'from20to24', 'from25to29', 'from30to34', 'from35to39', 'from40to44', 'from45to49', 'from50', 'from50to54', 'from55to59', 'from60to64', 'from65to69', 'from70', 'unknown'):
40+
raise ValueError("must be one of enum values ('from0to14', 'from15to19', 'from20to24', 'from25to29', 'from30to34', 'from35to39', 'from40to44', 'from45to49', 'from50', 'from50to54', 'from55to59', 'from60to64', 'from65to69', 'from70', 'unknown')")
4141
return value
4242

4343
class Config:

0 commit comments

Comments
 (0)