|
| 1 | +........ [100%] |
| 2 | +============================== warnings summary =============================== |
| 3 | +venv\Lib\site-packages\fastapi\routing.py:234: 43 warnings |
| 4 | + C:\Projects\fastreact\backend\venv\Lib\site-packages\fastapi\routing.py:234: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead |
| 5 | + is_coroutine = asyncio.iscoroutinefunction(dependant.call) |
| 6 | + |
| 7 | +app\employees\schemas.py:43 |
| 8 | + C:\Projects\fastreact\backend\app\employees\schemas.py:43: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/ |
| 9 | + class EmployeeResponse(EmployeeBase): |
| 10 | + |
| 11 | +app\settings\schemas.py:10 |
| 12 | + C:\Projects\fastreact\backend\app\settings\schemas.py:10: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/ |
| 13 | + class DepartmentResponse(BaseModel): |
| 14 | + |
| 15 | +app\settings\schemas.py:28 |
| 16 | + C:\Projects\fastreact\backend\app\settings\schemas.py:28: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/ |
| 17 | + class CompanyProfileResponse(BaseModel): |
| 18 | + |
| 19 | +app\main.py:40 |
| 20 | + C:\Projects\fastreact\backend\app\main.py:40: DeprecationWarning: |
| 21 | + on_event is deprecated, use lifespan event handlers instead. |
| 22 | + |
| 23 | + Read more about it in the |
| 24 | + [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/). |
| 25 | + |
| 26 | + @app.on_event("startup") |
| 27 | + |
| 28 | +venv\Lib\site-packages\fastapi\applications.py:4495 |
| 29 | + C:\Projects\fastreact\backend\venv\Lib\site-packages\fastapi\applications.py:4495: DeprecationWarning: |
| 30 | + on_event is deprecated, use lifespan event handlers instead. |
| 31 | + |
| 32 | + Read more about it in the |
| 33 | + [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/). |
| 34 | + |
| 35 | + return self.router.on_event(event_type) |
| 36 | + |
| 37 | +-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html |
| 38 | +8 passed, 48 warnings in 2.42s |
0 commit comments