fastapi_best_architecture icon indicating copy to clipboard operation
fastapi_best_architecture copied to clipboard

The RBAC permission control system built based on FastAPI adopts a unique pseudo-three-layer architecture design, built-in fastapi-admin basic implementation, and is free and open source as a template...

Results 17 fastapi_best_architecture issues
Sort by recently updated
recently updated
newest added

Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. Release notes Sourced from jinja2's releases. 3.1.4 This is the Jinja 3.1.4 security release, which fixes security issues and bugs but does not otherwise...

dependencies

Celery with asyncio?

[{"_id":"6719e7078d2ef29e6000b1a7","body":"[https:\/\/github.com\/celery\/celery\/discussions\/8325](https:\/\/github.com\/celery\/celery\/discussions\/8325)","issue_id":1715559535517,"origin_id":2095358221,"user_origin_id":41266749,"create_time":1714980690,"update_time":1714980690,"id":1729750791651,"updated_at":"2024-10-24T06:19:51.651000Z","created_at":"2024-10-24T06:19:51.651000Z"},{"_id":"6719e7088d2ef29e6000b1a8","body":"https:\/\/github.com\/celery\/celery\/issues\/7874","issue_id":1715559535517,"origin_id":2252326715,"user_origin_id":52145145,"create_time":1721985683,"update_time":1721985683,"id":1729750792151,"updated_at":"2024-10-24T06:19:52.151000Z","created_at":"2024-10-24T06:19:52.151000Z"},{"_id":"6719e7088d2ef29e6000b1a9","body":"Hi, @downdawn \r\nHas successfully run the asynchronous task with a temporary solution, see pr TODO for details.","issue_id":1715559535517,"origin_id":2252521835,"user_origin_id":52145145,"create_time":1721991800,"update_time":1721991800,"id":1729750792249,"updated_at":"2024-10-24T06:19:52.249000Z","created_at":"2024-10-24T06:19:52.249000Z"},{"_id":"6719e7088d2ef29e6000b1aa","body":"nice","issue_id":1715559535517,"origin_id":2254095188,"user_origin_id":41266749,"create_time":1722073381,"update_time":1722073381,"id":1729750792358,"updated_at":"2024-10-24T06:19:52.358000Z","created_at":"2024-10-24T06:19:52.358000Z"}] comment

