在创建数据库连接池时,抛出未实现的错误。
- 主要語言
- Python
- 星號
- 1.4k
- 分支
- 170
- PR 合併指標
- 30 天內沒有已合併 PR
描述
### Describe the bug
在启动FastAPI服务时,同步创建数据库连接池出错,代码如下:


### To Reproduce
1、项目中引入FastAPI,在实例化FastAPI时,在lifespan方法中,实现异步创建aiopg数据库连接池。
### Expected behavior
成功创建PG数据库连接池。
### Logs/tracebacks
```python-traceback
暂无
```
### Python Version
```console
$ python --version
3.11
```
### aiopg Version
```console
$ python -m pip show aiopg
1.4.0
```
### OS
windows 10

### Additional context
_No response_
### Code of Conduct
- [X] I agree to follow the aio-libs Code of Conduct
貢獻指南
評估
這個 Issue 還沒有評估資料。