Skip to content

Commit e268304

Browse files
authored
Use updated types-psycopg2 from typeshed (typeddjango#196)
This finishes the work done in typeddjango#126. Commits are cherry-picked to give the original author credit. I also removed psycopg2 tests as they are typeshed's problem now. Fixes typeddjango#74 Closes typeddjango#126
1 parent 7cc71f2 commit e268304

File tree

15 files changed

+15
-916
lines changed

15 files changed

+15
-916
lines changed

.ignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
django-stubs
2-
psycopg2-stubs

django-stubs/db/backends/utils.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ from typing import IO, Any
66
from typing_extensions import Literal
77
from uuid import UUID
88

9-
import psycopg2
9+
import psycopg2.extensions
1010
from django.db.backends.postgresql.base import DatabaseWrapper
1111
from psycopg2.extensions import Column
1212

poetry.lock

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

psycopg2-stubs/__init__.pyi

Lines changed: 0 additions & 74 deletions
This file was deleted.

psycopg2-stubs/_psycopg.pyi

Lines changed: 0 additions & 5 deletions
This file was deleted.

psycopg2-stubs/_range.pyi

Lines changed: 0 additions & 5 deletions
This file was deleted.

psycopg2-stubs/errors.pyi

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)