-
Notifications
You must be signed in to change notification settings - Fork 162
Open
Labels
Description
Describe the bug
在启动FastAPI服务时,同步创建数据库连接池出错,代码如下:
To Reproduce
1、项目中引入FastAPI,在实例化FastAPI时,在lifespan方法中,实现异步创建aiopg数据库连接池。
Expected behavior
成功创建PG数据库连接池。
Logs/tracebacks
暂无
Python Version
$ python --version
3.11
aiopg Version
$ python -m pip show aiopg
1.4.0
OS
Additional context
No response
Code of Conduct
- I agree to follow the aio-libs Code of Conduct