Skip to content

Commit

Permalink
Codes are generated by openapi generator (#669)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <github-actions@github.com>
  • Loading branch information
github-actions[bot] and github-actions authored Sep 5, 2024
1 parent 48e4a90 commit 899b72d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion line-openapi
Submodule line-openapi updated 1 files
+5 −0 insight.yml
4 changes: 2 additions & 2 deletions linebot/v3/insight/models/age_tile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 899b72d

Please sign in to comment.