From aed6ab5c3b9d322eba742074589b5e31f0c5987c Mon Sep 17 00:00:00 2001 From: Luciano Scarpulla Date: Thu, 29 Aug 2024 11:27:28 +0200 Subject: [PATCH] fix: remove single quotes due to __future__.annotations --- pydantic_extra_types/s3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydantic_extra_types/s3.py b/pydantic_extra_types/s3.py index a57c5dc..dd9f846 100644 --- a/pydantic_extra_types/s3.py +++ b/pydantic_extra_types/s3.py @@ -32,7 +32,7 @@ def __repr__(self) -> str: # pragma: no cover return f'{self.__class__.__name__}({self.value!r})' @classmethod - def _validate(cls, __input_value: str, _: core_schema.ValidationInfo) -> 'S3Path': + def _validate(cls, __input_value: str, _: core_schema.ValidationInfo) -> S3Path: return cls(__input_value) @classmethod