We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa85a53 commit 6adeb50Copy full SHA for 6adeb50
packages/common-library/src/common_library/pydantic_basic_types.py
@@ -20,7 +20,7 @@ class ConstrainedStr(str): # noqa: SLOT000
20
curtail_length: int | None = None
21
22
@classmethod
23
- def _validate(cls, __input_value: str) -> str:
+ def _validate(cls, __input_value: str) -> str: # noqa: PYI063
24
if cls.curtail_length and len(__input_value) > cls.curtail_length:
25
__input_value = __input_value[: cls.curtail_length]
26
return cls(__input_value)
0 commit comments