From: Daniele Varrazzo Date: Sat, 4 Apr 2020 09:19:21 +0000 (+1300) Subject: Fixed typing typo X-Git-Tag: 3.0.dev0~612 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=167abab0e22e85acf96a31c99a8960f6b6d2acd8;p=thirdparty%2Fpsycopg.git Fixed typing typo --- diff --git a/psycopg3/types/array.py b/psycopg3/types/array.py index df7ec02cd..39f33a127 100644 --- a/psycopg3/types/array.py +++ b/psycopg3/types/array.py @@ -92,8 +92,8 @@ class ArrayCasterBase(TypeCaster): def __init__(self, oid: int, context: AdaptContext = None): super().__init__(oid, context) - self.caster_func = TypeCasterFunc # type: ignore + self.caster_func: TypeCasterFunc if isinstance(self.base_caster, type): self.caster_func = self.base_caster(oid, context).cast else: