---
title: "Discussion on \"Celery Tasks: A Guide to SQLAlchemy Session Handling\" | Hashnode"
description: "Discussion on \"Celery Tasks: A Guide to SQLAlchemy Session Handling\". Before I wrote this article, I hadn't realised that SQLAlchemy is a highly controversial subject. Heated discussions on Reddit and X. Love it or hate it. The full drama. The polarising nature of the internet aside, what is true about SQLAlchemy is, t..."
url: "https://hashnode.com/posts/sqlalchemy-session-celery-tasks/658f197ffacd728cd40d493c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Celery Tasks: A Guide to SQLAlchemy Session Handling](https://celery.school/sqlalchemy-session-celery-tasks?utm_source=hashnode&utm_medium=feed)

Before I wrote this article, I hadn't realised that SQLAlchemy is a highly controversial subject. Heated discussions on Reddit and X. Love it or hate it. The full drama. The polarising nature of the internet aside, what is true about SQLAlchemy is, t...

Dec 29, 2023 · 5 min read · celery.school  
Read the article

-   [#celery](https://hashnode.com/tag/celery)
-   [#sqlalchemy](https://hashnode.com/tag/sqlalchemy)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Bjoern Stiel](https://hashnode.com/@bstiel)

@bstiel · London, United Kingdom

  
[View profile](https://hashnode.com/@bstiel)

Writing the Missing Celery Docs

## Responses 1

Comments are turned off for this post.

[Pavel Duda](https://hashnode.com/@GhuulCZ)

[Jan 26, 2024](https://hashnode.com/posts/sqlalchemy-session-celery-tasks/658f197ffacd728cd40d493c/comment/65b41c80ccca7d5ef278baf4)

Not sure if I'm doing something wrong but in my case the self.sessions is empty when I try to access it, I can see it is populated with value set in the **init**. Actually anything with property decorator ends up with values set in **init** even if I see that before and after shows the values

[Bjoern Stiel](https://hashnode.com/@bstiel)

[Feb 1, 2024](https://hashnode.com/posts/sqlalchemy-session-celery-tasks/658f197ffacd728cd40d493c/comment/65b41c80ccca7d5ef278baf4#reply-65bb7c3eaf5fdd99c89ae73a)

Can you share your code in a gist or something?
