CRUD là bộ bốn thao tác tạo – đọc – sửa – xóa mà gần như mọi API đều cần. Cách chuẩn trong FastAPI là gom logic database vào các hàm CRUD dùng SQLAlchemy 2.0 — select(), db.get(), db.add(), db.delete() — lấy…
CRUD là bộ bốn thao tác tạo – đọc – sửa – xóa mà gần như mọi API đều cần. Cách chuẩn trong FastAPI là gom logic database vào các hàm CRUD dùng SQLAlchemy 2.0 — select(), db.get(), db.add(), db.delete() — lấy…
Optimized ebooks per device model coming once I convert to SQLAlchemy.
If you use Crosspoint reader and run Grimmory (or using […]
Optimized ebooks per device model coming once I convert to SQLAlchemy.
If you use Crosspoint reader and run Grimmory (or using […]
https://github.com/sqlalchemy/sqlalchemy/discussions/13776
1. joined table inheritance for Parent AND Child
2. self-referential (of course)
3. *four levels of loading*
4. uses "selectin_polymorphic" which is a cool […]
https://github.com/sqlalchemy/sqlalchemy/discussions/13776
1. joined table inheritance for Parent AND Child
2. self-referential (of course)
3. *four levels of loading*
4. uses "selectin_polymorphic" which is a cool […]
💼 Position: Artificial Intelligence Engineer
🏢 Company: Talent Forge Group
🌍 Location: Australia
📁 Category: Software Development
💰 Salary: 180,000 - 220,000 AUD
🛠️ Skills: PYTHON, ASYNCIO, FASTAPI, PYDANTIC, SQLALCHEMY...
#RemoteJobs #RemoteWork #WorkFromHome #Hiring
💼 Position: Artificial Intelligence Engineer
🏢 Company: Talent Forge Group
🌍 Location: Australia
📁 Category: Software Development
💰 Salary: 180,000 - 220,000 AUD
🛠️ Skills: PYTHON, ASYNCIO, FASTAPI, PYDANTIC, SQLALCHEMY...
#RemoteJobs #RemoteWork #WorkFromHome #Hiring
Khi viết API Flask, gần như endpoint nào cũng cần lấy một bản ghi theo ID: xem chi tiết user, sửa bài viết, xóa đơn hàng. Flask-SQLAlchemy 3.x có sẵn ba hàm get_or_404(), first_or_404() và one_or_404() — lấy được…
Khi viết API Flask, gần như endpoint nào cũng cần lấy một bản ghi theo ID: xem chi tiết user, sửa bài viết, xóa đơn hàng. Flask-SQLAlchemy 3.x có sẵn ba hàm get_or_404(), first_or_404() và one_or_404() — lấy được…
https://dbtools.dev/tools/sqlalchemy-json-querybuilder
#orm #database
https://dbtools.dev/tools/sqlalchemy-json-querybuilder
#orm #database
Nếu bạn đang dùng Flask-SQLAlchemy 3.x mà vẫn viết Post.query.filter(...).all(), bạn đang dùng giao diện truy vấn cũ của SQLAlchemy 1.x. Cách chuẩn hiện nay là db.select() kết hợp db.session.execute(), kèm db.session.get()…
Nếu bạn đang dùng Flask-SQLAlchemy 3.x mà vẫn viết Post.query.filter(...).all(), bạn đang dùng giao diện truy vấn cũ của SQLAlchemy 1.x. Cách chuẩn hiện nay là db.select() kết hợp db.session.execute(), kèm db.session.get()…
https://logicstack.org/blog/connect-postgresql-fastapi?utm_source=bluesky&utm_medium=social&utm_campaign=connect-postgresql-fastapi
https://logicstack.org/blog/connect-postgresql-fastapi?utm_source=bluesky&utm_medium=social&utm_campaign=connect-postgresql-fastapi
there were no more sprints after that
there were no more sprints after that
Khi endpoint của bạn chỉ gọi hàm đồng bộ — ví dụ requests, SQLAlchemy đồng bộ hay xử lý CPU — hãy khai báo bằng def, FastAPI sẽ chạy nó trong threadpool và không chặn các request khác. Chỉ dùng async def khi bên trong…
Khi endpoint của bạn chỉ gọi hàm đồng bộ — ví dụ requests, SQLAlchemy đồng bộ hay xử lý CPU — hãy khai báo bằng def, FastAPI sẽ chạy nó trong threadpool và không chặn các request khác. Chỉ dùng async def khi bên trong…
💼 Position: Senior Database Engineer
🏢 Company: Battronics
🌍 Location: EU
📁 Category: Data Engineer
🛠️ Skills: SQL, POSTGRESQL, ORM, SQLMODEL, SQLALCHEMY...
#RemoteJobs #RemoteWork #WorkFromHome #Hiring #JobOpportunity
Apply now: https://www.remoteitjobs.app/job/battron
💼 Position: Senior Database Engineer
🏢 Company: Battronics
🌍 Location: EU
📁 Category: Data Engineer
🛠️ Skills: SQL, POSTGRESQL, ORM, SQLMODEL, SQLALCHEMY...
#RemoteJobs #RemoteWork #WorkFromHome #Hiring #JobOpportunity
Apply now: https://www.remoteitjobs.app/job/battron
look at pypi now. Clearly they are trying to SCARE THE […]
[Original post on fosstodon.org]
look at pypi now. Clearly they are trying to SCARE THE […]
[Original post on fosstodon.org]
Generate production-grade Python FastAPI microservice blueprints with Pydantic v2 validation, Docker, and async SQLAlchemy.
Free to use: https://ai.marknhewitt.co.uk/tools/python-fastapi-microservice-prompt-builder
Generate production-grade Python FastAPI microservice blueprints with Pydantic v2 validation, Docker, and async SQLAlchemy.
Free to use: https://ai.marknhewitt.co.uk/tools/python-fastapi-microservice-prompt-builder
💼 Position: Senior Python Developer (f/m/x)
🏢 Company: Sii Poland
🌍 Location: EU
📁 Category: Software Engineer
🛠️ Skills: PYTHON, FASTAPI, POSTGRESQL, SQLALCHEMY, ALEMBIC...
#RemoteJobs #RemoteWork #WorkFromHome #Hiring #JobOpportunity
Apply now: https://www.remoteitjob
💼 Position: Senior Python Developer (f/m/x)
🏢 Company: Sii Poland
🌍 Location: EU
📁 Category: Software Engineer
🛠️ Skills: PYTHON, FASTAPI, POSTGRESQL, SQLALCHEMY, ALEMBIC...
#RemoteJobs #RemoteWork #WorkFromHome #Hiring #JobOpportunity
Apply now: https://www.remoteitjob
SQLAlchemy simplifies database interactions with SQL and ORM tools.
Check out my complete guide!
victorhugosolis.com/posts/sqlalc...
#Python #SQLAlchemy #SQL #database
SQLAlchemy simplifies database interactions with SQL and ORM tools.
Check out my complete guide!
victorhugosolis.com/posts/sqlalc...
#Python #SQLAlchemy #SQL #database
- Languages: Python;
- Frameworks: aiogram, fastapi, sqlalchemy;
- Locallization: Project Fluent by Mozilla;
- Deployment: Docker Swarm, multiple networks, non-root containers, multi-arch images (x86_64 / arm64), replicated;
For now it's hosted on my home server.
- Languages: Python;
- Frameworks: aiogram, fastapi, sqlalchemy;
- Locallization: Project Fluent by Mozilla;
- Deployment: Docker Swarm, multiple networks, non-root containers, multi-arch images (x86_64 / arm64), replicated;
For now it's hosted on my home server.
When Flask-SQLAlchemy hits a save error — a duplicate unique email, for example — the session does not recover on its own: every later operation in the same session throws PendingRollbackError until you call…
When Flask-SQLAlchemy hits a save error — a duplicate unique email, for example — the session does not recover on its own: every later operation in the same session throws PendingRollbackError until you call…
To the people behind them and many more: thank you.
www.prefect.io/blog/prefect...
To the people behind them and many more: thank you.
www.prefect.io/blog/prefect...
Khi Flask-SQLAlchemy gặp lỗi lưu dữ liệu, ví dụ trùng email duy nhất, session không tự hồi phục: mọi thao tác sau đó trong cùng session đều ném lỗi PendingRollbackError cho tới khi bạn gọi rollback. Giải pháp là…
Khi Flask-SQLAlchemy gặp lỗi lưu dữ liệu, ví dụ trùng email duy nhất, session không tự hồi phục: mọi thao tác sau đó trong cùng session đều ném lỗi PendingRollbackError cho tới khi bạn gọi rollback. Giải pháp là…