Add python typings stubs for psycopg2

This commit is contained in:
phil 2023-12-25 15:42:34 +05:30
parent fda845c2f1
commit a974eea3d3
2 changed files with 13 additions and 2 deletions

12
pdm.lock generated
View file

@ -5,7 +5,7 @@
groups = ["default", "dev", "mqtt"]
strategy = ["cross_platform"]
lock_version = "4.4.1"
content_hash = "sha256:24fb04657040cfa1414a685a57da434ad7ab49eb641354d138a85df3d6e642dd"
content_hash = "sha256:e0be2ab66a21fc5961c11251fec8a3e6e0e41d1945c5c9630734ebb0be3f6dbb"
[[package]]
name = "aiomqtt"
@ -1184,6 +1184,16 @@ files = [
{file = "traitlets-5.14.0.tar.gz", hash = "sha256:fcdaa8ac49c04dfa0ed3ee3384ef6dfdb5d6f3741502be247279407679296772"},
]
[[package]]
name = "types-psycopg2"
version = "2.9.21.20"
requires_python = ">=3.7"
summary = "Typing stubs for psycopg2"
files = [
{file = "types-psycopg2-2.9.21.20.tar.gz", hash = "sha256:73baea689575bf5bb1b915b783fb0524044c6242928aeef1ae5a9e32f0780d3d"},
{file = "types_psycopg2-2.9.21.20-py3-none-any.whl", hash = "sha256:5b1e2e1d9478f8a298ea7038f8ea988e0ccc1f0af39f84636d57ef0da6f29e95"},
]
[[package]]
name = "types-pytz"
version = "2023.3.1.1"

View file

@ -27,7 +27,7 @@ dependencies = [
"uvicorn>=0.23.2",
"websockets>=12.0",
]
requires-python = ">=3.11"
requires-python = ">=3.11,<4"
readme = "README.md"
license = {text = "GPLv3"}
@ -50,4 +50,5 @@ dev = [
"ipdb>=0.13.13",
"pandas-stubs>=2.1.4.231218",
"pretty-errors>=1.2.25",
"types-psycopg2>=2.9.21.20",
]