Hi, @wu-clan Celery scheduled tasks cannot be executed ![bdb52e620133cb39d87751f53ed28ea](https://github.com/fastapi-practices/fastapi_best_architecture/assets/41266749/2ffb9a9d-73be-4d17-861b-9db24849fd3e) Solutions related to asyncio [https://stackoverflow.com/questions/39815771/how-to-combine-celery-with-asyncio](https://stackoverflow.com/questions/39815771/how-to-combine-celery-with-asyncio) ![5b0e766934b4c6826ddfc9611064a87](https://github.com/fastapi-practices/fastapi_best_architecture/assets/41266749/802885df-6b62-4357-85eb-9637718ac3d2) The method above uses async_to_sync to forcibly convert to a synchronous method, which runs normally...

✨ TODO

[{"_id":"6719e6f6c44624d76603e900","body":"Fastapi Upgrade Starlette to >=0.29.0,<0.33.0\r\n[https:\/\/github.com\/tiangolo\/fastapi\/releases\/tag\/0.108.0](https:\/\/github.com\/tiangolo\/fastapi\/releases\/tag\/0.108.0)\r\n\r\nSqlmodel will support for Pydantic 2.0\r\n[https:\/\/github.com\/tiangolo\/sqlmodel\/issues\/654](https:\/\/github.com\/tiangolo\/sqlmodel\/issues\/654)","issue_id":1715559535525,"origin_id":1870862532,"user_origin_id":41266749,"create_time":1703744517,"update_time":1703744517,"id":1729750774637,"updated_at":"2024-10-24T06:19:34.637000Z","created_at":"2024-10-24T06:19:34.637000Z"},{"_id":"6719e6f7c44624d76603e901","body":"I got an update push from fastapi but I'm watching https:\/\/github.com\/encode\/starlette\/pulls and there are some amazing updates here, if they are merged Fastapi will need to continue to adapt Starlette-1.0.0, will these minor versions continue to be compatible? I'm not sure, but I don't want to consume time for minor versions.","issue_id":1715559535525,"origin_id":1870914760,"user_origin_id":52145145,"create_time":1703750208,"update_time":1703750208,"id":1729750775139,"updated_at":"2024-10-24T06:19:35.139000Z","created_at":"2024-10-24T06:19:35.139000Z"},{"_id":"6719e6f7c44624d76603e902","body":"These projects share common developers, and we will continue to monitor them. \r\nOur existing project structure is already quite stable, with no significant issues for production. \r\nThe current three-tier architecture appears to have room for further optimization, possibly by integrating SQLModel or other methods.","issue_id":1715559535525,"origin_id":1870948560,"user_origin_id":41266749,"create_time":1703753195,"update_time":1703753195,"id":1729750775249,"updated_at":"2024-10-24T06:19:35.249000Z","created_at":"2024-10-24T06:19:35.249000Z"},{"_id":"6719e6f7c44624d76603e903","body":"> Our existing project structure is already quite stable, with no significant issues for production.\r\n\r\nThat's so cool, a solid architecture .\r\n\r\nSQLModel is an ORM, we already have SQLA, what are your thoughts?\r\n\r\nRepo: [here](https:\/\/github.com\/fastapi-practices\/fastapi_sqlmodel_mysql)","issue_id":1715559535525,"origin_id":1870969029,"user_origin_id":52145145,"create_time":1703754823,"update_time":1703754823,"id":1729750775549,"updated_at":"2024-10-24T06:19:35.548000Z","created_at":"2024-10-24T06:19:35.548000Z"},{"_id":"6719e6f7c44624d76603e904","body":"SQLModel is both an SQLAlchemy model and a Pydantic model, so there is a possibility to further merge and simplify 'models' and 'schemas'. \r\n\r\nWe can keep an eye on this progress:\r\n**Migration from SQLAlchemy to SQLModel.**\r\n[https:\/\/github.com\/tiangolo\/full-stack-fastapi-postgresql\/issues\/541](https:\/\/github.com\/tiangolo\/full-stack-fastapi-postgresql\/issues\/541)","issue_id":1715559535525,"origin_id":1870993027,"user_origin_id":41266749,"create_time":1703756443,"update_time":1703756443,"id":1729750775558,"updated_at":"2024-10-24T06:19:35.558000Z","created_at":"2024-10-24T06:19:35.558000Z"},{"_id":"6719e6f7c44624d76603e905","body":"I agree with you, but I'll decline the offer.\r\n\r\nBecause SQLModel is not updated and fixed at a good pace and is missing documentation, in fact SQLModel was born here: https:\/\/github.com\/tiangolo\/pydantic-sqlalchemy to reduce manual schema definition and validation is great in my opinion;\r\n\r\nAlthough the number of stars for SQLModel is promising, the number of users for it is much lower than for SQLA, and to use SQLModel, the users have to learn it as well\uff0cunless SQLModel is really all over the place, I'd migrate to it","issue_id":1715559535525,"origin_id":1871741123,"user_origin_id":52145145,"create_time":1703827906,"update_time":1703827906,"id":1729750775656,"updated_at":"2024-10-24T06:19:35.656000Z","created_at":"2024-10-24T06:19:35.656000Z"},{"_id":"6719e6f7c44624d76603e906","body":"OK, I agree with you","issue_id":1715559535525,"origin_id":1871883211,"user_origin_id":41266749,"create_time":1703842971,"update_time":1703842971,"id":1729750775855,"updated_at":"2024-10-24T06:19:35.854000Z","created_at":"2024-10-24T06:19:35.854000Z"}] comment

## It would be great if you could provide PR. We've fully upgraded to Pydantic-V2, but we still have some unfinished business from V1 that we'll continue to push in...

Need to wait for pydantic internal implementation.

I wish more people who like FastAPI would join in, due to personal time and other constraints there may not be enough responses, if you like this and can help...

感觉 sqlalchemy-crud-plus1.0 版本巨强, 要是用到 [fastapi_best_architecture](https://github.com/fastapi-practices/fastapi_best_architecture) 项目 无敌了

想请教一下怎么把 MySQL 切换成 PG,有好的方案吗

websocket做为全双工通信,可以更方便的传输数据,特别是服务端主动推动数据到客户端