Remove dead code (#17899)

This commit is contained in:
Yongtao Huang 2025-04-11 20:33:52 +08:00 committed by GitHub
commit 5d72003ebb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 4 additions and 66 deletions

View file

@ -21,12 +21,6 @@ def _validate_name(name):
return name
def _validate_description_length(description):
if description and len(description) > 400:
raise ValueError("Description cannot exceed 400 characters.")
return description
class ExternalApiTemplateListApi(Resource):
@setup_required
@login_required