python: ignore long lines for model descriptions (#16518)

Descriptions can easily exceed line-length limits because they are often
extracted from doc/comments strings, which may use unexpected formatting.

Python doc strings, in particular, are likely to use newlines, which mustache
does not preserve, causing descriptions to be condensed to a single line.
This commit is contained in:
jessemyers-lettuce
2023-09-05 19:48:43 -07:00
committed by GitHub
parent 0192baed42
commit b34a10aee7
16 changed files with 17 additions and 17 deletions

View File

@@ -25,7 +25,7 @@ from openapi_client.models.string_enum_ref import StringEnumRef
class DefaultValue(BaseModel):
"""
to test the default value of properties
to test the default value of properties # noqa: E501
"""
array_string_enum_ref_default: Optional[conlist(StringEnumRef)] = None
array_string_enum_default: Optional[conlist(StrictStr)] = None