Complete psycopg2 (#10760)

This commit is contained in:
Ali Hamdan
2023-09-24 22:48:01 +02:00
committed by GitHub
parent c5dde1e720
commit dd00f9d899
2 changed files with 2 additions and 5 deletions

View File

@@ -1,6 +1,3 @@
version = "2.9.*"
upstream_repository = "https://github.com/psycopg/psycopg2"
partial_stub = true
[tool.stubtest]
ignore_missing_stub = false
partial_stub = false

View File

@@ -1,7 +1,7 @@
from collections.abc import Callable
from typing import Any, TypeVar, overload
# connection and cursor not available at runtime
from psycopg2 import errors as errors, extensions as extensions
from psycopg2._psycopg import (
BINARY as BINARY,
DATETIME as DATETIME,