From 5be7976fe334361efcdff1b080f11787af1aaa9d Mon Sep 17 00:00:00 2001 From: PIG208 <39874143+PIG208@users.noreply.github.com> Date: Sun, 29 May 2022 18:15:56 -0400 Subject: [PATCH] psycopg2: Fix the return type of Composable.as_string (#7984) Signed-off-by: Zixuan James Li <359101898@qq.com> --- stubs/psycopg2/psycopg2/sql.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/psycopg2/psycopg2/sql.pyi b/stubs/psycopg2/psycopg2/sql.pyi index be30d720f..923e0ef90 100644 --- a/stubs/psycopg2/psycopg2/sql.pyi +++ b/stubs/psycopg2/psycopg2/sql.pyi @@ -2,7 +2,7 @@ from typing import Any class Composable: def __init__(self, wrapped) -> None: ... - def as_string(self, context) -> None: ... + def as_string(self, context) -> str: ... def __add__(self, other): ... def __mul__(self, n): ... def __eq__(self, other): ...